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
2007c7dc6e50e6e3eae3843c8c5f43d7573e4cbb authored almost 7 years ago by Henrique Moody <[email protected]>
0db1cd6e1be4957e3e458792ffeaab38f93ff4d4 authored almost 7 years ago by Henrique Moody <[email protected]>
One this method should throw an exception when the input is not valid,
returning `TRUE` when it ...
One this method should throw an exception when the input is not valid,
returning `TRUE` when it ...
ccf60f0ee3bb77153194e38d0a53684c89564c7a authored almost 7 years ago by Henrique Moody <[email protected]>
This commit also creates `AbstractLocaleWrapper` to help creating
locale-based rules.
550795c1e2148608e2cb559a9ef7ba9457dc4ea3 authored almost 7 years ago by Henrique Moody <[email protected]>
8a09799e7e666891659957a38f98c5be23f259ef authored almost 7 years ago by Henrique Moody <[email protected]>
Refactor `AbstractSearcher` class and its children. Also most of the
unnecessary logic that was ...
In order to remove some code duplication and make this validation
reusable that the trait `Undef...
2a2bb6dd766c4801c19beb272985c936f8a3b0b4 authored almost 7 years ago by Henrique Moody <[email protected]>
02b51782c3d6a4ac834f2c0f78dd75d8666c3c85 authored almost 7 years ago by Henrique Moody <[email protected]>
With this code the Factory class will be used also to create Exceptions.
In order to do that, t...
1f217dda66feafac60e86351c6d808cd97f265b2 authored almost 7 years ago by Henrique Moody <[email protected]>2417080c4eedffa4625a9fcee19d893b9067d615 authored almost 7 years ago by Henrique Moody <[email protected]>
a0cfd94d51c2d245205ff26a9a587541e8b1faa9 authored about 7 years ago by Henrique Moody <[email protected]>
- Add documentation to the class and its methods;
- Move RuleTestCase to Test namespace;
- Use P...
Due to this change it was possible to identify that NotEmptyException,
and NotOptionalException ...
Because of `declare(strict_types=1)` some changes were necessary.
ef975629f3aacf847cb2daf6d4268a0c75fc6a53 authored about 7 years ago by Henrique Moody <[email protected]>0bb9b146587fc2528118a1135a38af33488aebe1 authored about 7 years ago by Henrique Moody <[email protected]>
b10206bd28ddbf74b3f6bd81959ab4ff2276780e authored about 7 years ago by Henrique Moody <[email protected]>
ee9e69776a8e875ac1b5b00d8cf2d2c801c42181 authored about 7 years ago by Henrique Moody <[email protected]>
Domains can have `--` as long as they don't start or end with `-` in its
parts.
When executing `ValidationException::setTemplate()` using a template
key, it does not try to sel...
And was that, without warning that the "malkusch/bav" package was
removed from Packagist. This c...
The assertion methods are all static, therefore they should be called
with self::assert* instead...
93ce9cb93ae1fb07c19ffb3d047ddce10f3f47d7 authored about 7 years ago by Gabriel Caruso <[email protected]>
5b7ea399c06a09a2d131a05d31053e0a2f5372dc authored about 7 years ago by Henrique Moody <[email protected]>
This packages is not maintained anymore, therefore it should be removed
from our codebase.
Once it's not fully stable yet.
b4dbd89f45d72c7f8186ad9479f7461ae00d7e13 authored about 7 years ago by Henrique Moody <[email protected]>20979898c529206226de3c692f06bf07c66f6048 authored about 7 years ago by Henrique Moody <[email protected]>
22f1f14430155c21c1d6ba271a652f28c5057851 authored about 7 years ago by Henrique Moody <[email protected]>
- Only allow spaces and not "\t" or "\n";
- Once the number has a "(", it needs a ")".
Now regex also matches +1 (555) 555 5555
191ee47fc04da762942b6d0c173f713ba851c894 authored about 7 years ago by RCooLeR <[email protected]>8b3790103e67524e8db23032e217ed5ba831f956 authored about 7 years ago by mazanax <[email protected]>
5f505410867f8620d1072e8e30b76ded6c181ee7 authored about 7 years ago by Henrique Moody <[email protected]>
fd1964d887ca7e9b02036512e1f6f760004ba2b5 authored about 7 years ago by Henrique Moody <[email protected]>
631affdbf2762c6d207921e18ab740d7eb5f7399 authored about 7 years ago by Henrique Moody <[email protected]>
658764a47f40fc229dfd9afe8a171eec8e1d50a3 authored about 7 years ago by Henrique Moody <[email protected]>
References:
- https://en.wikipedia.org/wiki/ISO_4217
- http://www.xe.com/iso4217.php
a17e5e74bc3a24afea9fb6d41e1383270e595c3f authored about 7 years ago by Lars Decker <[email protected]>
b237f9f787c0f7a2223588535c4b2968a0079937 authored about 7 years ago by Kan Yilmaz <[email protected]>
7d42813fb7eae222e60cb301704c6231febb25f7 authored about 7 years ago by Jens Segers <[email protected]>
327297ca6f9eba00a17f79b8d2d0335cf663a920 authored about 7 years ago by Dick van der Heiden <[email protected]>
d65e7130800f21ef9662752593748a54e5bbf164 authored about 7 years ago by Ian <[email protected]>
New rule: Sorted
ad123b1bf43acb854f0278d9a6d2e226bf30758f authored over 7 years ago by Nick Lombard <[email protected]>41658279e89d380461863acc2bfaf4796f7d3d4c authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
c50c27eecb84f99372b9af019e6df8573b286dbf authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
19174a8cb17ba0cdb08b2902c62555e0dffa0bad authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
017f78e89e74a5377792aa12e98b912d14f06b22 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
ac3f9c8d78978e928d9c26d28fb8a97731e357a6 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
53d4182b18eb358f6cbda1df4b4f1e99298dc225 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
9c89018c22bfe54895b7d41835d54a15cbce4229 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
115ec0cd66dd5c5d12d5fd7a38f0bcc5cbe93716 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
ce3597bce5e6e23b8cbf828db41c42a3eeb61432 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
8d8735cdd078e0e57eeb6ca13aefd7a05714f959 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
90f4073e1ad0af589cb5c5acc9a97f3d09fab87b authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
52c8541b9eb7222df7b366bf71c4b5b88408eed2 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
Also change rules to use `DateTimeInterface` and `DateTimeImmutable`
when possible.
14d87da7d8c5826e04a111ea4960adab20c90efc authored over 7 years ago by Henrique Moody <[email protected]>
82f53d27e1bb26e45fc9d3913ac99e89ea864c4f authored over 7 years ago by Vitaliy <[email protected]>
006354d48f1e330dfa8fa703cef3282a5a2f4323 authored over 7 years ago by yoshihiro suzuki <[email protected]>
04e8b729087cb3830d5bc84e882efc516ec79000 authored over 7 years ago by Krzysztof Śmiałek <[email protected]>
4549938e30316b934141be83021a3fd53b1965a9 authored over 7 years ago by Henrique Moody <[email protected]>
b2faf8332b264c0422d28908cb5831b57b746cb2 authored over 7 years ago by Senén <[email protected]>
2f7a479b58be9614414baf90c85e92c1efef26c3 authored over 7 years ago by Henrique Moody <[email protected]>
599d200c2e03f7c825c88573b2740538583164f3 authored almost 8 years ago by Henrique Moody <[email protected]>
2dbc2065f89efe0830a99c100a5d80018af88ecb authored almost 8 years ago by Henrique Moody <[email protected]>
299a3b6f860e10959be036318ec9ba3ec9f2bc08 authored almost 8 years ago by Henrique Moody <[email protected]>
Also remove duplication of supported PHP version.
9350d464cec1015403253bca8389c1f275b8a213 authored almost 8 years ago by Henrique Moody <[email protected]>
Also:
- Create documentation for `Base` rule;
- Increase number of rules
569506bc144c21102c0a58f277e58cca1c698985 authored almost 8 years ago by Henrique Moody <[email protected]>
Rules are not always used from the alias `v`, neither called staticaly.
2a2e1d577e6cfb2ec7e1e2a2a14feb3218c88920 authored almost 8 years ago by Henrique Moody <[email protected]>298102ba138979594c735f05d4944a763a1f52c4 authored almost 8 years ago by Jonathan Stewmon <[email protected]>
a0ba215524bd7743e4380f187853294af8a373d7 authored almost 8 years ago by Bruno Koga <[email protected]>
`NestedValidationException` should include all `AbstractRelated` rule
exceptions.
`AbstractRela...
8851fb5abc8d216f54ff5ebef88832eba16f2e3e authored almost 8 years ago by Jonathan Stewmon <[email protected]>88e60b6a3a78ab80f535cbc1d4995b3ea0248e9b authored almost 8 years ago by Henrique Moody <[email protected]>
2b8c560db4887948a4a423a0f183005f48971e05 authored almost 8 years ago by Henrique Moody <[email protected]>
5ab87d1dd932872f6670136a513f72ff9ea41c67 authored almost 8 years ago by Henrique Moody <[email protected]>
dc869ac3757af7de801f1c7dbe16c6493d537a9e authored almost 8 years ago by Henrique Moody <[email protected]>
667f0fe98942e97d67018376ef063226bc69e594 authored almost 8 years ago by Henrique Moody <[email protected]>
Update exception message when minimum value and maximum value are the
same.
d14a87c6c7ea0dc37933519bc54c5aaffd11599a authored almost 8 years ago by Henrique Moody <[email protected]>
bb5ad2d988927e044ab01582e23d5fb3f8024181 authored almost 8 years ago by Bogus <[email protected]>
3bccf23673d11cca93513ca340a4505e82fba65e authored almost 8 years ago by Henrique Moody <[email protected]>
86623fc3ca971592883ce2d3d738ae188a9fcce1 authored almost 8 years ago by Henrique Moody <[email protected]>
d48b55a092bc246330852de107d26fcee717f609 authored almost 8 years ago by Bradyn Poulsen <[email protected]>
7ee4ae47d5524788724ff2a31a204758d0902383 authored almost 8 years ago by Henrique Moody <[email protected]>
27d35987bedf646718add541fa8e19271203d836 authored almost 8 years ago by Henrique Moody <[email protected]>
d67394cd396d8bf7876893b62ce589de1b6d7647 authored almost 8 years ago by Henrique Moody <[email protected]>
d9fe23bebc01f9eec472026e57001a7ef2c007b7 authored almost 8 years ago by Henrique Moody <[email protected]>
25bffa00e25eb57a30920849588b4227eb254266 authored almost 8 years ago by Henrique Moody <[email protected]>
03f4abbd08149fb1b803a6a7d767dd3f925ce1d1 authored almost 8 years ago by Henrique Moody <[email protected]>
Updated provinces of Cuba according to the change of 2011
8eb95c2b04fc3c30d19fdc59ca84e81795c9c9a3 authored almost 8 years ago by Yosmany Garcia <[email protected]>fa61315079c7634d52109d4cd6ef67609f7f674c authored almost 8 years ago by Michał Prochowski <[email protected]>
e4ae02fe94d36b06ee42c718df3f0363f0342b1a authored almost 8 years ago by Renato Moura <[email protected]>
Updated provinces of Cuba according to the change of 2011
32414451b0dd6dd96fb5558819c5e61b8a7a38f2 authored almost 8 years ago by Yosmany Garcia <[email protected]>eaa09abb806281384aeeae1ef713a4588f319f29 authored almost 8 years ago by Diego Oliveira <[email protected]>
c9b78789a7c641d6c0aba23d15b98f094121437f authored almost 8 years ago by Bartłomiej Krukowski <[email protected]>
8261a071493359eb5579aa0d9bea5a2b81770904 authored about 8 years ago by Henrique Moody <[email protected]>
Fixed typo on Exception types section.
527b1882dd943d9157f43e246dedd8f48d124c6a authored about 8 years ago by Pedro Manjarrez <[email protected]>