@@ -79,7 +79,7 @@ public function getTestDetails(): \Generator
79
79
80
80
self ::assertStringContainsString ('Linted with stock php-cs-config ' , $ generatedTemplate );
81
81
82
- $ expectedOutput = 'System PHP-CS-Fixer (bin/php-cs-fixer) & System PHP-CS-Fixer Configuration (.php-cs-fixer.dist.php) ' ;
82
+ $ expectedOutput = 'Bundled PHP-CS-Fixer & System PHP-CS-Fixer Configuration (.php-cs-fixer.dist.php) ' ;
83
83
self ::assertStringContainsString ($ expectedOutput , $ output );
84
84
}),
85
85
];
@@ -93,31 +93,5 @@ public function getTestDetails(): \Generator
93
93
self ::assertStringContainsString ($ expectedOutput , $ output );
94
94
}),
95
95
];
96
-
97
- yield 'lints_templates_with_php_cs_fixer_in_tools_dir ' => [$ this ->createMakerTest ()
98
- ->run (function (MakerTestRunner $ runner ) {
99
- $ runner ->writeFile ('tools/php-cs-fixer/.gitignore ' , '' ); // create the dir
100
- $ runner ->runProcess ('composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer ' );
101
-
102
- // Voter class name
103
- $ output = $ runner ->runMaker (['FooBar ' ]);
104
-
105
- $ expectedOutput = 'System PHP-CS-Fixer (tools/php-cs-fixer/bin/php-cs-fixer) & Bundled PHP-CS-Fixer Configuration ' ;
106
- self ::assertStringContainsString ($ expectedOutput , $ output );
107
- }),
108
- ];
109
-
110
- yield 'lints_templates_with_composer_global_php_cs_fixer ' => [$ this ->createMakerTest ()
111
- ->run (function (MakerTestRunner $ runner ) {
112
- $ runner ->runProcess ('composer global require friendsofphp/php-cs-fixer ' );
113
-
114
- // Voter class name
115
- $ output = $ runner ->runMaker (['FooBar ' ]);
116
-
117
- // We don't know the prefix to the global "composer" dir. e.g. /your/system/composer/....
118
- $ expectedOutput = 'composer/bin/php-cs-fixer) & Bundled PHP-CS-Fixer Configuration ' ;
119
- self ::assertStringContainsString ($ expectedOutput , $ output );
120
- }),
121
- ];
122
96
}
123
97
}
0 commit comments