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
Currently the build is failing because "friendsofphp/php-cs-fixer" does
not support PHP 7.3, but...
Co-authored-by: Henrique Moody <[email protected]>
515b23e02f98d04da806ee35838c5c6d5a7b13b1 authored over 6 years ago by William Espindola <[email protected]>Suggest friendsofphp/php-cs-fixer instead of fabpot/php-cs-fixer which is no longer maintained.
fca464615e4a837a7c211b78530d4828cbe86236 authored over 6 years ago by Mecit <[email protected]>Signed-off-by: Paul Karikari <[email protected]>
97e94cafccf9d028bf8b3017b70573090c8f94f4 authored over 6 years ago by paul karikari <[email protected]>
Also makes the rule case-sensitive since that is how ISO 4217
shows the currency codes.
Co-auth...
a463f8ab2d0c2a169ee97b9324b5df95ea87c49a authored over 6 years ago by William Espindola <[email protected]>Signed-off-by: Emmerson Siqueira <[email protected]>
6124176c892109c2c637d96ae12ded5cbb21206d authored over 6 years ago by Emmerson Siqueira <[email protected]>Also add integration test for TrueVal rule.
Signed-off-by: Paul Karikari <[email protected]>
8aa6426ab1c834ea7a97fa5a81260ecda3715f39 authored over 6 years ago by paul karikari <[email protected]>Also check if input is scalar before validation.
Signed-off-by: Paul Karikari <paulkarikari1@gm...
8573d5f0646efc8616110a9f4cfa9ef72abc3800 authored over 6 years ago by paul karikari <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
8bd7428fe1621fe1c7933250647dea8e2fed4288 authored over 6 years ago by William Espindola <[email protected]>Also add integration test for Type rule.
Signed-off-by: Paul Karikari <[email protected]>...
5a326b6c976451fc56de5107516afe1fb47b3dbf authored over 6 years ago by paul karikari <[email protected]>
The "AbstractSearcher" already does most of the job that "CountryCode"
was doing, so using it as...
527553ce9991244fc82c188fc06706636b43b190 authored over 6 years ago by William Espindola <[email protected]>
Some codes in the documentation were not code that actually works which
can lead to some confusi...
Also change the constructor of the rule to accept charsets as arguments
instead of being either ...
Co-Authored-By: Henrique Moody <[email protected]>
b507d928c10c528a5087dd6f513f624b3854667c authored over 6 years ago by William Espindola <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
9b4c4ddb4bf2ee418ae667a1b27e541cbaaabda6 authored over 6 years ago by William Espindola <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
12555325013b6c12a17680b3248a885c8adf6da9 authored over 6 years ago by Henrique Moody <[email protected]>Also fix a type in the exception message of the "Url" rule.
Signed-off-by: Henrique Moody <henr...
8c41838abe82ca7996e0df83f76e0c174c13b810 authored over 6 years ago by Henrique Moody <[email protected]>99466513b2eb50af96ff0c14e35170d03d06db75 authored over 6 years ago by William Espindola <[email protected]>
Co-Authored-By: Henrique Moody <[email protected]>
68b3f207f872d72908401202a79849b34257c1e1 authored over 6 years ago by William Espindola <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
0010ffffb5cde1b78e9d40978445a02e0622958a authored over 6 years ago by William Espindola <[email protected]>Also create a default template for the BaseException.
Co-Authored-By: Henrique Moody <henriquem...
f817655a82fd2107b126d45f34bd7f50920aff2f authored over 6 years ago by William Espindola <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
6e26ba8837154898fd44ee5fffbc4c3fe9aab27f authored over 6 years ago by Ismael Elias <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
1e89dc26eaac9f953c112faf61717665ddbf2e30 authored over 6 years ago by Danilo Benevides <[email protected]>
Co-Authored-By: Henrique Moody <[email protected]>
Signed-of-by: Paul Karikari <paulkarika...
35a43cdb5f1ff7d6e28cd3552bf16d39b469343f authored over 6 years ago by Henrique Moody <[email protected]>
https://icannwiki.org/.studio
700e23777ff6954babf55eed72a286792f594648 authored over 6 years ago by Radoslaw Wesolowski <[email protected]>Also does not allow validation of non-numeric values.
Co-Authored-By: Henrique Moody <henriquem...
c2f6876e4fd79fc639c8d0454b54592f648302ea authored over 6 years ago by Ismael Elias <[email protected]>Also does not allow validation of non-numeric values.
Co-Authored-By: Henrique Moody <henriquem...
5fc04558d6a3b428399785ccebd2ecbbe1b64721 authored over 6 years ago by Danilo Benevides <[email protected]>Also does not allow validation of non-numeric values.
Co-Authored-By: Henrique Moody <henriquem...
72933a718f6c0ca073e3221cb4a9403243809462 authored over 6 years ago by Ismael Elias <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
c422dc39e4a4dd0f256f231374ce94cae3e3b319 authored over 6 years ago by Danilo Benevides <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
b29bdbd111d92cfbda5c915abe863129f2237d4b authored over 6 years ago by Danilo Benevides <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
36be04c5206ebc2323f51f0a30c8efc19e2c9256 authored over 6 years ago by William Espindola <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
49131c87a766620b8f4fd667367564e5a6105067 authored over 6 years ago by William Espindola <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
b6e3fc6ac084b8fbc8a01b9b66db7fe7a0a0236f authored over 6 years ago by William Espindola <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
8f47cc37d637a3e73eb66cd793ed3187d624c2e9 authored over 6 years ago by William Espindola <[email protected]>Co-Authored-By: Henrique Moody <[email protected]>
4976fbaf48cf135bee5aa28312b81149041ba8b9 authored over 6 years ago by William Espindola <[email protected]>Also make sure that "Uppercase" only accepts strings.
Co-Authored-By: Henrique Moody <henriquem...
d1932b2e7fd1a195fb5d7180d8c5b74e7dd5fcb7 authored over 6 years ago by Danilo Benevides <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
df9ae14100c5e13a49e0f6e0ec93bd0a65851f93 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
2dc8e72844f12ecd9170600781292e07d2bee7e4 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
0e52f94c3472253116c0d27e39e164caac136924 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Emmerson Siqueira <[email protected]>
fa222e04c4cb5760dbdc0930de0c5f398ce87f05 authored over 6 years ago by Emmerson Siqueira <[email protected]>
Since the rule "GreaterThan" was created, there is no reason to allow
"Min" to not be inclusive....
Those rules were renamed to keep consistent with other rules such as
'Max' and 'Min'.
Signed-of...
9eb159f3d96aaa87652110a968a6b2b057e195fe authored over 6 years ago by Emmerson Siqueira <[email protected]>
This changes the rule name in order to be more descriptive and explicit
(avoid abbreviation). It...
Since the rule "LessThan" was created, there is no reason to allow "Max"
to not be inclusive.
A...
6351f7a0924fb4ae18aa7150ad7acf3d26a0dbbb authored over 6 years ago by Henrique Moody <[email protected]>
Generally speaking it makes more sense to have it always inclusive. Even
though the word "betwee...
Signed-off-by: Henrique Moody <[email protected]>
9b20d6dae24a9a4e7c2df1e0cbacf28ab0c79c8b authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
9d0d750a181937b3364e23347506e4ae9d2a0bb9 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Emmerson Siqueira <[email protected]>
0a031649a871ff89f6dcf55aa004e53070e2e414 authored over 6 years ago by Emmerson Siqueira <[email protected]>
Also add an extra validation to the rule, not allowing non-integers to
be considered as even num...
Signed-off-by: Henrique Moody <[email protected]>
3d2136e2adcaa85e45499235364b70e15b9ad5c7 authored over 6 years ago by Henrique Moody <[email protected]>
This method change the behavior of "getMessages()" by changin the keys
of its return to the "id"...
Signed-off-by: Henrique Moody <[email protected]>
c26db7287fe0989c117fb04b41b578bd2d58fff1 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
d7ebb8c1a71b2572c30082198101a8533f4baef1 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
167c97bb8306e5dfde644ee9fa0d5c3bc966d8ab authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
5d0ecabfdc60c7becb798f28f9fd9d399775b976 authored over 6 years ago by Henrique Moody <[email protected]>64ec329663af8d26693e8ca68695bc03a8039594 authored over 6 years ago by Henrique Moody <[email protected]>
Signed-off-by: Henrique Moody <[email protected]>
9c814983958e0cd7d8e8d7587c52fc7e990c7802 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
d85668c359b558332a56ad6d240c4f992fea8391 authored over 6 years ago by Henrique Moody <[email protected]>
The "MinimumAge" exception should use the "{{ name }}" placeholder
instead of the "{{ input }}" ...
Signed-off-by: Henrique Moody <[email protected]>
0e81792ec86a918df5f2b6b1aff5be4907930e14 authored over 6 years ago by Henrique Moody <[email protected]>
Make the ValidationException a little bit less mutable than before. All
its dependencies are now...
If after executing php-cs-fixer any file must be changed the build
should not pass.
Signed-off-...
f7a4180541dac4eaa7e426eaa3e16173527dda46 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
bc472a6f0ea6df5afcc1457820977eba4f889b13 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
e203f8aec5e5617261d23f2794b4cdc0f2daf146 authored over 6 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
34d42a0d708ced371f42508efe2fa06d02dacd12 authored over 6 years ago by Henrique Moody <[email protected]>47eaea6f28e7b934ca1b5f46f0c0daee7931d1ab authored over 6 years ago by Henrique Moody <[email protected]>
The "@param" tag uses phpdoc types. However the "@method" tag uses PHP's
type declarations. Ther...
4c996258a1cb96b624b1b95d82e47bc536728a39 authored over 6 years ago by Tim Bond <[email protected]>
df985765a6c33029954b35e2368a40dfdbeea683 authored over 6 years ago by MacFJA <[email protected]>
This reverts commit eb2621fafe8c751eccf01f0120b28776410e6201.
cb4fb83b3e7dfd01295591961e5cc996a12f1f73 authored over 6 years ago by Henrique Moody <[email protected]>This reverts commit 62e1170a212e31c0b3855b003303dd7a4f4bce9f.
5c598cdce2d249ab0e60ee090dbdea61b928e9c4 authored over 6 years ago by Henrique Moody <[email protected]>This reverts commit 4357349ff05ed480114417b6f9b2a3393ce0cc0e.
c6b6a4c425bf70ffcc8194c42d84afa5e2cd8af9 authored over 6 years ago by Henrique Moody <[email protected]>7b5a2928ff263723c7e65517e643932bad1e5655 authored over 6 years ago by Bram Van der Sype <[email protected]>
Clarify more complex array validation with an example in the
documentation.
Fixed concrete and builder api documentation
4357349ff05ed480114417b6f9b2a3393ce0cc0e authored over 6 years ago by Nick Lombard <[email protected]>Added link issues filtered by label support
62e1170a212e31c0b3855b003303dd7a4f4bce9f authored over 6 years ago by Nick Lombard <[email protected]>Transferred documentation from issue #90 Dynamic chaining
eb2621fafe8c751eccf01f0120b28776410e6201 authored over 6 years ago by Nick Lombard <[email protected]>Signed-off-by: Emmerson Siqueira <[email protected]>
2bcc164b35d067e57e0f4f6d548cbe2b8d4663bc authored almost 7 years ago by Emmerson Siqueira <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
bfdea5b5bd7a205cec8fb8be22efd2165a13bc83 authored almost 7 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
ad9cab5daf0f4e97ec33bc64ab079f85dfd52628 authored almost 7 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
435187298ab6d965a0cb66870db56cbd5e14fdb4 authored almost 7 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
ec8cb734b3abcf834412f489f8758244bad71f9d authored almost 7 years ago by Henrique Moody <[email protected]>Signed-off-by: Henrique Moody <[email protected]>
84651800628e52dc6043772c0c88dce2c171e053 authored almost 7 years ago by Henrique Moody <[email protected]>8ad7b208c25166e5e1300fe8bf935dc154375c91 authored almost 7 years ago by Henrique Moody <[email protected]>
The "Between" rule is composed by two rules: "Min" and "Max". However it
has its specific except...
This abstract class is very similar to "AbstractWrapper" the difference
is that "AbstractWapper"...
Before this change every create rule must have an exception. This commit
allows to create rules ...
ad61c49eca1c7889ed4371c71ab2858dedf7c6ca authored almost 7 years ago by Emmerson Siqueira <[email protected]>
Signed-off-by: Henrique Moody <[email protected]>
Co-authored-by: Emmerson Siqueira <emmer...
Signed-off-by: Henrique Moody <[email protected]>
Co-authored-by: Emmerson Siqueira <emmer...
The fapbot version is abandoned accord to packagist and suggests the
friendsofphp version.
a796d9e981dd49a1bf8afd941043afec5c1be72b authored almost 7 years ago by Henrique Moody <[email protected]>
Do not extend AllOf exception, but instead extend "AbstractWrapper".
b696070874a69eae42a564e6a5c7c9583b32aeb7 authored almost 7 years ago by Henrique Moody <[email protected]>
The "Between" rule was extending the "AllOf" rule and adding "Max" and
"Min" rules to the chain....
The "Age" rule was removed because it had too many responsibilities.
Instead "MaximumAge" was cr...
51ce465b8cc5eaa739104bb959f315b41b3d8c83 authored almost 7 years ago by Jens Segers <[email protected]>
These are the changes after running the last version of PHP-CS-Fixer.
92a8ab13cf6bef1dde3a79ea58819768438a73c7 authored almost 7 years ago by Henrique Moody <[email protected]>
This commit also makes some changes in how the `DateTime` rule behaves,
by not accepting `DateTi...