a559b9fa76
Fixes #14903 : Fixed route with extra dashes is executed controller while it should not
2018-01-09 18:59:07 +04:00
fb23b0d0ea
Code style fixes
2017-11-01 02:43:02 +03:00
04281cba8c
Fixes #14793 : Module ->get()
and ->has()
methods now check parent modules and fall back to application if nothing found
2017-09-13 01:32:57 +03:00
4081a4b203
Fixes #14184 : Module service locator now falls back to its parent module service locator in case component isn't found
2017-08-23 00:38:39 +03:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +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
4b9e48b8dc
improved docs: link term "path alias" to the guide
2017-06-02 10:45:20 +02:00
6301daecf7
reverted wrong phpdoc change from #13905
2017-04-03 14:27:04 +02:00
950e895fe0
Fix phpDocumentor annotations ( #13905 ) [skip ci]
2017-04-02 21:49:09 +03:00
c19b2f7dc8
release version 2.0.11
2017-02-01 17:46:29 +01:00
c1c11d06ae
Revert "Fixed some comment issues ( #13392 ) [skip ci]"
...
This reverts commit 652d05f0b8c4defa4f1bae29679322e3fbad1c0c.
`@property` comments are used to document the property that is
defined by a getter/setter if the method description does not fit.
2017-01-16 00:00:29 +01:00
652d05f0b8
Fixed some comment issues ( #13392 ) [skip ci]
2017-01-15 21:39:12 +03:00
954c771fdb
Code cleanup ( #13113 )
...
* Simplified code branching, named variable better
* More simple code cleanup
* More consistent line breaks before return statemetns
2016-12-03 00:15:53 +03:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
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
2016-10-25 17:10:56 +03:00
8a452bcc2e
Fixes #10587 : Latest used controller instance was not available in Response::EVENT_AFTER_SEND
handler
2016-10-19 12:02:55 +03:00
dbe284c618
Changed formatting of phpdoc. See #12409
2016-08-31 15:43:48 +03:00
f0c44bca91
Cosmetic changes 2 ( #12409 ) [skip ci]
2016-08-31 14:53:17 +03:00
ba43ef370d
Cosmetic changes
2016-08-26 16:00:51 +03:00
e8d30f0c51
enable use of yii2 inside of phar packaged console applications
2016-04-04 10:32:50 +00:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
2d68840898
yii\base\Module::getLayoutPath()
fixed code style
2015-11-21 19:33:16 +02:00
d08ef83e2a
Controller->viewPath can be set, fixes #10086
...
Added setViewPath() that allows setting the base path for the
controller's views. Changed getViewPath() to return the value that was
explicitly set, before defaulting to the usual module-based path.
2015-11-21 19:28:06 +02:00
f11bdfa2a7
Grammar fix: followings -> following
2015-04-21 15:08:16 +02:00
c01804d7c9
Fixes #7775 : Added more strict check on controller IDs when they are being used to create controller instances on Windows
2015-03-25 21:54:06 -04:00
2f5345b63c
improved beforeAction docs
2015-03-21 12:13:03 +01:00
70fa53a20f
Update Controller.php and Module.php
...
beforeAction() code style:
1. Return early on error
2. Don't else-after-return
close #7804
2015-03-21 12:10:25 +01:00
710e70b8fd
Fixes #2037 : Dropped the support for using yii\base\Module
as concrete module classes
2014-10-02 13:31:31 -04:00
858ceb5039
Added yii\base\Application::loadedModules
2014-09-30 21:36:29 -04:00
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
2014-09-05 14:59:22 +02:00
ef1a6d20d1
When an ID is found to be in both Application::controllerMap
and Application::modules
, the former will take precedence
2014-09-04 23:34:11 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
9e9175fe09
fixed typo
...
fixes #4480
2014-07-28 09:12:29 +02:00
b3260567c2
Mistype
2014-07-28 12:10:14 +08:00
390a6c782e
Fixes #4409 : Upper case letters in subdirectory prefixes of controller IDs were not properly handled
2014-07-23 22:10:13 -04:00
06f27758b3
Fixed typo. [skip ci]
2014-06-27 09:23:09 -04:00
910151d787
typo
...
[ci skip]
2014-06-27 11:33:18 +02:00
8e96623a56
Fixes #1452 : Added Module::getInstance()
to allow accessing the module instance from anywhere within the module
2014-06-26 22:04:41 -04:00
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
d1ab9f72ae
Finished application guide [skip ci]
2014-05-28 13:40:41 -04:00
44d7d5fdd8
fixed wrong usage of @see
2014-05-23 19:18:25 +02:00
e899406494
improved docs about application and module namespace
...
fixes #3539
2014-05-23 19:14:36 +02:00
f48a7aedfa
Fixes #3251 : controller should be created using DI container.
2014-04-25 10:10:51 -04:00
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
586f5b87b0
Removed Application::preload
in favor of Application::bootstrap
2014-04-09 10:47:10 -04:00
50e338127d
Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels
2014-04-04 23:30:59 -04:00
1e75427393
updated classmap and phpdoc
2014-03-24 23:26:30 +01:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00