146 Commits

Author SHA1 Message Date
84e53b588a Option --composerNoProgress for dev apps building (#15972)
Use case: going to use it here https://github.com/rugabarbo/yii2-contributor-vagrant/blob/master/vagrant/provision/once-as-vagrant.sh#L26 for silent composer downloads while vagrant machine building.
2018-03-24 22:57:43 +03:00
a3c5ae620a Added --version support in Release/sort-changelog command 2018-03-13 15:45:37 +02:00
e5b2d254c5 Enhanced error handling in ReleaseController [ci skip] 2018-02-18 21:54:34 +02:00
ecf3ef8bf9 Use root NS specification for opcoded functions 2018-02-08 00:00:36 +03:00
db0b7da6d3 hashing at PhpDocController improved 2018-02-02 16:41:15 +02:00
ab10e43195 picking-up path from composer autoload added to PhpDocController 2018-02-01 18:32:44 +02:00
67f67e3a69 SCA with Php Inspections (EA Extended) (#15571) 2018-01-29 17:08:57 +07:00
efac23dde7 Fixes #15335: Added FileHelper::unlink() that works well under all OSes 2017-12-11 22:29:31 +03:00
1e00a050d7 Fixes #15322: Fixed PHP 7.2 compatibility of FileHelper::getExtensionsByMimeType() 2017-12-10 16:31:42 +03:00
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
0c0942d6e2 Enable phpdoc_add_missing_param_annotation rule in php-cs-fixer config. (#14681) [skip ci] 2017-08-21 01:57:23 +03:00
393fc2744a Added yii\base\Object for backwards compatibility
fixes #7936
close #14478
2017-07-19 10:53:33 +02:00
a50d9d8e3e Enable include rule in php-cs-fixer (#14418) 2017-07-10 13:19:57 +03:00
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100)
* php-cs-fixer: PSR2 rule.

* php-cs-fixer: PSR2 rule - fix views.

* Travis setup refactoring.

* Add php-cs-fixer to travis cs tests.

* Fix tests on hhvm-3.12

* improve travis config

* composer update

* revert composer update

* improve travis config

* Fix CS.

* Extract config to separate classes.

* Extract config to separate classes.

* Add file header.

* Force short array syntax.

* binary_operator_spaces fixer

* Fix broken tests

* cast_spaces fixer

* concat_space fixer

* dir_constant fixer

* ereg_to_preg fixer

* function_typehint_space fixer

* hash_to_slash_comment fixer

* is_null fixer

* linebreak_after_opening_tag fixer

* lowercase_cast fixer

* magic_constant_casing fixer

* modernize_types_casting fixer

* native_function_casing fixer

* new_with_braces fixer

* no_alias_functions fixer

* no_blank_lines_after_class_opening fixer

* no_blank_lines_after_phpdoc fixer

* no_empty_comment fixer

* no_empty_phpdoc fixer

* no_empty_statement fixer

* no_extra_consecutive_blank_lines fixer

* no_leading_import_slash fixer

* no_leading_namespace_whitespace fixer

* no_mixed_echo_print fixer

* no_multiline_whitespace_around_double_arrow fixer

* no_multiline_whitespace_before_semicolons fixer

* no_php4_constructor fixer

* no_short_bool_cast fixer

* no_singleline_whitespace_before_semicolons fixer

* no_spaces_around_offset fixer

* no_trailing_comma_in_list_call fixer

* no_trailing_comma_in_singleline_array fixer

* no_unneeded_control_parentheses fixer

* no_unused_imports fixer

* no_useless_return fixer

* no_whitespace_before_comma_in_array fixer

* no_whitespace_in_blank_line fixer

* not_operator_with_successor_space fixer

* object_operator_without_whitespace fixer

* ordered_imports fixer

* php_unit_construct fixer

* php_unit_dedicate_assert fixer

* php_unit_fqcn_annotation fixer

* phpdoc_indent fixer

* phpdoc_no_access fixer

* phpdoc_no_empty_return fixer

* phpdoc_no_package fixer

* phpdoc_no_useless_inheritdoc fixer

* Fix broken tests

* phpdoc_return_self_reference fixer

* phpdoc_single_line_var_spacing fixer

* phpdoc_single_line_var_spacing fixer

* phpdoc_to_comment fixer

* phpdoc_trim fixer

* phpdoc_var_without_name fixer

* psr4 fixer

* self_accessor fixer

* short_scalar_cast fixer

* single_blank_line_before_namespace fixer

* single_quote fixer

* standardize_not_equals fixer

* ternary_operator_spaces fixer

* trailing_comma_in_multiline_array fixer

* trim_array_spaces fixer

* protected_to_private fixer

* unary_operator_spaces fixer

* whitespace_after_comma_in_array fixer

* `parent::setRules()` -> `$this->setRules()`

* blank_line_after_opening_tag fixer

* Update finder config.

* Revert changes for YiiRequirementChecker.

* Fix array formatting.

* Add missing import.

* Fix CS for new code merged from master.

* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
6397791513 Fixed whitespaces to match code style [skip ci] 2017-03-14 09:42:13 +03:00
a182ce57fc Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) (#13606)
* Php Inspections (EA Extended): language level migration fixes
* Php Inspections (EA Extended): instanceof a trait always return false
* Php Inspections (EA Extended): fixed preg_quote (/ is not escaped by default)
* Php Inspections (EA Extended): fixed a greedy regex
* Php Inspections (EA Extended): refereted instanceof self in a trait
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): more greedy regexes fixed
2017-02-22 17:07:52 +03:00
2d9424009f fixed a typo (#13573) 2017-02-14 16:58:56 +03:00
89f66ae422 fixed version increment of release command 2017-02-08 10:08:37 +01:00
36521c50e0 instructions on signing tag on release repo 2017-02-02 14:35:16 +01:00
bd59d8f527 improved release controller 2017-02-01 17:36:45 +01:00
603c422938 resort changelog 2017-01-31 14:25:00 +01:00
abac69206d added GPG signing to release controller
issue #13204
2016-12-27 21:36:46 +01:00
bc314f5299 Fixed typo in PHPDoc [skip ci] 2016-11-17 12:28:38 +06:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
dc7c3779a0 fixed phpdoc controller to not crash on non-instantiable classes
this happens with codeception classes that are auto generated, they
shoud not be changed by phpdoc controller anyway.
2016-10-20 14:39:57 +02:00
ff871bdf48 adjuste PHPdoc controller to use short form types 2016-10-20 13:53:06 +02:00
22588216e7 Fix PHP notice on changelog sort command (#12628)
```
PHP Notice 'yii\base\ErrorException' with message 'Only variables should be passed by reference'

in ../build/controllers/ReleaseController.php:321
```
2016-09-28 17:30:24 +02:00
d0c084d63d added resort changelog action to release controller 2016-09-23 13:22:43 +02:00
578eb9259c improvements to UTF8 controller 2016-08-23 10:00:21 +02:00
ef9034f4cf added controller that helps with finding unprintable characters in the guide 2016-08-22 15:50:15 +02:00
39ca04b5ab prepare for next release 2016-07-11 15:38:16 +02:00
7c1e3af8e0 add internal docs about making releases 2016-06-27 03:13:37 +02:00
1bce7c308b package app releases 2016-04-28 21:05:33 +02:00
cf54dec00d application release automation 2016-04-28 18:33:21 +02:00
be7ad4366c prepare for next release 2016-04-28 16:54:21 +02:00
101ec4fb59 fix phpdoc controller for empty interfaces 2016-04-28 16:42:17 +02:00
f87acfad40 framework release automation 2016-04-28 16:35:48 +02:00
7e5fa258b8 adjusted phpdoc controller for gii 2016-03-20 17:43:13 +01:00
512bd45426 release controller enhancements 2016-03-17 05:51:31 +01:00
70c59c49d7 add next version info to release controller 2016-03-17 04:11:43 +01:00
4112ddadfa added version info action to release controller 2016-03-17 03:54:44 +01:00
6e4aaaa31b finished automated extension releases 2016-03-17 03:54:44 +01:00
168c1cddfe release controller 2016-03-17 03:54:43 +01:00
d82bf74f41 fixed removal of empty lines in array in phpdoc controller 2016-03-14 23:53:10 +01:00
f13d5c05f2 added extensions into devcontroller [skip ci] 2016-03-10 13:43:45 +01:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
9b5f6cb188 prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
f4a5b03b1d updated docs about AR in migrations
fixes #9374
2015-08-11 21:49:58 +02:00