Carsten Brandt
|
93bbf5b39d
|
Fixes #15015: Added `StringHelper::floatToString()` to savely cast float values independent of the locale, also fixes some places in the framework that use it now
|
7 years ago |
Robert Korulczyk
|
c78201899b
|
Fixes #13720: Improve `yii\helpers\FormatConverter::convertDatePhpToIcu()` to handle escaped chars correctly
|
7 years ago |
Robert Korulczyk
|
59b635c2a6
|
Fixes #14921: Fixed bug with replacing numeric keys in `yii\helpers\Url::current()`
|
7 years ago |
Carsten Brandt
|
36b535c26b
|
Fixes #13254: Made `yii\helpers\StringHelper` and `yii\validators\StringValidator` independent of `Yii::$app` instance
|
7 years ago |
Carsten Brandt
|
f87ddd48b8
|
added note about opcache and PHPDoc annotations to Markdown helper
fixes #13601
|
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 |
Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Nikolay Oleynikov
|
ea33bbd369
|
Fix docs of a base file helper (#14477) [skip ci]
|
7 years ago |
Alex
|
59002a9e1e
|
Fixes #6644: Added `yii\helpers\ArrayHelper::setValue()`
|
7 years ago |
Dmitry Dorogin
|
6e223e6db2
|
Fixes #14423: Fixed `ArrayHelper::merge` behavior with null values for integer-keyed elements
|
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
|
be658f82bf
|
release version 2.0.12
|
7 years ago |
corpsepk
|
ac70262bfc
|
Fixed typo in BaseFileHelper::findFiles() docs (#14200) [skip ci]
|
7 years ago |
Carsten Brandt
|
5e8e6840b6
|
Added copyEmptyDirectories option to FileHelper
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
|
7 years ago |
Brandon Kelly
|
debe85fa34
|
Fixes #14098: `yii\helpers\BaseFileHelper::normalizeOptions()` is now protected
|
8 years ago |
Alexander Makarov
|
7db93fc33d
|
Refactored solution to be contained within ActiveQuery instead of helper
|
8 years ago |
vladis84
|
8474927a55
|
Fixed ambiguous error sql while using unique validator
|
8 years ago |
Carsten Brandt
|
ed9912591e
|
updated docs for base64UrlEncode()
as discussed in
https://github.com/yiisoft/yii2/pull/13411#issuecomment-285695112
|
8 years ago |
Skiptir Engu
|
e62ea0136c
|
Fixed phpdoc broken links to PHP manual pages [skip ci]
|
8 years ago |
Vladimir Reznichenko
|
6da1ec6fb2
|
Fixes #13845: `mt_rand()` is not used instead of `rand()` in `yii\captcha\CaptchaAction` + minor code improvements
|
8 years ago |
Pavel Dovlatov
|
7e1a050a16
|
Fixes #13821: fixed docs and added more tests for Url helper
|
8 years ago |
Sam
|
b238afacee
|
Fixes #4408: Add support for unicode word characters and `+` character in attribute names
|
8 years ago |
Alexander Makarov
|
0b36b27caf
|
Fixed version number in `@since`
|
8 years ago |
Carsten Brandt
|
e12dd895e9
|
improved docs for #13576
|
8 years ago |
SilverFire - Dmitry Naumenko
|
af612f47d1
|
Addded pluralization and singularization exception for `currency`
|
8 years ago |
sam002
|
a350b34c1b
|
Fixes additional case for #13657 which wasn't covered by tests
|
8 years ago |
sam002
|
c78b9e470d
|
Fixes #13657: Fixed `yii\helpers\StringHelper::truncateHtml()` skip extra tags at the end
|
8 years ago |
Nikolay Oleynikov
|
f47b6c7683
|
Fixes #7946 Fixed a bug when the `form` attribute was not propagated to the hidden input of the checkbox
|
8 years ago |
Nikolay Oleynikov
|
148007ffd6
|
Refactor HTML helper attribute order (#13665)
|
8 years ago |
Alex-Code
|
a719293ab0
|
Fixes #13649: Fixes issue where `['uncheck' => false]` and `['label' => false]` options for `ActiveRadio` and `ActiveCheckbox` were ignored
|
8 years ago |
Andrew Nester
|
953c4a8e5a
|
Fixes #13407: Added URL-safe base64 encode/decode methods to `StringHelper`
|
8 years ago |
Nikolay Oleynikov
|
323568c2e9
|
Remove trailing spaces from sources and tests (#13621) [skip ci]
|
8 years ago |
Nikolay Oleynikov
|
a26d28f8e3
|
Fixes #13576: Added support of `srcset` to `yii\helpers\Html::img()`
|
8 years ago |
Elvira Sheina
|
e47329c92b
|
Fixed #13523: Plural rule for pasta
|
8 years ago |
Carsten Brandt
|
c19b2f7dc8
|
release version 2.0.11
|
8 years ago |
Alexander Makarov
|
ebe30bd5ee
|
Exposed number normalization as StringHelper::normalizeNumber()
|
8 years ago |
Tetyuev Pavel
|
3a1cd7f3aa
|
Fixes #13287: Fixed translating "and" separator in `UniqueValidator` error message
|
8 years ago |
Sergey
|
fc00e60ade
|
Incorrect console width/height detecting with using Stty on Mac
Fixes #13309
|
8 years ago |
SilverFire - Dmitry Naumenko
|
0efed3f2b0
|
Fixed wrong background color generation in `BaseConsole::renderColoredString()`
Fixes #13326
|
8 years ago |
Carsten Brandt
|
3050dedded
|
Update BaseConsole.php
|
8 years ago |
Alexander Makarov
|
210cf36750
|
Fixes #12703: Fixed `StringHelper::truncateHtml()` non functional when dom PHP extension is disabled
|
8 years ago |
SilverFire - Dmitry Naumenko
|
ed82ba4ee2
|
Revert "fix ArrayHelper::getValue() to throw exception on invalid input"
This reverts commit e963b2af64 because of BC breaking reported in #13248.
To know more about the reasons of commit revertinvg, visit https://github.com/yiisoft/yii2/issues/13248
|
8 years ago |
Carsten Brandt
|
18bac955c1
|
docs about JSON and UTF-8
fixes #10761
|
8 years ago |
Carsten Brandt
|
e963b2af64
|
fix ArrayHelper::getValue() to throw exception on invalid input
fixes #12927
|
8 years ago |
zalatov
|
1d5a6d1722
|
Add is_dir() validation for BaseFileHelper::findFiles().
Sometimes it throws exception when file/directory is deleted or moved while executing script.
|
8 years ago |
Robert Korulczyk
|
8e0af24203
|
Fix protocol-relative URLs in `Url::to()` (#13156) (#13157)
* Fix protocol-relative URLs in `Url::to()`
* Use `isRelative()` in `Url::to()`
|
8 years ago |
Robert Korulczyk
|
2d91723934
|
Add support for creating protocol-relative URLs.
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
|
8 years ago |
SilverFire - Dmitry Naumenko
|
63e650952b
|
Updated tests for HtmlHelper::textarea()
|
8 years ago |