File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1212 ],
1313 "require" : {
1414 "php" : " ~8.3.0 || ~8.4.0" ,
15- "phpstan/phpstan" : " ^2"
15+ "phpstan/phpstan" : " ^2.1.21 "
1616 },
1717 "require-dev" : {
1818 "nette/di" : " ^3.2.4" ,
1919 "nette/neon" : " ^3.4.4" ,
20- "nikic/php-parser" : " ^4.19.2 || ^5.3.1 " ,
21- "phpstan/phpstan-phpunit" : " ^2" ,
20+ "nikic/php-parser" : " ^4.19.2 || ^5.6.0 " ,
21+ "phpstan/phpstan-phpunit" : " ^2.0.7 " ,
2222 "phpunit/phpunit" : " ^12.2.8" ,
2323 "slam/php-cs-fixer-extensions" : " ^3.12.0"
2424 },
Original file line number Diff line number Diff line change 1212#[CoversNothing]
1313final class ConfTest extends TestCase
1414{
15- #[DataProvider('confProvider ' )]
15+ #[DataProvider('provideConfIsValidCases ' )]
1616 public function testConfIsValid (string $ filename ): void
1717 {
1818 $ containerFactory = new ContainerFactory (__DIR__ );
1919 self ::assertNotEmpty ($ containerFactory ->create (__DIR__ . '/TmpAsset ' , [$ filename ], []));
2020 }
2121
2222 /** @return mixed[] */
23- public static function confProvider (): array
23+ public static function provideConfIsValidCases (): iterable
2424 {
2525 $ confFolder = \dirname (__DIR__ ) . '/conf ' ;
2626 $ confs = \glob ($ confFolder . '/*.neon ' );
You can’t perform that action at this time.
0 commit comments