@@ -24,12 +24,12 @@ discard block |
||
24 | 24 | public function provideGetIncluded(): iterable |
25 | 25 | { |
26 | 26 | yield "no includes" => [__FILE__, [], []]; |
27 | - yield "simple include" => [__FILE__, ['anywhere/here.php'], [__DIR__.'/anywhere/here.php']]; |
|
27 | + yield "simple include" => [__FILE__, ['anywhere/here.php'], [__DIR__ . '/anywhere/here.php']]; |
|
28 | 28 | yield "simple absolute include" => [__FILE__, ['/anywhere/here.php'], ['/anywhere/here.php']]; |
29 | 29 | yield "simple String_ include" => [ |
30 | 30 | __FILE__, |
31 | 31 | [new String_('anywhere/here.php')], |
32 | - [__DIR__.'/anywhere/here.php'] |
|
32 | + [__DIR__ . '/anywhere/here.php'] |
|
33 | 33 | ]; |
34 | 34 | yield "absolute include by DIR" => [ |
35 | 35 | __FILE__, |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | new String_('anywhere/here.php') |
40 | 40 | ) |
41 | 41 | ], |
42 | - [__DIR__.'anywhere/here.php'] |
|
42 | + [__DIR__ . 'anywhere/here.php'] |
|
43 | 43 | ]; |
44 | 44 | yield "absolute include by FILE" => [ |
45 | 45 | __FILE__, |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | new String_('anywhere/here.php') |
50 | 50 | ) |
51 | 51 | ], |
52 | - [__FILE__.'anywhere/here.php'] |
|
52 | + [__FILE__ . 'anywhere/here.php'] |
|
53 | 53 | ]; |
54 | 54 | yield "includes with variables" => [ |
55 | 55 | __FILE__, |
@@ -60,10 +60,10 @@ discard block |
||
60 | 60 | ) |
61 | 61 | ], |
62 | 62 | [ |
63 | - __DIR__.DIRECTORY_SEPARATOR.'DefinedSymbolCollectorFunctionalTest.php', |
|
64 | - __DIR__.DIRECTORY_SEPARATOR.'DefinedSymbolCollectorTest.php', |
|
65 | - __DIR__.DIRECTORY_SEPARATOR.'UsedSymbolCollectorFunctionalTest.php', |
|
66 | - __DIR__.DIRECTORY_SEPARATOR.'UsedSymbolCollectorTest.php' |
|
63 | + __DIR__ . DIRECTORY_SEPARATOR . 'DefinedSymbolCollectorFunctionalTest.php', |
|
64 | + __DIR__ . DIRECTORY_SEPARATOR . 'DefinedSymbolCollectorTest.php', |
|
65 | + __DIR__ . DIRECTORY_SEPARATOR . 'UsedSymbolCollectorFunctionalTest.php', |
|
66 | + __DIR__ . DIRECTORY_SEPARATOR . 'UsedSymbolCollectorTest.php' |
|
67 | 67 | ] |
68 | 68 | ]; |
69 | 69 | yield "includes with constants" => [ |
@@ -75,10 +75,10 @@ discard block |
||
75 | 75 | ) |
76 | 76 | ], |
77 | 77 | [ |
78 | - __DIR__.DIRECTORY_SEPARATOR.'DefinedSymbolCollectorFunctionalTest.php', |
|
79 | - __DIR__.DIRECTORY_SEPARATOR.'DefinedSymbolCollectorTest.php', |
|
80 | - __DIR__.DIRECTORY_SEPARATOR.'UsedSymbolCollectorFunctionalTest.php', |
|
81 | - __DIR__.DIRECTORY_SEPARATOR.'UsedSymbolCollectorTest.php' |
|
78 | + __DIR__ . DIRECTORY_SEPARATOR . 'DefinedSymbolCollectorFunctionalTest.php', |
|
79 | + __DIR__ . DIRECTORY_SEPARATOR . 'DefinedSymbolCollectorTest.php', |
|
80 | + __DIR__ . DIRECTORY_SEPARATOR . 'UsedSymbolCollectorFunctionalTest.php', |
|
81 | + __DIR__ . DIRECTORY_SEPARATOR . 'UsedSymbolCollectorTest.php' |
|
82 | 82 | ] |
83 | 83 | ]; |
84 | 84 | } |