PHP Coding Standards Fixer > update configuration

This commit is contained in:
Meritoo
2019-04-15 21:23:05 +02:00
parent b166b8b805
commit 4c6fb569bc
3 changed files with 22 additions and 1 deletions

View File

@@ -20,6 +20,23 @@ return PhpCsFixer\Config::create()
'concat_space' => [
'spacing' => 'one',
],
'ordered_class_elements' => [
'order' => [
'use_trait',
'constant_public',
'constant_protected',
'constant_private',
'property_public',
'property_protected',
'property_private',
'construct',
'destruct',
'magic',
'method_public',
'method_protected',
'method_private',
],
],
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_align' => false,
'phpdoc_order' => true,