Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/walkor/validation
The most awesome validation engine ever created for PHP
https://github.com/walkor/validation
The argument "parameters" which is meant to give the wrapped rule's
exception some extra informa...
Co-authored-by: Henrique Moody <[email protected]>
9595b3fd6c3b4d20ac07344ef10716c16b6ba2bb authored about 6 years ago by Danilo Benevides <[email protected]>
Removes the errant space in the CA PostalCode regex.
This space was introduced by 5a067fa.
It a...
f8c90fa36859ca41c766efcf0c476d58913a7767 authored about 6 years ago by Brian Johnson <[email protected]>
Co-authored-by: Henrique Moody <[email protected]>
Co-authored-by: Emmerson Siqueira <emme...
Co-authored-by: Henrique Moody <[email protected]>
Co-authored-by: Danilo Correa <danilosi...
Co-authored-by: Emmerson Siqueira <[email protected]>
299551dea31583b40ddc417ac1daafca81005f0f authored about 6 years ago by Emmerson Siqueira <[email protected]>
Because "friendsofphp/php-cs-fixer" does not support PHP 7.3 this commit
will also add "--ignore...
Since the library doesn't need to give support to version 5.4 or less of
PHP using variadics in ...
This commit will allow validation of UUIDs with versions 1, 3, 4 and 5.
Version 2 was not imple...
6730576fe4dae40d3b01bc0144a94d0750fa68dc authored about 6 years ago by Michael Weimann <[email protected]>
Currently the license identifier (BSD Style) does not comform to the
SPDX list of valid identifi...
The Korea Postal code system changed from a 6-digit postal code system
to a 5-digit postal code ...
d9628a89dd7979d21b0f22b5058bd64f20eef51e authored about 6 years ago by Henrique Moody <[email protected]>
As it seems, the TLDs "goodhands", "jlc", "panerai", "statoil",
"telecity", and "vista" were rem...
There shouldn't be possible to consider a non-string value as a valid
email anyways, but the rea...
Co-authored-by: Henrique Moody <[email protected]>
4200704bdc328f3cf4127848fdde56724f63afb2 authored about 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
fbbab77b2464c38fc671982bde32c5d369b3b741 authored about 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
23656c9030c03f65857b98aeb77b0c4707f0ce86 authored about 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
69a01249da4582fe72ab100556639718e1bf085a authored about 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
0be63bd3139064c8007049c8148edce30c303d6e authored about 6 years ago by Danilo Correa <[email protected]>eb232247da883d7eb88d512ac04be5b014355a10 authored about 6 years ago by Danilo Correa <[email protected]>
This commit will create Composer scripts for commands that are
frequently used during the develo...
Co-authored-by: Henrique Moody <[email protected]>
03ea1b75f697f0ea876e5f1b044c7cdf0e938127 authored about 6 years ago by Moritz <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
4106589e7fef57cd2cdb16f95901cfe5aefb2176 authored about 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
1b4a90487188f33cfe8fb7453cf7a8238a7746af authored about 6 years ago by Danilo Correa <[email protected]>
The "Yes" rule extends "Regex" rule. The only reasons why that is useful
is because "Yes" uses r...
The "AbstractRegexRule" seems like an unnecessary overhead on top of the
"AbstractFilterRule". I...
This commit will also replace the usage of "mac" to "MAC" since it is an
acronym.
Co-authored-b...
907e24fb8f9e58a55e6c9512d3092c2fc357c399 authored over 6 years ago by Danilo Correa <[email protected]>
This commit will also replace the usage of "mime" to "MIME" since it is
an acronym.
Co-authored...
e2e9197f2902272430aee9ce271770d18aa1efe2 authored over 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
fd13b03d18aa3d543f088b1c1dec40169d0f8d43 authored over 6 years ago by Cameron Hall <[email protected]>
The "AbstractCtypeRule" class is an abstraction that is purely an
overhead on top of the "Abstra...
This file should have been removed by when the contribution guidelines
were applied to "Image" b...
Co-authored-by: Henrique Moody <[email protected]>
Signed-off-by: Henrique Moody <henrique...
Co-authored-by: Henrique Moody <[email protected]>
Signed-off-by: Henrique Moody <henrique...
Co-authored-by: Henrique Moody <[email protected]>
Signed-off-by: Henrique Moody <henrique...
The "Digit" rule is meant to validate digits. However, by default, it
also considers any whitesp...
The intent of the "Alpha" rule is to validate alphabetic values.
However, it also considers any ...
All the classes that were extending "AbstractFilterRule" were throwing
exceptions that were exte...
24040c947333f51dcf7c3883774eb0f7e5e179b0 authored over 6 years ago by Danilo Correa <[email protected]>
Co-authored-by: Henrique Moody <[email protected]>
0e67549dd99bc7df4dda39c9e4e8147acdfe6973 authored over 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
2bb6f66251a5ce7afaf88e0381e5873291b6df8e authored over 6 years ago by Danilo Benevides <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
73a010734989fe80caa060a318ed083ef4a5576d authored over 6 years ago by Danilo Correa <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
30993fc4a0d88f39ac92cfda3df273375ab18919 authored over 6 years ago by Danilo Correa <[email protected]>
Also creates a "ToStringStub" class to help on testing objects that can
be converted to string.
...
Co-authored-by: Henrique Moody <[email protected]>
Signed-off-by: Henrique Moody <henrique...
Because of the type hinting some validation could be removed from the
"length" constructor.
Whi...
17f8c50f54c81b94baad035153cf257f0b678d12 authored over 6 years ago by Danilo Correa <[email protected]>
The "Alnum" rule is supposed to validate alphanumeric values, but
instead, it also validates any...
Because we don't support HHVM anymore, there is no reason to keep a
condition that keeps the tes...
The changes you see in this commit had to be made due to the upgrade of
PHPunit version.
Signed...
c7fcc09af65202ebfa28ae935163eaddacf641d3 authored over 6 years ago by Henrique Moody <[email protected]>9a8cac06d7ecb2853e91008d3892bec11158b14d authored over 6 years ago by Danilo Benevides <[email protected]>
Updated the whole list according to the last version found on
geonames.org.
The script that I e...
5a067faec79d0cd74aa189fc535a644fa29e0c70 authored over 6 years ago by Henrique Moody <[email protected]>
The validation was considering "99" as a valid month and neither
date_parse_from_format() [1] or...
435465219532cb15e50b8634ac06acd6b1c01e2b authored over 6 years ago by Henrique Moody <[email protected]>
The current documentation is hosted via GitHub pages rendered by
"Couscous". Every time we need ...
Require "phpstan/phpstan" for development and add to the Travis CI
configuration file to execute...
f5c167c4118184eda7502ea02ab0e6501f229c15 authored over 6 years ago by Henrique Moody <[email protected]>
Instead of creating the Symfony constraints itself "Sf" accepts an
instance of "Symfony\Componen...
The rule "Email" now only supports the version >=2.0 of
"egulias/email-validator". Also a few ch...
The callable defined to the "Call" rule may also throw an exception and
as we don't want to have...
This commit make sure that when the callable is executed by the "Call"
rule and PHP triggers an ...
The last version of PHP-CS-Fixer fixes a few things that were not
detected before.
Signed-off-b...
3b789815fb9c590447b59306efb2f75e3442f594 authored over 6 years ago by Henrique Moody <[email protected]>2b8acfd7901a0f20444396fcd23a79cb2aeac036 authored over 6 years ago by Danilo Benevides <[email protected]>
This commit will update the list of Top-Level Domains in the "Tld" rule
with the latest version ...
Also updates how the tests define the name of the instance by using the
class keyword [1] instea...
Co-authored-by: Henrique Moody <[email protected]>
fad0005fa0281bcf1157bab603166005d95f7c40 authored over 6 years ago by Ismael Elias <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
f01972e208b0e7d3af55f39b26285604fb18e0c9 authored over 6 years ago by Danilo Benevides <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
94d2e87b2a115c72a0df301dc1185efd11358b87 authored over 6 years ago by Danilo Benevides <[email protected]>
The "NestedValidationException" has exceptions that are its children.
However, we call them "rel...
Signed-off-by: Henrique Moody <[email protected]>
a1bc0cd6b4e87cb219805029b8ccb4bd019b98e3 authored over 6 years ago by Henrique Moody <[email protected]>
In the iterator in the "NestedValidationException" the only information
that is necessary is the...
Also removes the possibility of the "create()" method to create a new
Validation with predefined...
Because Validator uses a Factory to create rules, it does not make sense
to create rules with th...
The "ReflectionClass" throws an exception if the class cannot be found,
for that reason the vali...
eded93b0dff5d26d6e8426c8eeb04665995e4c4b authored over 6 years ago by Henrique Moody <[email protected]>
These two branches are very different, therefore merging is becoming
very hard.
I decided to no...
0cdd8c45464e75faefee349f945a1f495c9a8d7f authored over 6 years ago by Henrique Moody <[email protected]>57509520a487375a652113e429df780c6d03b1b5 authored over 6 years ago by Henrique Moody <[email protected]>
19d6ec893994912d21b390c43d287816ab070772 authored over 6 years ago by Andrei Drulchenko <[email protected]>
The classes that are children of "AbstractInterval" convert their values
before comparing them.
...
4f3aa90d1f1bf5d392ae89b0738a7e10b6b98e7b authored over 6 years ago by Axel Wargnier <[email protected]>
There is a log of magic in the "AbstractComposite" that allows an user
to add a rule in multiple...
Co-authored-by: Henrique Moody <[email protected]>
Signed-off-by: Henrique Moody <henrique...
Signed-off-by: Henrique Moody <[email protected]>
fd2bae73521bf08cf3dcd012b6efb09d85ea605a authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
e044e4b16e760795f98b5a3cf2db19ff857c37e9 authored over 6 years ago by Henrique Moody <[email protected]>
Co-authored-by: Henrique Moody <[email protected]>
Signed-off-by: Henrique Moody <henrique...
Although the "U" at the first of URL is a vowel, the abbreviation is
pronounced "you-are-ell". B...
When a template is set for a chain of rules, does not really matter
which messages the chain can...
Co-authored-by: Henrique Moody <[email protected]>
c5978eb5b01dd2a1d98e28f88c2d15adf9cc0d03 authored over 6 years ago by Singwai Chan <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
e70c201691365ea7a195f1f7e310e99d2dc6c051 authored over 6 years ago by Islam Elshobokshy <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
5f684e246f81057bf42bbe0f67735a195f611642 authored over 6 years ago by William Espindola <[email protected]>
Postal code for NL allows for a space between the digits and the
letters.
Co-authored-by: Henri...
8fc24844285afb40ea82da148134bad34e8bc710 authored over 6 years ago by Sebastian <[email protected]>
Use the same condition to not include child exception into the iterator
to also not show the mes...
The commit 54d17ab tried to fix the that "IntVal" would pass with values
that are not considered...
Co-authored-by: Henrique Moody <[email protected]>
de53a4b4bd8aeed669cfd14ced2aa228fc0d1aac authored over 6 years ago by Danilo Benevides <[email protected]>Co-authored-by: Henrique Moody <[email protected]>
f486d521cbc859048f0fbb999d177e0229ef1877 authored over 6 years ago by Danilo Benevides <[email protected]>
Also removed the possibility of validating keys once it's possible to
reach the same behavior by...
70eb87bd77d9d687d8e7d77841bd7b4a1daaaafe authored over 6 years ago by Henrique Moody <[email protected]>
Values like "500.00" or 1.0 should not be considered as integer values
even though there is no d...
The "IpException" was triggering an error when the parameters
"networkRange" or "min" were not d...
Signed-off-by: Henrique Moody <[email protected]>
2ab1f11c99120bc44e8521dadd4a2993012c9eca authored over 6 years ago by Henrique Moody <[email protected]>Also consider PHP's "Directory" class as a valid directory.
Co-authored-by: Henrique Moody <hen...
0413afc22688b938e14aa9718990d85394c67d9e authored over 6 years ago by William Espindola <[email protected]>
Currently the build is failing because "friendsofphp/php-cs-fixer" does
not support PHP 7.3, but...