Skip to content

Commit 627c915

Browse files
Merge branch '9.6' into 10.5
2 parents 0c843b0 + 83eb2c7 commit 627c915

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

.php-cs-fixer.dist.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,24 @@
166166
'no_empty_comment' => true,
167167
'no_empty_phpdoc' => true,
168168
'no_empty_statement' => true,
169-
'no_extra_blank_lines' => true,
169+
'no_extra_blank_lines' => [
170+
'tokens' => [
171+
'attribute',
172+
'break',
173+
'case',
174+
'continue',
175+
'curly_brace_block',
176+
'default',
177+
'extra',
178+
'parenthesis_brace_block',
179+
'return',
180+
'square_brace_block',
181+
'switch',
182+
'throw',
183+
'use',
184+
'use_trait',
185+
],
186+
],
170187
'no_homoglyph_names' => true,
171188
'no_leading_import_slash' => true,
172189
'no_leading_namespace_whitespace' => true,

src/Framework/TestSuite.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ public function addTestFile(string $filename): void
246246
try {
247247
if (str_ends_with($filename, '.phpt') && is_file($filename)) {
248248
$this->addTest(new PhptTestCase($filename));
249-
250249
} else {
251250
$this->addTestSuite(
252251
(new TestSuiteLoader)->load($filename),

tests/_files/mock-object/MethodWIthVariadicVariables.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class MethodWIthVariadicVariables
1313
{
1414
public function testVariadic(string $foo, mixed ...$arguments): array
1515
{
16-
1716
return [$foo, ...$arguments];
1817
}
1918
}

tests/unit/Framework/ExecutionOrderDependencyTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,5 @@ public function testEmptyClassOrCallable(): void
120120
$this->assertFalse($empty->deepClone());
121121
$this->assertFalse($empty->targetIsClass());
122122
$this->assertSame('', $empty->getTargetClassName());
123-
124123
}
125124
}

tests/unit/Metadata/Api/DataProviderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public function testWithVariousIterableDataProvidersFromParent(): void
8383
['P'],
8484
['Q'],
8585
['R'],
86-
8786
], $dataSets);
8887
}
8988

@@ -101,7 +100,6 @@ public function testWithVariousIterableDataProvidersInParent(): void
101100
['P'],
102101
['Q'],
103102
['R'],
104-
105103
], $dataSets);
106104
}
107105

@@ -119,7 +117,6 @@ public function testWithVariousIterableAbstractDataProviders(): void
119117
['Y'],
120118
['Z'],
121119
['P'],
122-
123120
], $dataSets);
124121
}
125122

0 commit comments

Comments
 (0)