Skip to content

Commit 74e0adf

Browse files
Update PHP-CS-Fixer configuration
1 parent 59c232b commit 74e0adf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@
1616

1717
$config = new PhpCsFixer\Config;
1818
$config->setFinder($finder)
19+
->setUnsupportedPhpVersionAllowed(true)
1920
->setRiskyAllowed(true)
2021
->setRules([
2122
'align_multiline_comment' => true,
2223
'array_indentation' => true,
2324
'array_push' => true,
2425
'array_syntax' => ['syntax' => 'short'],
26+
'attribute_empty_parentheses' => [
27+
'use_parentheses' => false,
28+
],
2529
'backtick_to_shell_exec' => true,
2630
'binary_operator_spaces' => [
2731
'operators' => [

0 commit comments

Comments
 (0)