Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Carsten Brandt
|
2f9f15bf92
|
Fixes #14188: Add constants and function for sysexits(3) to `ConsoleHelper`
|
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
|
4b9e48b8dc
|
improved docs: link term "path alias" to the guide
|
7 years ago |
Klimov Paul
|
18b0dab360
|
Fixed `yii\console\controllers\AssetController::adjustCssUrl()` breaks URL reference specification (`url(#id)`)
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Klimov Paul
|
db15c50557
|
Fixed `yii\console\controllers\AssetController` looses bundle override configuration, which makes it external one
|
8 years ago |
Klimov Paul
|
c9fc60fe74
|
Fixed `yii\console\controllers\AssetController` looses custom options of 'target' bundles
|
8 years ago |
Klimov Paul
|
56cc97ae42
|
Added `yii\console\controllers\AssetController::deleteSource`
|
8 years ago |
Alexander Makarov
|
bf3d8fe40f
|
Use $arr[] = 'x' instead of array_push
|
9 years ago |
SilverFire - Dmitry Naumenko
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
9 years ago |
Mehdi Achour
|
06d499ab02
|
#10158: Accept arrays for 'js' as well
Also applied @samdark comments on array testing
|
9 years ago |
Mehdi Achour
|
cf01d5ff92
|
Use PHP type casting instead of ArrayHelper
|
9 years ago |
Mehdi Achour
|
8ada653e8e
|
Fix build failure: Handle arrays in assets command
|
9 years ago |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
9 years ago |
Alexander Makarov
|
b65bfad44d
|
Simplified regular expressions
|
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 |
Paul Klimov
|
378937f8d5
|
`yii\console\controllers\AssetController` provides dependency trace in case bundle circular dependency detected
|
10 years ago |
Klimov Paul
|
97c0ffc836
|
Creating target dir at `yii\console\controllers\AssetController::buildTarget()` refactored
|
10 years ago |
Klimov Paul
|
e9ecdf88f9
|
Fixed `yii\console\controllers\AssetController` does not create missing folders for the target bundles
|
10 years ago |
Klimov Paul
|
690b6f7e6c
|
'Dividing asset bundles into group' docs added
|
10 years ago |
Klimov Paul
|
5bda2fe073
|
`yii\console\controllers\AssetController` now correctly handles relative image URLs if source and target CSS are under same directory
|
10 years ago |
Klimov Paul
|
9b9b361aff
|
Doc comments for `yii\console\controllers\AssetController` extended
|
10 years ago |
Klimov Paul
|
94f702fe6e
|
`yii\console\controllers\AssetController` now handles bundle files from external resources properly
|
10 years ago |
Paul Klimov
|
a3af271edf
|
Color output added to `yii\console\MessageController` and `yii\console\AssetController`
|
10 years ago |
Paul Klimov
|
19e79ad4b4
|
Plain `echo` replaced by `stdout()` at `yii\console\AssetController`
|
10 years ago |
Klimov Paul
|
63e434b473
|
Safe real path resolving added to `yii\console\controllers\AssetController::combineCssFiles()`
|
10 years ago |
Klimov Paul
|
112ad80d6e
|
Fixed `yii\console\controllers\AssetController` breaks CSS URLs, which start from '/'
|
10 years ago |
Alexander Mohorev
|
899b778994
|
Correct type declarations
|
10 years ago |
Dima Vasilyev
|
935146901b
|
Fixes #5682: The `asset` command would incorrectly combine CSS files when `UrlManager::linkAssets` is true
|
10 years ago |
Alexander Makarov
|
02622b6fe4
|
phpdoc fixes and additions
|
10 years ago |
Carsten Brandt
|
3e3948d8ea
|
fix breaking changes in markdown for console and API
API is not finished.
issue #5082
|
10 years ago |
Klimov Paul
|
0fa3694088
|
Created template content at `yii\console\controllers\AssetController` adjusted
|
10 years ago |
Klimov Paul
|
f5c5c2fd8b
|
Fixed `yii\console\controllers\AssetController` breaks CSS URLs in case target file localed at `yii\web\AssetManager::basePath` root
|
10 years ago |
Klimov Paul
|
37e0295c01
|
Error prone `realpath()` call removed
|
10 years ago |
Klimov Paul
|
13bc95ae52
|
Fixed `yii\console\controllers\AssetController` breaks CSS URLs on Windows
|
10 years ago |
Qiang Xue
|
97e37f7864
|
Fixed some issues in asset command.
|
10 years ago |
Alexander Makarov
|
82fbc0ef2c
|
Fixes #4247
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Carsten Brandt
|
10dc407a3c
|
implemented markdown parsing for console command description
issue #746
|
10 years ago |
Klimov Paul
|
49f5d364a5
|
#3807: Wrong js/css path composition at `AssetController::buildTarget()` fixed
|
10 years ago |
Alexander Makarov
|
d7a251bbec
|
Removed unused imports, added missing phpdoc
|
10 years ago |
Alexander Makarov
|
c11ca0873d
|
Fixed asset controller tests
|
10 years ago |
Alexander Makarov
|
d84898a73d
|
Fixes #2898: `yii\console\controllers\AssetController` is now using hashes instead of timestamps
|
10 years ago |
Klimov Paul
|
1641e057a9
|
`VarDumper::export()` applied over framework.
|
11 years ago |
Alexander Makarov
|
a86d2ad11e
|
Added `yii\console\Controller::EXIT_CODE_NORMAL` and `yii\console\Controller::EXIT_CODE_ERROR` constants, `yii\console\MigrateController` now returns `yii\console\Controller::EXIT_CODE_ERROR` in case of failed migration
|
11 years ago |
Klimov Paul
|
7f636fc525
|
`yii\console\controllers\AssetController::actionTemplate()` advanced to include `jsCompressor` and `cssCompressor` to the template.
|
11 years ago |