diff --git a/composer.json b/composer.json index 4115a70..0d6d625 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "php": "~8.3.0 || ~8.4.0" }, "require-dev": { - "phpunit/phpunit": "^12.2.6", + "phpunit/phpunit": "^12.2.7", "slam/php-cs-fixer-extensions": "^3.12.0" }, "autoload": { diff --git a/tests/Doctrine/DebugTest.php b/tests/Doctrine/DebugTest.php index abfb220..896ca5c 100644 --- a/tests/Doctrine/DebugTest.php +++ b/tests/Doctrine/DebugTest.php @@ -113,7 +113,7 @@ public function testDisablesOutput(): void self::assertNotSame($outputValue, $dump); } - #[DataProvider('provideAttributesCases')] + #[DataProvider('provideExportParentAttributesCases')] public function testExportParentAttributes(TestAsset\ParentClass $class, array $expected): void { $print_r_class = \print_r($class, true); @@ -131,7 +131,7 @@ public function testExportParentAttributes(TestAsset\ParentClass $class, array $ self::assertSame($expected, $var); } - public static function provideAttributesCases() + public static function provideExportParentAttributesCases(): iterable { return [ 'different-attributes' => [ diff --git a/tests/RTest.php b/tests/RTest.php index c7cfaae..0052440 100644 --- a/tests/RTest.php +++ b/tests/RTest.php @@ -94,7 +94,7 @@ public function testClearRootPath(): void self::assertStringNotContainsString(__DIR__, MockStderr::$output); } - #[DataProvider('provideCallArgumentDetails')] + #[DataProvider('provideCallArgumentDetailsCases')] public function testCallArgumentDetails($argument, string $expectedNeedle): void { r($argument, false); @@ -102,7 +102,7 @@ public function testCallArgumentDetails($argument, string $expectedNeedle): void self::assertStringContainsString($expectedNeedle, MockStderr::$output); } - public static function provideCallArgumentDetails(): array + public static function provideCallArgumentDetailsCases(): iterable { return [ [new stdClass(), 'r(stdClass,'],