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
2d672b6722
release version 2.0.13
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
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
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
SilverFire - Dmitry Naumenko
437825be70
Implemented Container::setDependencies(), Container::setDefinitions
...
Closes #11758
Closes #13029
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
8 years ago
Paul Klimov
8d05bd9479
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
...
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
8 years ago
Alexander Makarov
1f7134634b
Use static:: instead of $this for static method calls
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
Qiang Xue
858ceb5039
Added `yii\base\Application::loadedModules`
10 years ago
Carsten Brandt
d82195706f
UPGRADE and CHANGELOG notes for the Formatter changes
10 years ago
Carsten Brandt
73cb5f8aac
changed syntax for referencing the guide in apidoc
...
New syntax:
```
[link to guide](guide:file-name.md)
[link to guide](guide:file-name.md#subsection)
```
fixes #4719
10 years ago
Qiang Xue
60e07e0d2a
new asset WIP: renabled asset publishing
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
1f31f27787
phpdoc
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
Qiang Xue
9c4d4715dd
guide WIP [skip ci]
10 years ago
Klimov Paul
54ac875e21
Component 'security' added tp the base application
10 years ago
Qiang Xue
8e96623a56
Fixes #1452 : Added `Module::getInstance()` to allow accessing the module instance from anywhere within the module
10 years ago
Alexander Makarov
0ff0f9d32e
Missing files for #4071
10 years ago
Alexander Makarov
c7d8439072
Fixes #3687 : Default `sourceLanguage` and `language` are now `en-US` in order for i18n formatter to work correctly
10 years ago
Alexander Kochetov
a034fc2659
Additional `Application` property for `$formatter`
10 years ago
Qiang Xue
5210573622
guide WIP [skip ci]
10 years ago
Alexander Makarov
1122da950c
Adjustments according to comments on #3575
10 years ago
Alexander Makarov
07f30cb04c
Fixes #3542 : Removed requirement to specify `extensions` in application config
10 years ago
Qiang Xue
313437f3c0
Fixes #3284 : Added support for checking multiple ETags by `yii\filters\HttpCache`.
11 years ago
Carsten Brandt
44d7d5fdd8
fixed wrong usage of @see
11 years ago
Carsten Brandt
e899406494
improved docs about application and module namespace
...
fixes #3539
11 years ago
Qiang Xue
a2aa20f183
simplified errorhandler registration.
11 years ago
Carsten Brandt
8134af0edd
allow using errorhandler from the app namespace
...
fixes #3431
11 years ago
Qiang Xue
5fbb65ad81
Fixes #3121 : `yii\base\Application::bootstrap` may fail to load some components if they are specified as class names
11 years ago
Qiang Xue
8bbcff70db
prepare for 2.0.0-beta release.
11 years ago
Qiang Xue
a6136e1b16
Renamed `yii\web\User::checkAccess()` to `yii\web\User::can()`
11 years ago
Qiang Xue
ea75177abc
Refactored app bootstrap logic.
11 years ago
Carsten Brandt
3fdcf11f24
updated phpdoc
11 years ago
Qiang Xue
586f5b87b0
Removed `Application::preload` in favor of `Application::bootstrap`
11 years ago
Qiang Xue
50e338127d
Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels
11 years ago
Carsten Brandt
7be743e1a7
cleanup application errorHandler getter
11 years ago
Carsten Brandt
a4b6fb263d
handle Exceptions in application init()
11 years ago
Carsten Brandt
89f6a00147
created console errorHandler
11 years ago
Qiang Xue
48383f9a19
app end improvement.
11 years ago
Qiang Xue
43b8430e0f
improvement of Application::end() handling.
11 years ago