Skip to content

Commit 18e4cee

Browse files
authored
Add long_to_shorthand_operator (#13)
* minimum PHP-CS-Fixer * new rules long_to_shorthand_operator
1 parent e2f05bc commit 18e4cee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require": {
2222
"php": "^7.4 || ^8.0",
2323
"ext-tokenizer": "*",
24-
"friendsofphp/php-cs-fixer": "^3.24",
24+
"friendsofphp/php-cs-fixer": "^3.27",
2525
"nexusphp/cs-config": "^3.6"
2626
},
2727
"require-dev": {

src/CodeIgniter4.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ public function __construct()
207207
'linebreak_after_opening_tag' => true,
208208
'list_syntax' => ['syntax' => 'short'],
209209
'logical_operators' => true,
210+
'long_to_shorthand_operator' => true,
210211
'lowercase_cast' => true,
211212
'lowercase_keywords' => true,
212213
'lowercase_static_reference' => true,

0 commit comments

Comments
 (0)