Rename rule "Numeric" to "NumericVal"

This commit is contained in:
Henrique Moody 2016-11-06 18:45:44 +01:00
commit e708edd005
No known key found for this signature in database
GPG key ID: 221E9281655813A6
22 changed files with 50 additions and 50 deletions

View file

@ -0,0 +1,24 @@
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
namespace Respect\Validation\Exceptions;
class NumericValException extends ValidationException
{
public static $defaultTemplates = [
self::MODE_DEFAULT => [
self::STANDARD => '{{name}} must be numeric',
],
self::MODE_NEGATIVE => [
self::STANDARD => '{{name}} must not be numeric',
],
];
}