Browse Source

chore: no need for `phpunitgoodpractices/traits` anymore (#7362)

Dariusz Rumiński 1 year ago
parent
commit
4d399aafeb
2 changed files with 0 additions and 3 deletions
  1. 0 1
      composer.json
  2. 0 2
      tests/TestCase.php

+ 0 - 1
composer.json

@@ -49,7 +49,6 @@
         "phpspec/prophecy": "^1.16",
         "phpspec/prophecy-phpunit": "^2.0",
         "phpunit/phpunit": "^9.5",
-        "phpunitgoodpractices/polyfill": "^1.6",
         "phpunitgoodpractices/traits": "^1.9.2",
         "symfony/phpunit-bridge": "^6.2.3",
         "symfony/yaml": "^5.4 || ^6.0"

+ 0 - 2
tests/TestCase.php

@@ -15,7 +15,6 @@ declare(strict_types=1);
 namespace PhpCsFixer\Tests;
 
 use PHPUnit\Framework\TestCase as BaseTestCase;
-use PHPUnitGoodPractices\Polyfill\PolyfillTrait;
 use PHPUnitGoodPractices\Traits\ExpectationViaCodeOverAnnotationTrait;
 use PHPUnitGoodPractices\Traits\ExpectOverSetExceptionTrait;
 use PHPUnitGoodPractices\Traits\IdentityOverEqualityTrait;
@@ -45,7 +44,6 @@ abstract class TestCase extends InterimTestCase
     use ExpectDeprecationTrait;
     use ExpectOverSetExceptionTrait;
     use IdentityOverEqualityTrait;
-    use PolyfillTrait;
     use ProphecyOverMockObjectTrait;
     use ProphesizeOnlyInterfaceTrait;
 }