Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
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
Carsten Brandt
1d3495d84d
Alternative implementation for Unknown command suggestions
...
alternative implementation for #12661 , proof of concept, does not
include filtering by similarity yet.
issue #12659
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Carsten Brandt
ee92cfa7ba
release version 2.0.9
8 years ago
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
8 years ago
Andrii Vasyliev
b4995c3990
Fixed `yii\console\Application::runAction` to not to corrupt response exit code when action returns Response object
...
close #10235
9 years ago
Alexander Makarov
60be6389bf
Fixes #11081
9 years ago
Carsten Brandt
3f828d9599
alphabetical order for console core commands
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
3e915903a2
Fixes #10083 : Added wrapper for PHP webserver
9 years ago
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
9 years ago
Alexander Makarov
b53f50a762
Reverted #9140
...
See discussion at ef27d820d2
9 years ago
Alexander Makarov
ef27d820d2
#9140 : better fix for IDEs
9 years ago
matthewyang
fed6f35627
remove redefined parent property
9 years ago
Carsten Brandt
a5c92eb4cb
register `STDIN`, `STDOUT`, and `STDERR` if not defined by PHP
...
this ensures that they are defined if needed and reduces redundant
code in the entry script.
close #6853
9 years ago
Alexander Mohorev
68c30c1034
Replace aliases of functions
9 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Qiang Xue
de87f43d70
Fixes #4292 : The error messages for console commands will not be translated
10 years ago
Alexander Makarov
da7af42371
Added information about --appconfig to output of help command, color option is now passed to controller whose help we're getting
10 years ago
Carsten Brandt
c43b7ee8b5
console help WIP
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Carsten Brandt
5c837c0575
fixed console errorHandler class
11 years ago
Qiang Xue
a2aa20f183
simplified errorhandler registration.
11 years ago
Alexander Makarov
c7b05f0c22
Fixed inconsistent return of \yii\console\Application::runAction()
11 years ago
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
3fdcf11f24
updated phpdoc
11 years ago
Carsten Brandt
a4b6fb263d
handle Exceptions in application init()
11 years ago
Carsten Brandt
89f6a00147
created console errorHandler
11 years ago
Carsten Brandt
8b4d4a0b25
cleanup web errorhandler
11 years ago
Qiang Xue
ac74fede28
Fixes #2910 : Added `Application::end()`
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
bbea1ab19c
Fixes #2629 : `Module::controllerPath` is now read only, and all controller classes must be namespaced under `Module::controllerNamespace`
11 years ago
Qiang Xue
aeeee44f69
support loading config by alias.
11 years ago
Qiang Xue
bd70ac840f
Fixes #2054 : Added support for using custom application configuration with the console command runner
11 years ago
Carsten Brandt
9630c807a7
doc link fixes
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Mark
ccfb7638d0
Added to the basic app, fixed config, added to core commands.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
6507e2e316
applied new style of Yii::t params to all occurences
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
ba6c10eb30
Yii debugger WIP
11 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
11 years ago
Carsten Brandt
b138199c59
implementation of Response tied to actions
...
Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
interfer
11 years ago