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()`
2018-02-11 01:48:29 +03:00
Klimov Paul
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
Robert Korulczyk
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
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.
2017-06-12 12:25:45 +03:00
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
Robert Korulczyk
7d1ef4c054
Improvements for handling redirections produced by UrlNormalizer ( #12451 )
2016-09-04 11:03:19 +03:00
Robert Korulczyk
8142de23d4
Improve normalizer for URL manager
2016-08-30 21:25:23 +02:00
Cronfy
a7f63b6da3
Add normalizer for URL manager.
2016-08-30 21:22:58 +02:00
Carsten Brandt
ee92cfa7ba
release version 2.0.9
2016-07-11 15:36:42 +02:00
Carsten Brandt
4e7f6f64d2
added errorHandler, Request and Response getter
...
to web and console application to ensure better ide completion.
methods in base class are required because they are called from base
class.
fixes #10947
2016-06-20 14:47:17 +02:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
2015-08-02 00:27:19 +02:00
Alexander Makarov
b53f50a762
Reverted #9140
...
See discussion at ef27d820d2
2015-07-18 22:08:47 +03:00
Alexander Makarov
ef27d820d2
#9140 : better fix for IDEs
2015-07-17 15:42:29 +03:00
matthewyang
fed6f35627
remove redefined parent property
2015-07-17 12:23:27 +08:00
Klimov Paul
91a6e4bc8e
Fixed incorrect URL config processing at yii\web\Application::handleRequest() and yii\widgets\Menu::items if route element is not a first one
2015-04-22 17:43:15 +03:00
Carsten Brandt
bbbeae95a1
fixed wrong bracket setting
...
introduced in bf206efc66
2014-12-17 00:30:58 +01:00
Alexander Makarov
bf206efc66
Fixes #6427 : In case of invalid route web application now throws exception with "Page not found" instead of "Invalid Route"
2014-12-17 00:52:43 +03:00
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Carsten Brandt
1f31f27787
phpdoc
2014-07-29 22:19:14 +02:00
Qiang Xue
a2aa20f183
simplified errorhandler registration.
2014-05-11 20:59:20 -04:00
Carsten Brandt
3fdcf11f24
updated phpdoc
2014-04-09 18:51:45 +02:00
Qiang Xue
586f5b87b0
Removed Application::preload in favor of Application::bootstrap
2014-04-09 10:47:10 -04:00
Carsten Brandt
a4b6fb263d
handle Exceptions in application init()
2014-03-30 01:27:18 +01:00
Carsten Brandt
f2b20d99d5
Merge branch 'master' into refactor-errorhandler
...
* master:
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
app end improvement.
improvement of Application::end() handling.
typo fix.
Fixes #2910 : Added `Application::end()`
Conflicts:
framework/base/Application.php
2014-03-30 00:27:51 +01:00
Carsten Brandt
8b4d4a0b25
cleanup web errorhandler
2014-03-29 23:02:35 +01:00
Qiang Xue
ac74fede28
Fixes #2910 : Added Application::end()
2014-03-28 16:59:21 -04:00
Qiang Xue
b9b4555da6
move assetManager to base application.
2014-03-27 14:09:30 -04:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Qiang Xue
cc636805da
Fixes #1894 : The path aliases @webroot and @web are now available right after the application is initialized
2014-01-11 22:05:36 -05:00
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
Qiang Xue
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
Qiang Xue
41ea94853b
refactoring and documentation for asset/script management.
2013-04-19 15:19:29 -04:00
Alexander Makarov
a701697c96
fixed component name
2013-04-19 01:58:23 +04:00
Qiang Xue
0416e01414
script WIP
2013-04-15 22:59:13 -04:00
Qiang Xue
4c2fcd7608
refactored application.
2013-04-10 10:48:27 -04:00
Qiang Xue
6aa86712e2
User WIP
2013-03-28 21:51:31 -04:00
Qiang Xue
cd1b3d321a
refactored url creation shortcut method.
2013-03-26 21:03:43 -04:00
Qiang Xue
1184e1e148
Finished AccessControl and HttpCache.
2013-03-26 15:27:15 -04:00
Qiang Xue
80dbaaca8b
bug fixes.
2013-03-25 19:37:42 -04:00
Qiang Xue
03e212bcf6
Added HtmlTest.
2013-03-11 11:41:46 -04:00
Qiang Xue
30d70be071
Finished Html helper.
2013-03-10 22:00:26 -04:00
Qiang Xue
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
Qiang Xue
210e7b69c4
cleanup
2013-03-04 07:48:57 -05:00
Qiang Xue
60583b87d3
cleanup
2013-03-04 07:07:34 -05:00
Qiang Xue
a095d383e2
refactored url management.
2013-02-27 11:19:24 -05:00
Qiang Xue
e26a9ff4f5
...
2013-02-06 11:06:21 -05:00