Skip to content

Commit c8ea924

Browse files
committed
Update code style #12152
1 parent 9b9b67a commit c8ea924

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.php-cs-fixer.dist.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
->name('*.php.dist')
1212
->in(__DIR__);
1313

14-
return (new PhpCsFixer\Config())
14+
return new PhpCsFixer\Config()
1515
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
1616
->setRiskyAllowed(true)
1717
->setFinder($finder)
@@ -121,7 +121,7 @@
121121
'native_function_invocation' => false, // I suppose this would be best, but I am still unconvinced about the visual aspect of it
122122
'native_function_type_declaration_casing' => false, // Deprecated
123123
'native_type_declaration_casing' => true,
124-
'new_expression_parentheses' => false, // Requires PHP 8.4
124+
'new_expression_parentheses' => true,
125125
'new_with_braces' => false, // Deprecated
126126
'new_with_parentheses' => true,
127127
'no_alias_functions' => true,
@@ -192,7 +192,7 @@
192192
'ordered_traits' => true,
193193
'ordered_types' => false, // We prefer to keep some freedom
194194
'php_unit_assert_new_names' => true,
195-
'php_unit_attributes' => false, // Requires PHPUnit 10
195+
'php_unit_attributes' => true,
196196
'php_unit_construct' => true,
197197
'php_unit_data_provider_method_order' => true,
198198
'php_unit_data_provider_name' => ['prefix' => 'provider', 'suffix' => ''],

0 commit comments

Comments
 (0)