mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
PHP Coding Standards Fixer > update configuration
This commit is contained in:
17
.php_cs.dist
17
.php_cs.dist
@@ -20,6 +20,23 @@ return PhpCsFixer\Config::create()
|
|||||||
'concat_space' => [
|
'concat_space' => [
|
||||||
'spacing' => 'one',
|
'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_add_missing_param_annotation' => true,
|
||||||
'phpdoc_align' => false,
|
'phpdoc_align' => false,
|
||||||
'phpdoc_order' => true,
|
'phpdoc_order' => true,
|
||||||
|
|||||||
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
Common and useful classes, methods, exceptions etc.
|
Common and useful classes, methods, exceptions etc.
|
||||||
|
|
||||||
|
# 1.0.4
|
||||||
|
|
||||||
|
1. PHP Coding Standards Fixer > update configuration
|
||||||
|
|
||||||
# 1.0.3
|
# 1.0.3
|
||||||
|
|
||||||
1. Travis CI > run many tasks using Phing > update configuration
|
1. Travis CI > run many tasks using Phing > update configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user