mirror of
https://github.com/Respect/Validation.git
synced 2024-06-04 23:02:16 +02:00
Fix "@author" annotations
Some classes and one trait had some mismatch values for their "@author" annotation and this commit will fix the mismatch putting the correct authors. I used the "git blame" command to find out which people changed the file and created a list based on that information. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
parent
93e177a4c0
commit
2e29b9e8c7
|
@ -15,7 +15,9 @@ namespace Respect\Validation\Exceptions;
|
|||
|
||||
/**
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author João Torquato <joao.otl@gmail.com>
|
||||
*/
|
||||
final class ArrayTypeException extends ValidationException
|
||||
{
|
||||
|
|
|
@ -15,6 +15,7 @@ namespace Respect\Validation\Exceptions;
|
|||
|
||||
/**
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class ArrayValException extends ValidationException
|
||||
|
|
|
@ -16,6 +16,7 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* Exceptions to be thrown by the Attribute Rule.
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* @author Carlos André Ferrari <caferrari@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author William Espindola <not.committed.yet>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
final class BaseException extends ValidationException
|
||||
{
|
||||
|
|
|
@ -16,6 +16,7 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Kinn Coelho Julião <kinncj@gmail.com>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
final class CnhException extends ValidationException
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jair Henrique <jair.henrique@gmail.com>
|
||||
* @author Wiliam Espindola <oi@williamespindola.com.br>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
final class CpfException extends ValidationException
|
||||
{
|
||||
|
|
|
@ -16,6 +16,8 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* Exceptions thrown by email rule.
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Andrey Kolyshkin <a.kolyshkin@semrush.com>
|
||||
* @author Eduardo Gulias Davis <me@egulias.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
|
|
|
@ -16,9 +16,9 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* Exception for invalid classes.
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class InvalidClassException extends ComponentException
|
||||
{
|
||||
|
|
|
@ -16,6 +16,7 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* Exceptions to be thrown by the Attribute Rule.
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace Respect\Validation\Exceptions;
|
|||
*
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Ivan Zinovyev <vanyazin@gmail.com>
|
||||
*/
|
||||
final class KeyNestedException extends NestedValidationException implements NonOmissibleException
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Respect\Validation\Exceptions;
|
|||
|
||||
/**
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Danilo Correa <dcorrea@autodoc.com.br>
|
||||
* @author Danilo Correa <danilosilva87@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class LengthException extends ValidationException
|
||||
|
|
|
@ -14,6 +14,7 @@ declare(strict_types=1);
|
|||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
/**
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class MaxAgeException extends ValidationException
|
||||
|
|
|
@ -14,6 +14,7 @@ declare(strict_types=1);
|
|||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
/**
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jean Pimentel <jeanfap@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -14,6 +14,7 @@ declare(strict_types=1);
|
|||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
/**
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Julián Gutiérrez <juliangut@gmail.com>
|
||||
*/
|
||||
final class NifException extends ValidationException
|
||||
|
|
|
@ -15,6 +15,7 @@ namespace Respect\Validation\Exceptions;
|
|||
|
||||
/**
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Bram Van der Sype <bram.vandersype@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class NotEmptyException extends ValidationException
|
||||
|
|
|
@ -14,6 +14,7 @@ declare(strict_types=1);
|
|||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
/**
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jens Segers <segers.jens@gmail.com>
|
||||
*/
|
||||
final class NullableException extends ValidationException
|
||||
|
|
|
@ -15,6 +15,7 @@ namespace Respect\Validation\Exceptions;
|
|||
|
||||
/**
|
||||
* @author Bradyn Poulsen <bradyn@bradynpoulsen.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
class OneOfException extends NestedValidationException
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace Respect\Validation\Exceptions;
|
|||
|
||||
/**
|
||||
* @author Danilo Correa <danilosilva87@gmail.com>
|
||||
* @author Emmerson <emmersonsiqueira@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class PhpLabelException extends ValidationException
|
||||
|
|
|
@ -17,6 +17,7 @@ namespace Respect\Validation\Exceptions;
|
|||
* Exceptions to be thrown by the Printable Rule.
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Andre Ramaciotti <andre@ramaciotti.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace Respect\Validation\Exceptions;
|
|||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author nickl- <github@jigsoft.co.za>
|
||||
* @author Nick Lombard <github@jigsoft.co.za>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
*/
|
||||
final class TldException extends ValidationException
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* Exceptions thrown by Uploaded rule.
|
||||
*
|
||||
* @author FKhairil <fajar90alone@gmail.com>
|
||||
* @author Fajar Khairil <fajar.khairil@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -16,6 +16,7 @@ namespace Respect\Validation\Exceptions;
|
|||
/**
|
||||
* @author Dick van der Heiden <d.vanderheiden@inthere.nl>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Michael Weimann <mail@michael-weimann.eu>
|
||||
*/
|
||||
final class UuidException extends ValidationException
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@ use function lcfirst;
|
|||
/**
|
||||
* Factory of objects.
|
||||
*
|
||||
* @author Augusto Pascutti <augusto@phpsp.org.br>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class Factory
|
||||
|
|
|
@ -24,6 +24,7 @@ use function mb_strlen;
|
|||
/**
|
||||
* Helps to deal with comparable values.
|
||||
*
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
trait ComparisonHelper
|
||||
|
|
|
@ -24,6 +24,7 @@ use function array_map;
|
|||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Wojciech Frącz <fraczwojciech@gmail.com>
|
||||
*/
|
||||
abstract class AbstractComposite extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -18,6 +18,7 @@ use Respect\Validation\Validatable;
|
|||
/**
|
||||
* Abstract class to help on creating rules that wrap rules.
|
||||
*
|
||||
* @author Alasdair North <alasdair@runway.io>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
abstract class AbstractWrapper extends AbstractRule
|
||||
|
|
|
@ -17,7 +17,9 @@ namespace Respect\Validation\Rules;
|
|||
* Validates whether the type of an input is array.
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author João Torquato <joao.otl@gmail.com>
|
||||
*/
|
||||
final class ArrayType extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -20,6 +20,7 @@ use SimpleXMLElement;
|
|||
* Validates if the input is an array or if the input can be used as an array (instance of `ArrayAccess` or `SimpleXMLElement`).
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class ArrayVal extends AbstractRule
|
||||
|
|
|
@ -22,7 +22,7 @@ use function preg_match;
|
|||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jens Segers <segers.jens@gmail.com>
|
||||
* @author William Espindola <oi@william.espindola.com.br>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
final class Base64 extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ use function is_bool;
|
|||
/**
|
||||
* Validates if the input results in a boolean value.
|
||||
*
|
||||
* @author Emmerson <emmersonsiqueira@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
|
|
|
@ -20,11 +20,11 @@ use function preg_replace;
|
|||
/**
|
||||
* Validates if the input is a Brazilian National Registry of Legal Entities (CNPJ) number.
|
||||
*
|
||||
* @author Alexandre Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jayson Reis <jayson.reis@sabbre.com.br>
|
||||
* @author Renato Moura <renato@naturalweb.com.br>
|
||||
* @author Jayson Reis <santosdosreis@gmail.com>
|
||||
* @author Nick Lombard <github@jigsoft.co.za>
|
||||
* @author Renato Moura <renato@naturalweb.com.br>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
final class Cnpj extends AbstractRule
|
||||
|
|
|
@ -23,7 +23,7 @@ use function preg_replace;
|
|||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jair Henrique <jair.henrique@gmail.com>
|
||||
* @author Jayson Reis <jayson.reis@sabbre.com.br>
|
||||
* @author Jayson Reis <santosdosreis@gmail.com>
|
||||
* @author Jean Pimentel <jeanfap@gmail.com>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
|
|
|
@ -23,10 +23,10 @@ use function preg_replace;
|
|||
/**
|
||||
* Validates whether the input is a credit card number.
|
||||
*
|
||||
* @author Alexander Gorshkov <mazanax@yandex.ru>
|
||||
* @author Andy Snell <andysnell@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jean Pimentel <jeanfap@gmail.com>
|
||||
* @author Alexander <mazanax@yandex.ru>
|
||||
* @author Nick Lombard <github@jigsoft.co.za>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
|
|
|
@ -23,6 +23,7 @@ use function is_string;
|
|||
/**
|
||||
* Validates an email address.
|
||||
*
|
||||
* @author Andrey Kolyshkin <a.kolyshkin@semrush.com>
|
||||
* @author Eduardo Gulias Davis <me@egulias.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace Respect\Validation\Rules;
|
|||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Hugo Hamon <hugo.hamon@sensiolabs.com>
|
||||
*/
|
||||
final class Equals extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -19,7 +19,9 @@ use function is_float;
|
|||
/**
|
||||
* Validates if the input is an integer.
|
||||
*
|
||||
* @author Adam Benson <adam.benson@bigcommerce.com>
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Andrei Drulchenko <andrdru@gmail.com>
|
||||
* @author Danilo Benevides <danilobenevides01@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -24,8 +24,8 @@ use function is_array;
|
|||
/**
|
||||
* Validates a keys in a defined structure.
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class KeySet extends AbstractWrapper
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ use function array_search;
|
|||
* Validates whether the input is language code based on ISO 639.
|
||||
*
|
||||
* @author Danilo Benevides <danilobenevides01@gmail.com>
|
||||
* @author Emmerson <emmersonsiqueira@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class LanguageCode extends AbstractEnvelope
|
||||
|
|
|
@ -16,9 +16,12 @@ namespace Respect\Validation\Rules;
|
|||
/**
|
||||
* Validates Spain's fiscal identification number (NIF).
|
||||
*
|
||||
* @author Julián Gutiérrez <juliangut@gmail.com>
|
||||
*
|
||||
* @see https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_fiscal
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Julián Gutiérrez <juliangut@gmail.com>
|
||||
* @author Senén <senen@instasent.com>
|
||||
*/
|
||||
final class Nif extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -17,6 +17,7 @@ namespace Respect\Validation\Rules;
|
|||
* Validates whether the input is not empty
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Bram Van der Sype <bram.vandersype@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
class NotEmpty extends AbstractRule
|
||||
|
|
|
@ -20,7 +20,7 @@ use function preg_match;
|
|||
* Validates if a value is considered a valid PHP Label, so that it can be used as a variable, function or class name.
|
||||
*
|
||||
* @author Danilo Correa <danilosilva87@gmail.com>
|
||||
* @author Emmerson <emmersonsiqueira@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class PhpLabel extends AbstractRule
|
||||
|
|
|
@ -21,7 +21,7 @@ use function sqrt;
|
|||
* Validates whether the input is a prime number.
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Camilo Teixeira de Melo <kmilotxm@users.noreply.github.com>
|
||||
* @author Camilo Teixeira de Melo <kmilotxm@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Ismael Elias <ismael.esq@hotmail.com>
|
||||
* @author Kleber Hamada Sato <kleberhs007@yahoo.com>
|
||||
|
|
|
@ -17,8 +17,10 @@ namespace Respect\Validation\Rules;
|
|||
* Validates whether an input is printable character(s).
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Andre Ramaciotti <andre@ramaciotti.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Nick Lombard <github@jigsoft.co.za>
|
||||
*/
|
||||
final class Printable extends AbstractFilterRule
|
||||
{
|
||||
|
|
|
@ -25,6 +25,7 @@ use Symfony\Component\Validator\Validator\ValidatorInterface;
|
|||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Augusto Pascutti <augusto@phpsp.org.br>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Hugo Hamon <hugo.hamon@sensiolabs.com>
|
||||
*/
|
||||
final class Sf extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ use function sprintf;
|
|||
*
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Paul Karikari<paulkarikari1@gmail.com>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
*/
|
||||
final class Type extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -24,6 +24,7 @@ use function sprintf;
|
|||
* Validates if the input is a video URL value.
|
||||
*
|
||||
* @author Danilo Correa <danilosilva87@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Ricardo Gobbo <ricardo@clicknow.com.br>
|
||||
*/
|
||||
|
|
|
@ -22,10 +22,13 @@ use function sprintf;
|
|||
/**
|
||||
* Abstract class to create TestCases for Rules.
|
||||
*
|
||||
* @author Antonio Spinelli <tonicospinelli85@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @author Antonio Spinelli <tonicospinelli85@gmail.com>
|
||||
* @author Danilo Correa <danilosilva87@gmail.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
abstract class RuleTestCase extends TestCase
|
||||
{
|
||||
|
|
|
@ -19,9 +19,9 @@ use function array_shift;
|
|||
/**
|
||||
* Stub to help testing rules.
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class Stub extends AbstractRule
|
||||
{
|
||||
|
|
|
@ -20,6 +20,8 @@ use PHPUnit\Framework\TestCase;
|
|||
* @covers \Respect\Validation\Exceptions\ValidationException
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Andy Wendt <andy@awendt.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class ValidationExceptionTest extends TestCase
|
||||
|
|
|
@ -21,6 +21,8 @@ use Respect\Validation\Test\DataProvider\UndefinedProvider;
|
|||
*
|
||||
* @covers \Respect\Validation\Rules\AbstractSearcher
|
||||
*
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class AbstractSearcherTest extends TestCase
|
||||
|
|
|
@ -21,6 +21,8 @@ use Respect\Validation\Validatable;
|
|||
*
|
||||
* @covers \Respect\Validation\Rules\AbstractWrapper
|
||||
*
|
||||
* @author Alasdair North <alasdair@runway.io>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class AbstractWrapperTest extends TestCase
|
||||
|
|
|
@ -20,7 +20,7 @@ use Respect\Validation\Test\RuleTestCase;
|
|||
*
|
||||
* @covers \Respect\Validation\Rules\BoolVal
|
||||
*
|
||||
* @author Emmerson <emmersonsiqueira@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
|
|
|
@ -22,7 +22,7 @@ use Respect\Validation\Test\RuleTestCase;
|
|||
*
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jayson Reis <jayson.reis@sabbre.com.br>
|
||||
* @author Jayson Reis <santosdosreis@gmail.com>
|
||||
* @author Renato Moura <renato@naturalweb.com.br>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
|
|
|
@ -23,7 +23,7 @@ use Respect\Validation\Test\RuleTestCase;
|
|||
* @author Felipe Martins <me@fefas.net>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author William espindola <oi@williamespindola.com.br>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
final class CountryCodeTest extends RuleTestCase
|
||||
{
|
||||
|
|
|
@ -25,7 +25,10 @@ use function date_default_timezone_set;
|
|||
* @covers \Respect\Validation\Rules\DateTime
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Eduardo Reveles <me@osiux.ws>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author qrazi <qrazi.sivlingworkz@gmail.com>
|
||||
*/
|
||||
final class DateTimeTest extends RuleTestCase
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@ use SplFileObject;
|
|||
*
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author William Espindola <oi@williamespidolacom.br>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
final class DirectoryTest extends RuleTestCase
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@ use stdClass;
|
|||
* @covers \Respect\Validation\Rules\Each
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson <emmersonsiqueira@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author William Espindola <oi@williamespindola.com.br>
|
||||
*/
|
||||
|
|
|
@ -24,6 +24,7 @@ use Respect\Validation\Test\RuleTestCase;
|
|||
*
|
||||
* @covers \Respect\Validation\Rules\Email
|
||||
*
|
||||
* @author Andrey Kolyshkin <a.kolyshkin@semrush.com>
|
||||
* @author Eduardo Gulias Davis <me@egulias.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
|
|
|
@ -20,6 +20,7 @@ use Respect\Validation\Test\RuleTestCase;
|
|||
*
|
||||
* @covers \Respect\Validation\Rules\Even
|
||||
*
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jean Pimentel <jeanfap@gmail.com>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
|
|
|
@ -22,6 +22,7 @@ use Respect\Validation\Test\Stubs\CountableStub;
|
|||
* @covers \Respect\Validation\Rules\AbstractComparison
|
||||
* @covers \Respect\Validation\Rules\GreaterThan
|
||||
*
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class GreaterThanTest extends RuleTestCase
|
||||
|
|
|
@ -20,8 +20,9 @@ use PHPUnit\Framework\TestCase;
|
|||
*
|
||||
* @covers \Respect\Validation\Rules\KeySet
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class KeySetTest extends TestCase
|
||||
{
|
||||
|
|
|
@ -29,6 +29,7 @@ use function tmpfile;
|
|||
* @author Danilo Correa <danilosilva87@gmail.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Níckolas Daniel da Silva <nickolas@phpsp.org.br>
|
||||
*/
|
||||
final class LengthTest extends RuleTestCase
|
||||
{
|
||||
|
|
|
@ -22,6 +22,7 @@ use Respect\Validation\Test\Stubs\CountableStub;
|
|||
* @covers \Respect\Validation\Rules\AbstractComparison
|
||||
* @covers \Respect\Validation\Rules\LessThan
|
||||
*
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class LessThanTest extends RuleTestCase
|
||||
|
|
|
@ -25,6 +25,7 @@ use Respect\Validation\Test\Stubs\CountableStub;
|
|||
* @covers \Respect\Validation\Rules\Max
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -25,6 +25,7 @@ use Respect\Validation\Test\Stubs\CountableStub;
|
|||
* @covers \Respect\Validation\Rules\Min
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,9 @@ use Respect\Validation\Test\RuleTestCase;
|
|||
* @group rule
|
||||
* @covers \Respect\Validation\Rules\Nif
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Julián Gutiérrez <juliangut@gmail.com>
|
||||
* @author Senén <senen@instasent.com>
|
||||
*/
|
||||
final class NifTest extends RuleTestCase
|
||||
{
|
||||
|
|
|
@ -20,6 +20,8 @@ use Respect\Validation\Test\RuleTestCase;
|
|||
* @covers \Respect\Validation\Rules\NotEmpty
|
||||
*
|
||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Bram Van der Sype <bram.vandersype@gmail.com>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class NotEmptyTest extends RuleTestCase
|
||||
|
|
|
@ -22,6 +22,7 @@ use stdClass;
|
|||
*
|
||||
* @covers \Respect\Validation\Rules\Nullable
|
||||
*
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Jens Segers <segers.jens@gmail.com>
|
||||
*/
|
||||
final class NullableTest extends TestCase
|
||||
|
|
|
@ -25,7 +25,7 @@ use function uniqid;
|
|||
* @covers \Respect\Validation\Rules\PhpLabel
|
||||
*
|
||||
* @author Danilo Correa <danilosilva87@gmail.com>
|
||||
* @author Emmerson <emmersonsiqueira@gmail.com>
|
||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class PhpLabelTest extends RuleTestCase
|
||||
|
|
|
@ -19,10 +19,12 @@ use PHPUnit\Framework\TestCase;
|
|||
use SplFileInfo;
|
||||
|
||||
/**
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @group rule
|
||||
* @covers \Respect\Validation\Exceptions\SizeException
|
||||
* @covers \Respect\Validation\Rules\Size
|
||||
*
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
class SizeTest extends TestCase
|
||||
{
|
||||
|
|
|
@ -24,8 +24,8 @@ use stdClass;
|
|||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
* @author Paulo Eduardo <pauloelr@gmail.com>
|
||||
* @author Paul Karikari <paulkarikari1@gmail.com>
|
||||
* @author Paulo Eduardo <pauloelr@gmail.com>
|
||||
*/
|
||||
final class TldTest extends RuleTestCase
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ use function setlocale;
|
|||
* @covers \Respect\Validation\Rules\Yes
|
||||
*
|
||||
* @author Cameron Hall <me@chall.id.au>
|
||||
* @author Gabriel Caruso <carusogabriel34@gmail.com>
|
||||
* @author Henrique Moody <henriquemoody@gmail.com>
|
||||
*/
|
||||
final class YesTest extends RuleTestCase
|
||||
|
|
Loading…
Reference in a new issue