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
6da1f21999
Add second parameter to preg_quote() in Inflector::slug() ( #19588 )
2022-09-19 19:35:30 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
9c4c36ee72
Fix #19467 : Revert changes in Inflector::camel2words()
( #19495 )
...
* Fix #19467 : Revert changes in `Inflector::camel2words()` introduced in #19204
* Add UPGRADE note
2022-07-30 14:32:29 +02:00
a90017294c
Fix #19312 : Fix PHP 8.1 error when passing null to yii\helpers\BaseInflector
2022-04-08 17:36:08 +04: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
cf1600411c
Fix #19204 : Support numbers in Inflector::camel2words
2022-02-03 17:23:47 +03:00
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
2021-10-19 14:50:26 +02:00
63e93ba243
Fix #18832 - Inflector::camel2words() adding extra spaces ( #18833 )
2021-08-14 10:43:23 +02:00
c76e4dd7c7
Update BaseInflector.php
2021-05-09 00:59:33 +03:00
b41f4dc76f
Remove capitalized versions of rules
2021-05-07 21:32:13 +08:00
9ce0d42daf
Update BaseInflector.php
2021-05-07 01:36:02 +03:00
9c8f653554
Added 'software' and 'hardware' string to BaseInflector $specials.
2021-05-03 14:34:22 +08:00
c901608af7
Fix #17863 : \yii\helpers\BaseInflector::slug()
doesn't work with an empty string as a replacement argument
2020-02-19 03:26:33 +03:00
c02060e241
Code style fix ( #17754 ) [skip ci]
2019-12-20 11:46:55 +03:00
62acca9f3d
Fix #17740 : yii\helpers\BaseInflector::slug()
doesn't replace multiple replacement string occurrences to single one
2019-12-17 15:19:15 +03:00
2b9374558b
Fix #17395 : Fixed issues with actions that contain underscores in their names
2019-07-08 13:46:43 +03:00
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
1cc83f02f5
Fixes #17150 : Fixed yii\helpers\BaseInflector::camel2words()
splitting ALLCAPS
words on each letter
2019-02-22 23:41:14 +03:00
de5b903806
Fixed regression in #16817 ( #17056 )
2019-01-21 15:20:43 +03:00
1342eb718b
Fixes #15204 : yii\helpers\BaseInflector::slug()
is not removing substrings matching provided replacement from given string anymore
2018-10-23 22:33:18 +03:00
3d96a45f6b
Fixed BC breaking change in Inflector
...
Fixes #16239
2018-05-08 16:39:55 +03:00
02d3f8a2e9
PHPDocs updated [skip ci]
2018-05-05 08:32:43 +03:00
629a33fd0e
Made Inclector unicode-safe
2018-05-01 12:32:16 +03:00
5a87dd2bfa
Added explicit encoding
2018-04-29 13:35:39 +03:00
b9aa0001b6
Fixed yii\helpers\Inflector::camel2words()
to work with UTF-8
2018-04-29 13:13:56 +03:00
14984328e5
SCA with Php Inspections (EA Ultimate) ( #16105 )
2018-04-16 13:22:54 +03: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
fe8a0a6a2e
Enable no_useless_else
rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03: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
af612f47d1
Addded pluralization and singularization exception for currency
2017-02-28 15:59:10 +02:00
e47329c92b
Fixed #13523 : Plural rule for pasta
2017-02-11 23:19:06 +03:00
3a1cd7f3aa
Fixes #13287 : Fixed translating "and" separator in UniqueValidator
error message
2017-01-15 22:05:45 +03:00
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
2016-11-13 14:51:21 +01:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
9d327baa8b
coding style fixes
2016-05-26 11:19:32 +02:00
2f9395bbd6
fix #11299
2016-04-07 10:52:43 +03:00
e50b300a0f
string array replace change
...
shorten :D
2016-02-26 22:31:39 +05:00
5c4e2d4372
Removed unnecessary parentheses
2016-02-16 14:08:43 +03:00
f620f4de90
phpdoc fixes
2016-02-07 19:48:13 +01:00
ef5ce2d4c1
missing @since
annotations in helpers
2016-02-07 17:46:12 +01:00
8c86310003
BaseInflaector: PHPDoc updated
2015-12-15 09:49:09 +02:00
a7f102fa94
Enh #10061 : yii\helpers\BaseInflector::transliterate()
is now public
2015-11-05 16:07:33 +02:00
8b79293ff2
added missing @since
annotations
2014-11-27 18:11:14 +01:00
cf0c8c37dd
Fixes #5983 : Added Inflector::sentence()
2014-11-10 15:07:36 -05:00
64b4d6dca1
Correct order of property declaration
2014-10-25 16:28:36 +03:00
2eda2725d0
Fixes #5164 : Added Inlfector::$transliterator
that can be used to customize intl transliteration
2014-09-24 23:55:55 +04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
0edd8bc65a
Fixed missing and incorrect phpdoc
2014-07-25 17:26:35 +04:00