40 Commits

Author SHA1 Message Date
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
b96be063da Merge branch 'feature/issue-1160' 2014-07-03 15:35:36 +02:00
8666504a4f fixed typo [skip ci] 2014-07-03 15:34:34 +02:00
a799eeb9ce code style 2014-07-03 01:57:22 +02:00
7c04ff048f moved functionality to behavior, added tests 2014-07-03 00:05:48 +02:00
3fc4d5ebc9 fixes #1160 2014-07-01 23:20:35 +02:00
02e3746013 Fixed Inflector::slug to work properly with numbers 2014-06-22 02:03:55 +04:00
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.
2014-06-19 20:33:52 +04:00
09e6a13e8f Fixed tests 2014-06-08 12:14:42 +04:00
f8e05fbf4f Improved yii\helpers\Inflector::slug to support more cases for Russian, Hebrew and special characters 2014-06-08 05:44:31 +04:00
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
90c7bf288d Fixed indentation in BaseInflector 2014-03-03 03:18:17 +01:00
44750915e0 Add $transliteration for Vietnamese
Please review and merge it,
Thank advance
2014-03-02 19:06:35 +07:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00