mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 02:30:06 +02:00
Remove unused exception classes
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
parent
71ecea32e6
commit
3d2136e2ad
|
@ -1,28 +0,0 @@
|
|||
<?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.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
class AtLeastException extends GroupedValidationException
|
||||
{
|
||||
public static $defaultTemplates = [
|
||||
self::MODE_DEFAULT => [
|
||||
self::NONE => 'At least {{howMany}} of the {{failed}} required rules must pass for {{name}}',
|
||||
self::SOME => 'At least {{howMany}} of the {{failed}} required rules must pass for {{name}}, only {{passed}} passed.',
|
||||
],
|
||||
self::MODE_NEGATIVE => [
|
||||
self::NONE => 'At least {{howMany}} of the {{failed}} required rules must not pass for {{name}}',
|
||||
self::SOME => 'At least {{howMany}} of the {{failed}} required rules must not pass for {{name}}, only {{passed}} passed.',
|
||||
],
|
||||
];
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
<?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.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
class MostOfException extends AtLeastException
|
||||
{
|
||||
}
|
Loading…
Reference in a new issue