respect-validation/library/Exceptions
Henrique Moody 00f61b9bdc
Move message formatting out of ValidationException
There should not be too much code in the ValidationException. It is hard
to test and debug code in exceptions because PHP does not trace further
than their constructor.

This commit will move the message formatting from ValidationException
into a Formatter class (inside a Message namespace).

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-12 13:45:38 +02:00
..
AllOfException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
AlnumException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
AlphaException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
AlwaysInvalidException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
AlwaysValidException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
AnyOfException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ArrayTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ArrayValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
AttributeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
Base64Exception.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
BaseException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
BetweenException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
BoolTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
BoolValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
BsnException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CallableTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CallbackException.php Apply contribution guidelines to "Callback" rule 2018-06-11 18:47:28 +02:00
CallException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CharsetException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CnhException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CnpjException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ComponentException.php Apply "SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly" 2019-02-09 14:23:09 +01:00
ConsonantException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ContainsAnyException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ContainsException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ControlException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CountableException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CountryCodeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CpfException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CreditCardException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
CurrencyCodeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
DateException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
DateTimeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
DigitException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
DirectoryException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
DomainException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
EachException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
EmailException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
EndsWithException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
EqualsException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
EquivalentException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
EvenException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
Exception.php Add missing "@author" annotations 2018-11-25 18:08:44 +01:00
ExecutableException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ExistsException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ExtensionException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
FactorException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
FalseValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
FibonacciException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
FileException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
FilteredValidationException.php Fix the case of the "@inheritDoc" tag 2019-04-05 19:02:12 +02:00
FilterVarException.php Apply contribution guidelines to "FilterVar" rule 2018-06-11 18:40:05 +02:00
FiniteException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
FloatTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
FloatValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
GraphException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
GreaterThanException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
GroupedValidationException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
HexRgbColorException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
IbanException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
IdenticalException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ImageException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ImeiException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
InException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
InfiniteException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
InstanceException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
IntTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
IntValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
InvalidClassException.php Fix "@author" annotations 2018-11-25 18:04:59 +01:00
IpException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
IsbnException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
IterableTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
JsonException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
KeyException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
KeyNestedException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
KeySetException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
KeyValueException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
LanguageCodeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
LeapDateException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
LeapYearException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
LengthException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
LessThanException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
LowercaseException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
LuhnException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
MacAddressException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
MaxAgeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
MaxException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
MimetypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
MinAgeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
MinException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
MultipleException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NegativeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NestedValidationException.php Update the Coding Standards 2019-02-17 19:52:26 +01:00
NfeAccessKeyException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NifException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NipException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NoException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NoneOfException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NonOmissibleException.php Add missing "@author" annotations 2018-11-25 18:08:44 +01:00
NotBlankException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NotEmojiException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NotEmptyException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NotException.php Make classes final 2019-02-17 20:13:27 +01:00
NotOptionalException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NoWhitespaceException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NullableException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NullTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NumberException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
NumericValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ObjectTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
OddException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
OneOfException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
OptionalException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PerfectSquareException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PeselException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PhoneException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PhpLabelException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PisException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PolishIdCardException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PositiveException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PostalCodeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PrimeNumberException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PrintableException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
PunctException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ReadableException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
RecursiveExceptionIterator.php Make classes final 2019-02-17 20:13:27 +01:00
RegexException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ResourceTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
RomanException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ScalarValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SfException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SizeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SlugException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SortedException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SpaceException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
StartsWithException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
StringTypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
StringValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SubdivisionCodeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SubsetException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
SymbolicLinkException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
TimeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
TldException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
TrueValException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
TypeException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
UniqueException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
UploadedException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
UppercaseException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
UrlException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
UuidException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ValidationException.php Move message formatting out of ValidationException 2019-05-12 13:45:38 +02:00
ValidatorException.php Add missing "@author" annotations 2018-11-25 18:08:44 +01:00
VersionException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
VideoUrlException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
VowelException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
WhenException.php Apply contribution guidelines to "When" rule 2018-11-25 19:21:29 +01:00
WritableException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
XdigitException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
YesException.php Make default templates non-static and protected 2019-05-12 09:57:07 +02:00
ZendException.php Refactor "Zend" rule 2019-03-10 22:13:16 +01:00