Apply "@PSR12" in php-cs-fixer (#1150)

* Apply "@PSR12" in php-cs-fixer

* Run fix-style
This commit is contained in:
yaegassy
2021-02-05 13:57:35 +01:00
committed by GitHub
parent f0959c1184
commit 4f42af1fa1
3 changed files with 12 additions and 19 deletions
+2 -4
View File
@@ -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,