File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed
Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 55$ finder = (new PhpCsFixer \Finder ())
66 ->in (__DIR__ )
77 ->exclude (['tests/Application/var ' ])
8- ->notName ('bundles.php ' );
8+ ->notName ('bundles.php ' )
9+ ->notName ('reference.php ' );
910
1011return (new PhpCsFixer \Config ())
1112 ->setRiskyAllowed (true )
Original file line number Diff line number Diff line change 3030 "phpstan/phpstan-phpunit" : " ^2.0" ,
3131 "phpstan/phpstan-symfony" : " ^2." ,
3232 "phpstan/phpstan-webmozart-assert" : " ^2.0" ,
33- "phpunit/phpunit" : " ^9.5" ,
33+ "phpunit/phpunit" : " ^9.5 || ^10.0 || ^11.0 || ^12.0 || ^13.0 " ,
3434 "qossmic/deptrac-shim" : " ^0.24.0 || ^1.0" ,
3535 "rector/rector" : " ^2.0" ,
3636 "symfony/browser-kit" : " ^5.4 || ^6.0 || ^7.0 || ^8.0" ,
Original file line number Diff line number Diff line change 2727 </testsuite >
2828 </testsuites >
2929
30+ <source >
31+ <include >
32+ <directory >src/</directory >
33+ </include >
34+ </source >
35+
3036 <coverage processUncoveredFiles =" true" >
3137 <include >
3238 <directory suffix =" .php" >src</directory >
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public function registerBundles(): iterable
3939 ];
4040
4141 foreach ($ bundles as $ class => $ envs ) {
42+ // @phpstan-ignore-next-line offsetAccess.invalidOffset
4243 if ($ envs [$ this ->environment ] ?? $ envs ['all ' ] ?? false ) {
4344 yield new $ class ();
4445 }
Original file line number Diff line number Diff line change 11<?php
22
3- declare (strict_types=1 );
4-
53// This file is auto-generated and is for apps only. Bundles SHOULD NOT rely on its content.
64
75namespace Symfony \Component \DependencyInjection \Loader \Configurator ;
You can’t perform that action at this time.
0 commit comments