Skip to content

Commit 371eab3

Browse files
committed
CS Fix
1 parent 3c489e5 commit 371eab3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
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
},

tests/ConfTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
#[CoversNothing]
1313
final 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');

0 commit comments

Comments
 (0)