@@ -199,9 +199,12 @@ function setupTestingLibrary(string $testingLibrary): void
199199 );
200200
201201 replace_in_file (__DIR__ .'/composer.json ' , [
202- ':require_dev_testing ' => '"kahlan/kahlan": "^5.2 " ' ,
202+ ':require_dev_testing ' => '"kahlan/kahlan": "^6.0 " ' ,
203203 ':scripts_testing ' => '"test": "vendor/bin/kahlan",
204- "test:cov": "vendor/bin/kahlan --coverage=3 --reporter=verbose --clover=clover.xml" ' ,
204+ "test:cov": [
205+ "Composer \\Config::disableProcessTimeout",
206+ "vendor/bin/kahlan --coverage=4 --reporter=verbose --clover=clover.xml"
207+ ] ' ,
205208 ':plugins_testing, ' => '' , // Nous devons également supprimer la virgule ici, car il n'y a rien à ajouter
206209 ]);
207210 }
@@ -234,7 +237,10 @@ function setupCodeStyleLibrary(string $codeStyleLibrary): void
234237
235238 replace_in_file (__DIR__ .'/composer.json ' , [
236239 ':require_dev_codestyle ' => '"blitz-php/coding-standard": "^1.4" ' ,
237- ':scripts_codestyle ' => '"format": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --allow-risky=yes" ' ,
240+ ':scripts_codestyle ' => '"cs:fix": [
241+ "Composer \\Config::disableProcessTimeout",
242+ "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --allow-risky=yes"
243+ ] ' ,
238244 ':plugins_testing ' => '' ,
239245 ]);
240246 }
0 commit comments