File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55use Pagerfanta \View \TwitterBootstrapView ;
66use Pagerfanta \View \ViewInterface ;
77
8- final class TwitterBootstrapViewTest extends ViewTestCase
8+ class TwitterBootstrapViewTest extends ViewTestCase
99{
1010 protected function createView (): ViewInterface
1111 {
Original file line number Diff line number Diff line change 22
33use Rector \Config \RectorConfig ;
44use Rector \PHPUnit \CodeQuality \Rector \Class_ \NarrowUnusedSetUpDefinedPropertyRector ;
5+ use Rector \Privatization \Rector \Class_ \FinalizeTestCaseClassRector ;
56
67return RectorConfig::configure ()
78 ->withPaths ([
1516 NarrowUnusedSetUpDefinedPropertyRector::class => [
1617 __DIR__ .'/lib/Twig/Tests/View/TwigViewIntegrationTest.php ' , // Tries to inline the route generator factory which is used in the mocked runtime loader
1718 ],
19+
20+ FinalizeTestCaseClassRector::class => [
21+ __DIR__ .'/lib/Core/Tests/View/TwitterBootstrapViewTest.php ' , // Test case class is extended by other Bootstrap variations
22+ ],
1823 ])
1924 ->withImportNames (importShortClasses: false )
2025 ->withPHPStanConfigs ([__DIR__ .'/phpstan.neon ' ])
You can’t perform that action at this time.
0 commit comments