Kolyunya
|
f866edcfba
|
Fix console cache controller
Fixed a bug in a `yii\console\controllers\CacheController` when caches
defined via a closure were not detected.
fixes #13969
close #14586
|
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 |
Carsten Brandt
|
2f9f15bf92
|
Fixes #14188: Add constants and function for sysexits(3) to `ConsoleHelper`
|
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 |
Alexander Makarov
|
70cd75c84e
|
Fixes #13226: `yii cache` command now warns about the fact that it's not able to flush APC cache from console
|
8 years ago |
Robert Korulczyk
|
450eefaa50
|
Some phpdoc fixes from scrutinizer.
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Alexander Makarov
|
65232792b9
|
#10503: Added note about flusing APC and OpCache from CLI
|
8 years ago |
Nikola Kovacs
|
9d327baa8b
|
coding style fixes
|
8 years ago |
Carsten Brandt
|
191f2a4943
|
fixed phpdoc type names
|
9 years ago |
SilverFire - Dmitry Naumenko
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
9 years ago |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
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 |
Carsten Brandt
|
6d9fe671de
|
various code style and whitespace adjustments
|
9 years ago |
Alexander Mohorev
|
39cb131984
|
Spelling and sc fixes
|
9 years ago |
Alexander Mohorev
|
d34d890a32
|
PSR-2 if-else statement
|
9 years ago |
Carsten Brandt
|
aef8fdffde
|
fixed indentation in Cache Controller
|
10 years ago |
Alexander Makarov
|
eaf8ece568
|
Fixes #5627: Added `yii cache/flush-schema` console command to flush DB schema cache of a given database connection
|
10 years ago |
Alexander Makarov
|
fce99c874e
|
Fixes #5504: Added note to yii\console\CacheController explaining that cache components should be configured in console app configuration in order to be cleared
|
10 years ago |
Carsten Brandt
|
3e3948d8ea
|
fix breaking changes in markdown for console and API
API is not finished.
issue #5082
|
10 years ago |
Qiang Xue
|
d2b864da84
|
prepare for 2.0.0-rc release.
|
10 years ago |
Klimov Paul
|
684365e8c9
|
Fixed `yii\console\controllers\CacheController` does not check if cache component instance of 'yii\caching\Cache'
close #5055
|
10 years ago |
Mark
|
ff80968387
|
cache controller adjustments and improvements
related to #4792, close #4874
|
10 years ago |
Alexander Makarov
|
0c14f47f9a
|
Fixes #3793: Changed inline autocomplete hints style to get more IDEs support
|
10 years ago |
Qiang Xue
|
8e11ad0360
|
refactored code to use Instance::ensure()
|
11 years ago |
Qiang Xue
|
72c99663ff
|
Refactored container.
|
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 |
Carsten Brandt
|
740a769477
|
improved HelpController with messages for each command
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
slavcodev
|
b0b1c27c85
|
Fix phpDoc var tag format
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Qiang Xue
|
f72105166c
|
reorganized the main repo to satisfy PSR-0.
|
12 years ago |
Qiang Xue
|
b3be3710dd
|
Enhanced cache command.
|
12 years ago |
Qiang Xue
|
c10fe193d2
|
Renamed yiic to yii.
Added console command support to the bootstrap app.
|
12 years ago |
resurtm
|
5575f53657
|
CS fixes.
|
12 years ago |
Qiang Xue
|
0d814fa523
|
Moved "framework" to "iii".
|
12 years ago |
Qiang Xue
|
4fdaab3560
|
updated file header.
|
12 years ago |
Alexander Makarov
|
137d472838
|
console command to flush cache
|
12 years ago |