Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions tests/Doctrine/DebugTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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' => [
Expand Down
4 changes: 2 additions & 2 deletions tests/RTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ public function testClearRootPath(): void
self::assertStringNotContainsString(__DIR__, MockStderr::$output);
}

#[DataProvider('provideCallArgumentDetails')]
#[DataProvider('provideCallArgumentDetailsCases')]
public function testCallArgumentDetails($argument, string $expectedNeedle): void
{
r($argument, false);

self::assertStringContainsString($expectedNeedle, MockStderr::$output);
}

public static function provideCallArgumentDetails(): array
public static function provideCallArgumentDetailsCases(): iterable
{
return [
[new stdClass(), 'r(stdClass,'],
Expand Down
Loading