Vladimir Reznichenko
14984328e5
SCA with Php Inspections (EA Ultimate) ( #16105 )
7 years ago
Vladimir Reznichenko
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
7 years ago
SilverFire - Dmitry Naumenko
08c87aec4f
Fixed `Component::off()` not to throw an exception
...
Fixes #15822
7 years ago
Vladimir Reznichenko
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Alexander Makarov
596e5b1283
Fixed escaping in arrayable trait ( #15669 )
7 years ago
SilverFire - Dmitry Naumenko
05b85008f8
Updated PHPDocs [skip ci]
7 years ago
Paul Klimov
69a36789c4
fixed duplicating wildcard event trigger at `Event::trigger()`
7 years ago
Alexander Makarov
0de49406db
Minor code style adjustments, phpdoc
7 years ago
Alexander Makarov
a1937544e0
Code style adjustments
7 years ago
Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Sergey Makinen
c382d3e8d4
Fixes #15120 : Refactored dynamic caching introducing `DynamicContentAwareInterface` and `DynamicContentAwareTrait`
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
Alexander Makarov
6b0be47e0f
Fixes #14711 : Fixed `yii\web\ErrorHandler` displaying exception message in non-debug mode
7 years ago
Alexander Makarov
d7be512fa0
Fixes #10186 : Use native `hash_equals` in `yii\base\Security::compareString()` if available, throw exception if non-strings are compared
7 years ago
Benoît Bouré
f1277d6d21
Fixes #6844 : `yii\base\ArrayableTrait::toArray()` now allows recursive `$fields` and `$expand`
7 years ago
Elvira Sheina
a559b9fa76
Fixes #14903 : Fixed route with extra dashes is executed controller while it should not
7 years ago
Ankit Padia
533f9edd35
generatePasswordHash() documentation example syntax error fixed
7 years ago
Paul Klimov
921310fd69
condition optimized
7 years ago
Klimov Paul
c2cf1f03ca
Event wildcards added to `Event`
7 years ago
SilverFire - Dmitry Naumenko
072ef77ea5
Prevent source path disclosure when form is represented by an anonymous class
7 years ago
Klimov Paul
8fccf7f6ca
Event wildcards added
7 years ago
Paul Klimov
1b8da6d951
Add `StringHelper::matchWildcard()` ( #15389 )
...
`StringHelper::matchWildcard()` added
7 years ago
Elvira Sheina
f11f818b18
Fixes #7988 : Added `\yii\helpers\Console::errorSummary()` and `\yii\helpers\Json::errorSummary()`
7 years ago
Elvira Sheina
713529e042
Fixes #8752 : Allow specify `$attributeNames` as a string for `yii\base\Model` `validate()` method
7 years ago
Sam
05f197825b
Fixes #15332 : Always check for availability of `openssl_pseudo_random_bytes`, even if LibreSSL is available
7 years ago
Alexander Makarov
2d672b6722
release version 2.0.13
7 years ago
Alexander Makarov
fb23b0d0ea
Code style fixes
7 years ago
Marko Kruljac
22d453faac
Fixes #14134 : Fixed multiple `validateAttribute()` calls when `scenarios()` returns duplicate attributes
7 years ago
Andriy Maletsky
f1cb76bc76
Fixes #14882 : Corrected action phpdoc to fix IDE hints in console commands [skip ci]
7 years ago
Sam
04281cba8c
Fixes #14793 : Module `->get()` and `->has()` methods now check parent modules and fall back to application if nothing found
7 years ago
Carsten Brandt
8861aab2ac
more details in upgrade notes
7 years ago
Paul Klimov
d68789a195
Fixes #13779 , fixes #5786
...
- #13779 : Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786 : Allowed to use custom constructors in ActiveRecord-based classes.
7 years ago
bscheshirwork
c1b5240888
Added PHPDoc @throws to yii\base\View::renderPhpFile() [skip ci]
7 years ago
Sam
4081a4b203
Fixes #14184 : Module service locator now falls back to its parent module service locator in case component isn't found
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Carsten Brandt
393fc2744a
Added yii\base\Object for backwards compatibility
...
fixes #7936
close #14478
7 years ago
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
7 years ago
Boudewijn Vahrmeijer
03d53b785d
Fixes #14449 : Fix PHP 7.2 compatibility bugs and add explicit closure support in `yii\base\Application`
7 years ago
Robert Korulczyk
a50d9d8e3e
Enable `include` rule in php-cs-fixer ( #14418 )
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Robert Korulczyk
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.
7 years ago
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier
7 years ago
vladis84
f6b54e1ac8
Fixes #14089 : Added tests for `yii\base\Theme`
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Paul Klimov
0beb59305c
Fixes #13058 : Fixed caught exception thrown during view file rendering produces wrong output
7 years ago
Carsten Brandt
6301daecf7
reverted wrong phpdoc change from #13905
8 years ago
Nikolay Oleynikov
950e895fe0
Fix phpDocumentor annotations ( #13905 ) [skip ci]
8 years ago