diff --git a/.php_cs.dist b/.php_cs.dist index 3b7d3f1..e787c8a 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -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, diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cf80c0..7bd2df2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Common and useful classes, methods, exceptions etc. +# 1.0.4 + +1. PHP Coding Standards Fixer > update configuration + # 1.0.3 1. Travis CI > run many tasks using Phing > update configuration diff --git a/VERSION b/VERSION index 21e8796..ee90284 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.3 +1.0.4