Skip to content

Commit

Permalink
Merge branch '9.6' into 10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 18, 2024
2 parents 0c843b0 + 83eb2c7 commit 627c915
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
19 changes: 18 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,24 @@
'no_empty_comment' => true,
'no_empty_phpdoc' => true,
'no_empty_statement' => true,
'no_extra_blank_lines' => true,
'no_extra_blank_lines' => [
'tokens' => [
'attribute',
'break',
'case',
'continue',
'curly_brace_block',
'default',
'extra',
'parenthesis_brace_block',
'return',
'square_brace_block',
'switch',
'throw',
'use',
'use_trait',
],
],
'no_homoglyph_names' => true,
'no_leading_import_slash' => true,
'no_leading_namespace_whitespace' => true,
Expand Down
1 change: 0 additions & 1 deletion src/Framework/TestSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ public function addTestFile(string $filename): void
try {
if (str_ends_with($filename, '.phpt') && is_file($filename)) {
$this->addTest(new PhptTestCase($filename));

} else {
$this->addTestSuite(
(new TestSuiteLoader)->load($filename),
Expand Down
1 change: 0 additions & 1 deletion tests/_files/mock-object/MethodWIthVariadicVariables.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class MethodWIthVariadicVariables
{
public function testVariadic(string $foo, mixed ...$arguments): array
{

return [$foo, ...$arguments];
}
}
1 change: 0 additions & 1 deletion tests/unit/Framework/ExecutionOrderDependencyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,5 @@ public function testEmptyClassOrCallable(): void
$this->assertFalse($empty->deepClone());
$this->assertFalse($empty->targetIsClass());
$this->assertSame('', $empty->getTargetClassName());

}
}
3 changes: 0 additions & 3 deletions tests/unit/Metadata/Api/DataProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public function testWithVariousIterableDataProvidersFromParent(): void
['P'],
['Q'],
['R'],

], $dataSets);
}

Expand All @@ -101,7 +100,6 @@ public function testWithVariousIterableDataProvidersInParent(): void
['P'],
['Q'],
['R'],

], $dataSets);
}

Expand All @@ -119,7 +117,6 @@ public function testWithVariousIterableAbstractDataProviders(): void
['Y'],
['Z'],
['P'],

], $dataSets);
}

Expand Down

0 comments on commit 627c915

Please sign in to comment.