Alexander Makarov
c76e4dd7c7
Update BaseInflector.php
3 years ago
Kamchybek Jusupov
b41f4dc76f
Remove capitalized versions of rules
3 years ago
Alexander Makarov
9ce0d42daf
Update BaseInflector.php
3 years ago
Kamchybek Jusupov
9c8f653554
Added 'software' and 'hardware' string to BaseInflector $specials.
3 years ago
Viktor Pikaev
c901608af7
Fix #17863 : `\yii\helpers\BaseInflector::slug()` doesn't work with an empty string as a replacement argument
5 years ago
charescape
c02060e241
Code style fix ( #17754 ) [skip ci]
5 years ago
Evgeny
62acca9f3d
Fix #17740 : `yii\helpers\BaseInflector::slug()` doesn't replace multiple replacement string occurrences to single one
5 years ago
Alexander Kartavenko
2b9374558b
Fix #17395 : Fixed issues with actions that contain underscores in their names
5 years ago
Pavel Dovlatov
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?
6 years ago
Brandon Kelly
1cc83f02f5
Fixes #17150 : Fixed `yii\helpers\BaseInflector::camel2words()` splitting `ALLCAPS` words on each letter
6 years ago
Bizley
de5b903806
Fixed regression in #16817 ( #17056 )
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Bizley
1342eb718b
Fixes #15204 : `yii\helpers\BaseInflector::slug()` is not removing substrings matching provided replacement from given string anymore
6 years ago
SilverFire - Dmitry Naumenko
3d96a45f6b
Fixed BC breaking change in Inflector
...
Fixes #16239
6 years ago
SilverFire - Dmitry Naumenko
02d3f8a2e9
PHPDocs updated [skip ci]
6 years ago
SilverFire - Dmitry Naumenko
629a33fd0e
Made Inclector unicode-safe
6 years ago
Dmitry Naumenko
5a87dd2bfa
Added explicit encoding
6 years ago
SilverFire - Dmitry Naumenko
b9aa0001b6
Fixed `yii\helpers\Inflector::camel2words()` to work with UTF-8
6 years ago
Vladimir Reznichenko
14984328e5
SCA with Php Inspections (EA Ultimate) ( #16105 )
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
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 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
SilverFire - Dmitry Naumenko
af612f47d1
Addded pluralization and singularization exception for `currency`
8 years ago
Elvira Sheina
e47329c92b
Fixed #13523 : Plural rule for pasta
8 years ago
Tetyuev Pavel
3a1cd7f3aa
Fixes #13287 : Fixed translating "and" separator in `UniqueValidator` error message
8 years ago
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
Mikk Tendermann
2f9395bbd6
fix #11299
9 years ago
DrDeath72
e50b300a0f
string array replace change
...
shorten :D
9 years ago
Alexander Makarov
5c4e2d4372
Removed unnecessary parentheses
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
Carsten Brandt
ef5ce2d4c1
missing `@since` annotations in helpers
9 years ago
SilverFire - Dmitry Naumenko
8c86310003
BaseInflaector: PHPDoc updated
9 years ago
SilverFire - Dima Naumenko
a7f102fa94
Enh #10061 : `yii\helpers\BaseInflector::transliterate()` is now public
9 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Qiang Xue
cf0c8c37dd
Fixes #5983 : Added `Inflector::sentence()`
10 years ago
Alexander Mohorev
64b4d6dca1
Correct order of property declaration
10 years ago
Nghia Nguyen
2eda2725d0
Fixes #5164 : Added `Inlfector::$transliterator` that can be used to customize intl transliteration
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
Tobias Munk
8666504a4f
fixed typo [skip ci]
10 years ago
Tobias Munk
a799eeb9ce
code style
10 years ago
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
10 years ago
Tobias Munk
3fc4d5ebc9
fixes #1160
10 years ago
Alexander Makarov
02e3746013
Fixed Inflector::slug to work properly with numbers
10 years ago
Alexander Makarov
c3de3450a7
Fixes #3939 : `\yii\Inflector::slug()` improvements:
...
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
10 years ago
Alexander Makarov
09e6a13e8f
Fixed tests
10 years ago