52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
961a952f82
Fix #19927 : Fixed console\controllers\MessageController
when saving translations to database: fixed FK error when adding new string and language at the same time, checking/regenerating all missing messages and dropping messages for unused languages
2023-10-16 10:17:02 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
03235e6c12
Fix #18988 : Fix default value of yii\console\controllers\MessageController::$translator
2021-11-02 13:21:37 +03:00
97f9fba7e9
Fix #18962 : Extend ignore list in yii\console\MessageController::$except
2021-10-27 00:11:14 +03:00
e3028c524d
Fix #18899 : Replace usages of strpos
with strncmp
and remove redundant usage of array_merge
and array_values
2021-09-28 11:06:46 +03:00
b8f4958092
Fix #18442 : Fix calls with array access to strings
2020-12-23 01:08:58 +03:00
c5397f8784
Closes #16411 . Fix windows tests ( #17380 )
...
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
2019-06-19 16:48:20 +03:00
905cfd9725
Fixes #17098 : Fixed message/extract when using message params returned from method calls
2019-02-07 20:44:11 +03:00
ec1809bed2
Fix to do not delete used message files with nested category names ( #17021 )
2019-01-06 16:20:25 -05:00
5250197d3b
Fixed typo in MessageController docs [skip ci] ( #16982 )
2018-12-30 16:38:39 -05:00
c162bd7ae7
Fixes #16910 : Fix messages sorting on extract
2018-12-12 22:57:24 +03:00
db1d730695
Fixes #16822 : Create config dir recursively in message/config
2018-12-05 01:37:12 +03:00
8150cd1ed4
Fixes #16580 : Delete unused php message files in MessageController if $removeUnused
option is on
2018-12-05 01:35:44 +03:00
5208ef761e
Fixes #16828 : yii\console\controllers\MessageController::translator
recognized object' methods and functions calls as identical sets of tokens
2018-11-03 11:19:27 +03:00
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
2018-03-12 01:37:19 +03:00
65f6b59b35
@inheritdoc
notation changed
2018-01-23 13:11:24 +02:00
185209957e
Fixes #15270 : Resolved potential race conditions when writing generated php-files
2017-12-02 18:24:56 +03:00
6bde69aa96
Fixes #14016 : Fixed empty messages marked as unused in PHP and PO sources when extracted with message command when markUnused
is false
2017-10-06 22:24:38 +02:00
5a8c3d537b
Enable phpdoc_summary
rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
2f9f15bf92
Fixes #14188 : Add constants and function for sysexits(3) to ConsoleHelper
2017-07-15 23:26:15 +03:00
d2781cd232
Added configuration for headers in PHP files generated by message/extract
command ( #14417 )
2017-07-10 20:14:54 +03:00
a50d9d8e3e
Enable include
rule in php-cs-fixer ( #14418 )
2017-07-10 13:19:57 +03:00
cfaec11da5
Fixes #13824 : Support extracting concatenated strings in yii message
2017-06-21 01:25:12 +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
78ec17f13c
Fixes #14201 : yii\console\controllers\MessageController::extractMessagesFromTokens()
is now protected
2017-06-09 17:44:00 +03:00
3dc8f426d0
Fix MessageController color output on non-color termnials
...
fixes #14248
close #14249
2017-06-06 20:45:26 +02:00
6da1ec6fb2
Fixes #13845 : mt_rand()
is not used instead of rand()
in yii\captcha\CaptchaAction
+ minor code improvements
2017-03-24 13:50:13 +03:00
1dc4618f3d
Fixed MessageConstroller::saveMessagesToDb()
to work on different DBMS correctly
...
Closes #13494
2017-02-21 23:37:17 +02:00
1749c46c5d
Fixes #11502 : Fixed yii\console\controllers\MessageController
to properly populate missing languages in case of extraction with "db" format
2017-02-02 02:50:34 +03:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
665a12b25c
Fix typo detaild -> detailed ( #12177 ) [skip ci]
2016-08-17 11:56:25 +03:00
9b1b4fc5fa
Added missing phpdoc
2016-07-30 00:02:51 +03:00
33a45b196c
Additional optimization for #12048
2016-07-29 23:37:41 +03:00
0dbe589bf5
Fixes #12048 : Improved message extraction command performance
2016-07-29 23:35:09 +03:00
6728d5d0e0
Fixes #11965 : fixed docs for MessageController only and except
2016-07-15 21:46:14 +03:00
9d327baa8b
coding style fixes
2016-05-26 11:19:32 +02:00
9ea5d46140
added missing @since
annotations
2016-04-28 01:05:31 +02:00
1989494faa
Console command aliases enhancements
2016-03-05 17:56:12 +03:00
9088d49990
fix name method
2016-03-04 14:13:18 +01:00
857eee2451
Merge pull request #10870 from pana1990/10840-add-shorcuts-console
...
WIP #10840
2016-03-04 13:53:28 +02:00
191f2a4943
fixed phpdoc type names
2016-02-25 20:24:32 +01:00
705edfff5a
Add aliases for core commands
2016-02-25 16:28:19 +01:00
5db772ef7b
cleanup console namespace changes
2016-02-06 20:05:14 +01:00
62fd874413
Update phpdoc comments and changelog
2015-12-14 14:56:39 +03:00
c22a9c0d84
Method isIgnoredCategory
renamed to isCategoryIgnored
and update phpdoc comments
2015-12-14 14:50:22 +03:00