mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
Apply "@PSR12" in php-cs-fixer (#1150)
* Apply "@PSR12" in php-cs-fixer * Run fix-style
This commit is contained in:
+2
-4
@@ -2,12 +2,10 @@
|
||||
|
||||
// Share common rules between non-test and test files
|
||||
return [
|
||||
// PSR12 from https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4943
|
||||
'@PSR2' => true,
|
||||
'@PSR12' => true,
|
||||
'blank_line_after_opening_tag' => true,
|
||||
'braces' => [
|
||||
// Not-yet-implemented
|
||||
// 'allow_single_line_anonymous_class_with_empty_body' => true,
|
||||
'allow_single_line_anonymous_class_with_empty_body' => true,
|
||||
],
|
||||
'compact_nullable_typehint' => true,
|
||||
'declare_equal_normalize' => true,
|
||||
|
||||
Reference in New Issue
Block a user