Commit ab58ca41 authored by catch's avatar catch
Browse files

Issue #3142267 by xjm, alexpott, mohrerao, jungle, mondrake, longwave,...

Issue #3142267 by xjm, alexpott, mohrerao, jungle, mondrake, longwave, larowlan: Allow the full list of deprecations from PHPUnit8Warning to respect the --suppress-deprecations behavior on DrupalCI
parent 07daa79e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
use Behat\Mink\Mink;
use Behat\Mink\Session;
use Drupal\Component\FileSystem\FileSystem as DrupalFilesystem;
use Drupal\Tests\Traits\PHPUnit8Warnings;
use Drupal\Tests\Traits\PhpUnitWarnings;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Filesystem\Filesystem as SymfonyFilesystem;
use Symfony\Component\Finder\Finder;
@@ -52,7 +52,7 @@
abstract class BuildTestBase extends TestCase {

  use ExternalCommandRequirementsTrait;
  use PHPUnit8Warnings;
  use PhpUnitWarnings;

  /**
   * The working directory where this test will manipulate files.
+2 −2
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
use Drupal\Tests\ConfigTestTrait;
use Drupal\Tests\RandomGeneratorTrait;
use Drupal\Tests\TestRequirementsTrait;
use Drupal\Tests\Traits\PHPUnit8Warnings;
use Drupal\Tests\Traits\PhpUnitWarnings;
use Drupal\TestTools\Comparator\MarkupInterfaceComparator;
use PHPUnit\Framework\Exception;
use PHPUnit\Framework\TestCase;
@@ -78,7 +78,7 @@ abstract class KernelTestBase extends TestCase implements ServiceProviderInterfa
  use RandomGeneratorTrait;
  use ConfigTestTrait;
  use TestRequirementsTrait;
  use PHPUnit8Warnings;
  use PhpUnitWarnings;

  /**
   * {@inheritdoc}
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
use Drupal\Tests\block\Traits\BlockCreationTrait;
use Drupal\Tests\node\Traits\ContentTypeCreationTrait;
use Drupal\Tests\node\Traits\NodeCreationTrait;
use Drupal\Tests\Traits\PHPUnit8Warnings;
use Drupal\Tests\Traits\PhpUnitWarnings;
use Drupal\Tests\user\Traits\UserCreationTrait;
use Drupal\TestTools\Comparator\MarkupInterfaceComparator;
use GuzzleHttp\Cookie\CookieJar;
@@ -64,7 +64,7 @@ abstract class BrowserTestBase extends TestCase {
    createUser as drupalCreateUser;
  }
  use XdebugRequestTrait;
  use PHPUnit8Warnings;
  use PhpUnitWarnings;

  /**
   * The database prefix of this test run.
+2 −2
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@

namespace Drupal\Tests\Composer\Plugin\Scaffold;

use Drupal\Tests\Traits\PHPUnit8Warnings;
use Drupal\Tests\Traits\PhpUnitWarnings;

/**
 * Convenience class for creating fixtures.
 */
trait AssertUtilsTrait {
  use PHPUnit8Warnings;
  use PhpUnitWarnings;

  /**
   * Asserts that a given file exists and is/is not a symlink.
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
use Drupal\Composer\Plugin\Scaffold\Operations\AppendOp;
use Drupal\Composer\Plugin\Scaffold\ScaffoldOptions;
use Drupal\Tests\Composer\Plugin\Scaffold\Fixtures;
use Drupal\Tests\Traits\PHPUnit8Warnings;
use Drupal\Tests\Traits\PhpUnitWarnings;
use PHPUnit\Framework\TestCase;

/**
@@ -14,7 +14,7 @@
 * @group Scaffold
 */
class AppendOpTest extends TestCase {
  use PHPUnit8Warnings;
  use PhpUnitWarnings;

  /**
   * @covers ::process
Loading