Commit graph

6 commits

Author SHA1 Message Date
Danilo Benevides
de53a4b4bd
Apply contribution guidelines to "IntVal" rule
Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2018-06-23 21:43:05 +02:00
Henrique Moody
70eb87bd77
Merge branch '1.1' 2018-06-23 21:37:53 +02:00
Henrique Moody
54d17abcee
Do not consider any float as integer
Values like "500.00" or 1.0 should not be considered as integer values
even though there is no data loss when they're converted to integer.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-06-23 21:15:38 +02:00
Henrique Moody
ccf60f0ee3
Method validate() should always return a boolean 2018-01-28 17:38:36 +01:00
Henrique Moody
ef975629f3
Changes on PHP-CS-Fixer configuration
Because of `declare(strict_types=1)` some changes were necessary.
2018-01-04 17:59:37 +01:00
Henrique Moody
9b85df4601 Rename rule "Int" to "IntVal" 2015-10-07 11:46:57 -03:00
Renamed from library/Rules/Int.php (Browse further)