Skip to content

Commit 45b941b

Browse files
Bchaisesbenjamin.chaises
and
benjamin.chaises
authored
fix: remove braces rule (#24)
Co-authored-by: benjamin.chaises <[email protected]>
1 parent 2b70ca2 commit 45b941b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"require": {
1515
"php": "^7.1.3 || ^8.0",
16-
"friendsofphp/php-cs-fixer": "^3.0"
16+
"friendsofphp/php-cs-fixer": "^3.16"
1717
},
1818
"autoload": {
1919
"psr-4": {

src/BedrockStreaming.php

-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ public function getRules(): array
2222
'array_syntax' => [
2323
'syntax' => 'short',
2424
],
25-
'braces' => [
26-
'allow_single_line_closure' => true,
27-
],
2825
'declare_strict_types' => true,
2926
'global_namespace_import' => [
3027
'import_classes' => false,

0 commit comments

Comments
 (0)