Skip to content

Commit b754747

Browse files
Merge branch '8.5' into 9.6
2 parents d781fac + c181114 commit b754747

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="phpab" version="^1.25" installed="1.27.2" location="./tools/phpab" copy="true"/>
4-
<phar name="php-cs-fixer" version="^3.0" installed="3.15.1" location="./tools/php-cs-fixer" copy="true"/>
4+
<phar name="php-cs-fixer" version="^3.0" installed="3.16.0" location="./tools/php-cs-fixer" copy="true"/>
55
<phar name="psalm" version="^5.0" installed="5.9.0" location="./tools/psalm" copy="true"/>
66
<phar name="humbug/php-scoper" version="^0.18.1" installed="0.18.3" location="./tools/php-scoper" copy="true"/>
77
<phar name="composer" version="^2.0.3" installed="2.5.5" location="./tools/composer" copy="true"/>

.php-cs-fixer.dist.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@
6161
'yield_from',
6262
],
6363
],
64-
'braces' => [
65-
'position_after_anonymous_constructs' => 'next',
66-
],
6764
'cast_spaces' => true,
6865
'class_attributes_separation' => [
6966
'elements' => [
@@ -80,7 +77,14 @@
8077
'compact_nullable_typehint' => true,
8178
'concat_space' => ['spacing' => 'one'],
8279
'constant_case' => true,
80+
'control_structure_braces' => true,
81+
'control_structure_continuation_position' => true,
82+
'curly_braces_position' => [
83+
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end',
84+
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
85+
],
8386
'declare_equal_normalize' => ['space' => 'none'],
87+
'declare_parentheses' => true,
8488
'declare_strict_types' => true,
8589
'dir_constant' => true,
8690
'echo_tag_syntax' => true,
@@ -153,6 +157,7 @@
153157
'no_leading_import_slash' => true,
154158
'no_leading_namespace_whitespace' => true,
155159
'no_mixed_echo_print' => ['use' => 'print'],
160+
'no_multiple_statements_per_line' => true,
156161
'no_multiline_whitespace_around_double_arrow' => true,
157162
'no_null_property_initialization' => true,
158163
'no_php4_constructor' => true,
@@ -278,11 +283,12 @@
278283
'single_import_per_statement' => true,
279284
'single_line_after_imports' => true,
280285
'single_quote' => true,
281-
'single_space_after_construct' => true,
286+
'single_space_around_construct' => true,
282287
'single_trait_insert_per_statement' => true,
283288
'space_after_semicolon' => true,
284289
'standardize_increment' => true,
285290
'standardize_not_equals' => true,
291+
'statement_indentation' => true,
286292
'static_lambda' => true,
287293
'strict_param' => true,
288294
'string_line_ending' => true,

tests/unit/Framework/MockObject/MockObjectTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ public function testVerificationOfMethodNameFailsWithWrongParameters(): void
756756
$mock->__phpunit_verify();
757757

758758
// CHECKOUT THIS MORE CAREFULLY
759-
// $this->fail('Expected exception');
759+
// $this->fail('Expected exception');
760760
} catch (ExpectationFailedException $e) {
761761
$this->assertSame(
762762
sprintf(

tools/php-cs-fixer

6.69 KB
Binary file not shown.

0 commit comments

Comments
 (0)