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
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
Alexander Makarov
f8e05fbf4f
Improved `yii\helpers\Inflector::slug` to support more cases for Russian, Hebrew and special characters
10 years ago
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
11 years ago
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Mohorev
c7e8d8b900
@param , @var , @property and @return must declare types as boolean, integer, string, array or null
11 years ago
Carsten Brandt
90c7bf288d
Fixed indentation in BaseInflector
11 years ago
zinzinday
44750915e0
Add $transliteration for Vietnamese
...
Please review and merge it,
Thank advance
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
0b28f290f3
Fixes #1704 : Incorrect regexp is used in `Inflector::camelize()`
11 years ago
Antonio Ramirez
8c1715d5a7
remove UTF-8 string conversion
11 years ago
Antonio Ramirez
61591ea4ae
update phpDoc
11 years ago
Antonio Ramirez
08aaeda397
refactored inflector's slug and improved fallback char map
11 years ago
Antonio Ramirez
26330b9381
removed ascii method and use the new TransliteratorHelper::process at its place
11 years ago
Carsten Brandt
e775c82dd8
Changed usage of self to static to allow extendibility
...
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
b873f9f242
Fixes #915 : helper classes renamed again
11 years ago
Alexander Makarov
76cab3ea64
Renamed base helper classes
11 years ago
Qiang Xue
9a9a9c0b56
code style fix.
11 years ago