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
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
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
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
cf54dec00d
application release automation
2016-04-28 18:33:21 +02:00
101ec4fb59
fix phpdoc controller for empty interfaces
2016-04-28 16:42:17 +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
6e4aaaa31b
finished automated extension releases
2016-03-17 03:54:44 +01:00
d82bf74f41
fixed removal of empty lines in array in phpdoc controller
2016-03-14 23:53:10 +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
00ca1cb4b3
Fixes #4914
2014-09-04 03:27:13 +04:00
88d38b7820
Fixes #4501 : Renamed the constant YII_PATH
to YII2_PATH
2014-08-14 22:17:05 -04:00
7736853837
property code style extensions
2014-07-30 00:40:46 +02:00
100ba6c3ab
Replaced substr_compare with strncmp where possible
2014-07-30 02:32:47 +04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
5976d1c576
added property spacing to code style fixer
2014-07-30 00:21:31 +02:00
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
2014-07-30 02:15:08 +04:00
3c6239f9f7
Revert "Used substr_compare instead of substr when we don't care about result"
...
This reverts commit 07f01bcf2bb7725eab00cd5a22cc0c79161702b2.
BUT ONLY for the /build directory!
2014-07-29 22:04:24 +02:00
07f01bcf2b
Used substr_compare instead of substr when we don't care about result
2014-07-23 16:37:49 +04:00
6578cfbdab
updated phpdoc and classmap
2014-06-25 18:24:23 +02:00
3437c571a1
phpdoc controller did not find some setters
...
fixes #3255
2014-04-26 13:03:08 +02:00
c27ac8ef0e
updated phpdoc
2014-04-26 03:39:46 +02:00
3f7779a26a
phpdoc
...
[ci skip]
2014-04-23 04:22:13 +02:00
fe14f0c5e3
fixed all the PHPdoc in extensions
2014-04-23 03:25:11 +02:00
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
12d34849cc
improved phpdoc command
2014-04-23 02:13:53 +02:00
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
67dd874e0c
renamed console controller optoins param $id to $actionId
2014-03-26 17:51:52 +01:00
1e75427393
updated classmap and phpdoc
2014-03-24 23:26:30 +01:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
7570afdeea
fixed the build command after controller namespace changes
2014-03-11 16:20:03 +01:00
706ab7f968
combine globalOptions() with local options into options($id)
...
adjust existing Console Controllers and docs
2014-03-09 22:45:04 +01:00
1b7e1cd027
Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
...
* 'feature' of https://github.com/mongosoft/yii2 :
returned back formatting language files
code style. WHILE
code style. FOR
code style. FOREACH
code style. operator IF
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
short echo tags
short array syntax
Conflicts:
extensions/apidoc/commands/RenderController.php
extensions/apidoc/models/BaseDoc.php
extensions/apidoc/models/Context.php
extensions/apidoc/templates/bootstrap/Renderer.php
extensions/apidoc/templates/bootstrap/layouts/guide.php
extensions/apidoc/templates/bootstrap/layouts/main.php
extensions/apidoc/templates/bootstrap/views/index.php
extensions/apidoc/templates/html/Renderer.php
extensions/apidoc/templates/offline/views/index.php
extensions/apidoc/templates/offline/views/offline.php
extensions/apidoc/templates/online/views/index.php
extensions/elasticsearch/Connection.php
extensions/redis/ActiveQuery.php
framework/base/ErrorException.php
framework/helpers/BaseFileHelper.php
tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
3422c01712
Minor phpdoc fix
2014-03-07 03:07:49 +04:00
426af3177c
code style. WHILE
2014-03-03 21:53:26 +03:00
c7e8d8b900
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
2014-03-03 20:50:44 +03:00
074ec7dd20
fixed exclude paths in phpdoc command
...
fixes #2184
2014-01-28 00:04:25 +01:00