File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 3434use Rector \Php80 \Rector \Class_ \ClassPropertyAssignToConstructorPromotionRector ;
3535use Rector \Php81 \Rector \FuncCall \NullToStrictStringFuncCallArgRector ;
3636use Rector \PHPUnit \CodeQuality \Rector \Class_ \YieldDataProviderRector ;
37- use Rector \PHPUnit \CodeQuality \Rector \FuncCall \AssertFuncCallToPHPUnitAssertRector ;
3837use Rector \PHPUnit \CodeQuality \Rector \StmtsAwareInterface \DeclareStrictTypesTestsRector ;
3938use Rector \Privatization \Rector \Class_ \FinalizeTestCaseClassRector ;
4039use Rector \Privatization \Rector \Property \PrivatizeFinalClassPropertyRector ;
157156 // possibly isset() on purpose, on updated Config classes property accross versions
158157 IssetOnPropertyObjectToPropertyExistsRector::class,
159158
160- AssertFuncCallToPHPUnitAssertRector::class => [
161- // use $this inside static closure
162- __DIR__ . '/tests/system/AutoReview/FrameworkCodeTest.php ' ,
163- ],
164-
165159 // some tests extended by other tests
166160 FinalizeTestCaseClassRector::class,
167161
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function testEachTestClassHasCorrectGroupAttributeName(string $class): vo
6262 $ unrecognizedGroups = array_diff (
6363 array_map (static function (ReflectionAttribute $ attribute ): string {
6464 $ groupAttribute = $ attribute ->newInstance ();
65- assert ( $ groupAttribute instanceof Group );
65+ self :: assertInstanceOf (Group::class, $ groupAttribute );
6666
6767 return $ groupAttribute ->name ();
6868 }, $ attributes ),
You can’t perform that action at this time.
0 commit comments