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

Create "Time" rule

2007c7dc6e50e6e3eae3843c8c5f43d7573e4cbb authored almost 7 years ago by Henrique Moody <[email protected]>
Create "Date" rule

0db1cd6e1be4957e3e458792ffeaab38f93ff4d4 authored almost 7 years ago by Henrique Moody <[email protected]>
Method `check()` should not have a return value

One this method should throw an exception when the input is not valid,
returning `TRUE` when it ...

30dc089565b15a1fcbf24f6b70f2104ee0eea1ea authored almost 7 years ago by Henrique Moody <[email protected]>
Method `assert()` should not have a return value

One this method should throw an exception when the input is not valid,
returning `TRUE` when it ...

c80524b4574b780d71b1c348417f0094aad8b64a authored almost 7 years ago by Henrique Moody <[email protected]>
Method `validate()` should always return a boolean

ccf60f0ee3bb77153194e38d0a53684c89564c7a authored almost 7 years ago by Henrique Moody <[email protected]>
Refactor "AbstractWrapper" class

This commit also creates `AbstractLocaleWrapper` to help creating
locale-based rules.

aa7d84c3ea4a27db3935a9d709139317b3b59f50 authored almost 7 years ago by Henrique Moody <[email protected]>
Move namespace "SubdivisionCode" to "Locale"

550795c1e2148608e2cb559a9ef7ba9457dc4ea3 authored almost 7 years ago by Henrique Moody <[email protected]>
Also read private properties of parent classes

8a09799e7e666891659957a38f98c5be23f259ef authored almost 7 years ago by Henrique Moody <[email protected]>
Apply contribution guidelines to "AbstractSearcher"

Refactor `AbstractSearcher` class and its children. Also most of the
unnecessary logic that was ...

9bad0667657392624bacca97072f13f4691ac3dd authored almost 7 years ago by Henrique Moody <[email protected]>
Create UndefinedHelper trait

In order to remove some code duplication and make this validation
reusable that the trait `Undef...

c33bcce239c64dd738acc06124b063302011074f authored almost 7 years ago by Henrique Moody <[email protected]>
Apply contribution guidelines to "Identical" rule

2a2bb6dd766c4801c19beb272985c936f8a3b0b4 authored almost 7 years ago by Henrique Moody <[email protected]>
Apply contribution guidelines to "Equals" rule

02b51782c3d6a4ac834f2c0f78dd75d8666c3c85 authored almost 7 years ago by Henrique Moody <[email protected]>
Refactor Factory class

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]>
Migrate to new PHP Analysis

2417080c4eedffa4625a9fcee19d893b9067d615 authored almost 7 years ago by Henrique Moody <[email protected]>
Update contribution guidelines

a0cfd94d51c2d245205ff26a9a587541e8b1faa9 authored about 7 years ago by Henrique Moody <[email protected]>
Improve RuleTestCase class

- Add documentation to the class and its methods;
- Move RuleTestCase to Test namespace;
- Use P...

fe3654b27018d835e05872a183a99fb1151aac92 authored about 7 years ago by Henrique Moody <[email protected]>
Add "respect/stringifier" as dependency

Due to this change it was possible to identify that NotEmptyException,
and NotOptionalException ...

2d7e2ea48ff427c69219d2c2568e75c32c596431 authored about 7 years ago by Henrique Moody <[email protected]>
Changes on PHP-CS-Fixer configuration

Because of `declare(strict_types=1)` some changes were necessary.

ef975629f3aacf847cb2daf6d4268a0c75fc6a53 authored about 7 years ago by Henrique Moody <[email protected]>
Drop support for PHP 7.0

0bb9b146587fc2528118a1135a38af33488aebe1 authored about 7 years ago by Henrique Moody <[email protected]>
Merge branch '1.1'

b10206bd28ddbf74b3f6bd81959ab4ff2276780e authored about 7 years ago by Henrique Moody <[email protected]>
Merge branch '1.0' into 1.1

ee9e69776a8e875ac1b5b00d8cf2d2c801c42181 authored about 7 years ago by Henrique Moody <[email protected]>
Change conditions for Domain validation

Domains can have `--` as long as they don't start or end with `-` in its
parts.

c931e2504b63d8c6431c105a7f4af4eed91b51f9 authored about 7 years ago by Henrique Moody <[email protected]>
Try to find template from default templates first

When executing `ValidationException::setTemplate()` using a template
key, it does not try to sel...

37a71de7d091273b51043ae05b3b8b856852f9fb authored about 7 years ago by Henrique Moody <[email protected]>
Remove "malkusch/bav" as dependency

And was that, without warning that the "malkusch/bav" package was
removed from Packagist. This c...

d072b4de6ab00cbfdd96011746146a109f502bb2 authored about 7 years ago by Henrique Moody <[email protected]>
Fix wrong call to PHPUnit assertions

The assertion methods are all static, therefore they should be called
with self::assert* instead...

fa030637cc38c252362e343289465e9e2bd1038d authored about 7 years ago by Henrique Moody <[email protected]>
Updated to PHPUnit 6

93ce9cb93ae1fb07c19ffb3d047ddce10f3f47d7 authored about 7 years ago by Gabriel Caruso <[email protected]>
Fix coding standards

5b7ea399c06a09a2d131a05d31053e0a2f5372dc authored about 7 years ago by Henrique Moody <[email protected]>
Remove "malkusch/bav" as a dependency

This packages is not maintained anymore, therefore it should be removed
from our codebase.

d8e5f305a7bca4ed7c7e7ff56f9e7fccf3f43e80 authored about 7 years ago by Henrique Moody <[email protected]>
Allow failures on PHP 7.2

Once it's not fully stable yet.

b4dbd89f45d72c7f8186ad9479f7461ae00d7e13 authored about 7 years ago by Henrique Moody <[email protected]>
Merge branch '1.1'

20979898c529206226de3c692f06bf07c66f6048 authored about 7 years ago by Henrique Moody <[email protected]>
Merge branch '1.0' into 1.1

22f1f14430155c21c1d6ba271a652f28c5057851 authored about 7 years ago by Henrique Moody <[email protected]>
Improve "Phone" rule

- Only allow spaces and not "\t" or "\n";
- Once the number has a "(", it needs a ")".

14572537fec29b8598a79539d05a8ca23b9beaa2 authored about 7 years ago by Henrique Moody <[email protected]>
Update regex of "Phone" rule

Now regex also matches +1 (555) 555 5555

191ee47fc04da762942b6d0c173f713ba851c894 authored about 7 years ago by RCooLeR <[email protected]>
Create "Luhn" rule

8b3790103e67524e8db23032e217ed5ba831f956 authored about 7 years ago by mazanax <[email protected]>
Add PHP 7.2 to Travis builds

5f505410867f8620d1072e8e30b76ded6c181ee7 authored about 7 years ago by Henrique Moody <[email protected]>
Merge branch '1.1'

fd1964d887ca7e9b02036512e1f6f760004ba2b5 authored about 7 years ago by Henrique Moody <[email protected]>
Merge branch '1.0' into 1.1

631affdbf2762c6d207921e18ab740d7eb5f7399 authored about 7 years ago by Henrique Moody <[email protected]>
Skip MimetypeTest when in HHVM

658764a47f40fc229dfd9afe8a171eec8e1d50a3 authored about 7 years ago by Henrique Moody <[email protected]>
Fix currency code for Belarusian Ruble

References:
- https://en.wikipedia.org/wiki/ISO_4217
- http://www.xe.com/iso4217.php

c013fac277e94b816163146b459d9a63c56eb499 authored about 7 years ago by Tim Strijdhorst <[email protected]>
Add missing "MinimumAge" parameter

a17e5e74bc3a24afea9fb6d41e1383270e595c3f authored about 7 years ago by Lars Decker <[email protected]>
Fix typo on "When.md"

b237f9f787c0f7a2223588535c4b2968a0079937 authored about 7 years ago by Kan Yilmaz <[email protected]>
Create "Base64" rule

7d42813fb7eae222e60cb301704c6231febb25f7 authored about 7 years ago by Jens Segers <[email protected]>
Create "Uuid" rule

327297ca6f9eba00a17f79b8d2d0335cf663a920 authored about 7 years ago by Dick van der Heiden <[email protected]>
Improve grammar of "Equals" rule

d65e7130800f21ef9662752593748a54e5bbf164 authored about 7 years ago by Ian <[email protected]>
Merge pull request #836 from Reeywhaar/sorted-rule

New rule: Sorted

ad123b1bf43acb854f0278d9a6d2e226bf30758f authored over 7 years ago by Nick Lombard <[email protected]>
Codestyle fixed according to @nickl-

41658279e89d380461863acc2bfaf4796f7d3d4c authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
Removed unwanted semicolon

c50c27eecb84f99372b9af019e6df8573b286dbf authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
Fix codestyle according to @nickl-

19174a8cb17ba0cdb08b2902c62555e0dffa0bad authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
Fix scrutinizer warning

017f78e89e74a5377792aa12e98b912d14f06b22 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
Removed $cmp variable, creds to @nickl-

ac3f9c8d78978e928d9c26d28fb8a97731e357a6 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
uhm, well, it was actually fine

53d4182b18eb358f6cbda1df4b4f1e99298dc225 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
all that before was wrong >_< >_<

9c89018c22bfe54895b7d41835d54a15cbce4229 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
fix fix assertion when neighbour values are equal >_<

115ec0cd66dd5c5d12d5fd7a38f0bcc5cbe93716 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
fix assertion when neighbour values are equal

ce3597bce5e6e23b8cbf828db41c42a3eeb61432 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
fix indentation >_<

8d8735cdd078e0e57eeb6ca13aefd7a05714f959 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
fix docs

90f4073e1ad0af589cb5c5acc9a97f3d09fab87b authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
New rule: Sorted

52c8541b9eb7222df7b366bf71c4b5b88408eed2 authored over 7 years ago by Mikhail Vyrtsev <[email protected]>
Rename rule "Date" to "DateTime"

Also change rules to use `DateTimeInterface` and `DateTimeImmutable`
when possible.

0338e18e83991d65f3c173b95a398f1a2356b4ee authored over 7 years ago by Henrique Moody <[email protected]>
Fix minor code standards

14d87da7d8c5826e04a111ea4960adab20c90efc authored over 7 years ago by Henrique Moody <[email protected]>
Create "Number" rule

82f53d27e1bb26e45fc9d3913ac99e89ea864c4f authored over 7 years ago by Vitaliy <[email protected]>
Fix wrong link to "StringType"

006354d48f1e330dfa8fa703cef3282a5a2f4323 authored over 7 years ago by yoshihiro suzuki <[email protected]>
Create "Unique" rule

04e8b729087cb3830d5bc84e882efc516ec79000 authored over 7 years ago by Krzysztof Śmiałek <[email protected]>
Update subdivision codes

4549938e30316b934141be83021a3fd53b1965a9 authored over 7 years ago by Henrique Moody <[email protected]>
Fix Nif Validator

b2faf8332b264c0422d28908cb5831b57b746cb2 authored over 7 years ago by Senén <[email protected]>
Add "ext-fileinfo" as suggestion

2f7a479b58be9614414baf90c85e92c1efef26c3 authored over 7 years ago by Henrique Moody <[email protected]>
Uniform Markdown lists on documentation

599d200c2e03f7c825c88573b2740538583164f3 authored almost 8 years ago by Henrique Moody <[email protected]>
Update "Alphabetically" list of validators

2dbc2065f89efe0830a99c100a5d80018af88ecb authored almost 8 years ago by Henrique Moody <[email protected]>
Add "Pis" to the list of validators

299a3b6f860e10959be036318ec9ba3ec9f2bc08 authored almost 8 years ago by Henrique Moody <[email protected]>
Update "Installation" document

Also remove duplication of supported PHP version.

9350d464cec1015403253bca8389c1f275b8a213 authored almost 8 years ago by Henrique Moody <[email protected]>
Add changelog to rules' documentation

Also:
- Create documentation for `Base` rule;
- Increase number of rules

00d300f7629f6f770a7f0284812974fcf34e73fe authored almost 8 years ago by Henrique Moody <[email protected]>
Fix wrong docblock on Validator class

569506bc144c21102c0a58f277e58cca1c698985 authored almost 8 years ago by Henrique Moody <[email protected]>
Change how documentation of rules are presented

Rules are not always used from the alias `v`, neither called staticaly.

2a2e1d577e6cfb2ec7e1e2a2a14feb3218c88920 authored almost 8 years ago by Henrique Moody <[email protected]>
Use annotations for variadic methods

298102ba138979594c735f05d4944a763a1f52c4 authored almost 8 years ago by Jonathan Stewmon <[email protected]>
Create "Pis" rule

a0ba215524bd7743e4380f187853294af8a373d7 authored almost 8 years ago by Bruno Koga <[email protected]>
Always display message for `AbstractRelated` rule

`NestedValidationException` should include all `AbstractRelated` rule
exceptions.

`AbstractRela...

8851fb5abc8d216f54ff5ebef88832eba16f2e3e authored almost 8 years ago by Jonathan Stewmon <[email protected]>
Fix coding standard on PHPT file

88e60b6a3a78ab80f535cbc1d4995b3ea0248e9b authored almost 8 years ago by Henrique Moody <[email protected]>
Merge branch '1.1'

2b8c560db4887948a4a423a0f183005f48971e05 authored almost 8 years ago by Henrique Moody <[email protected]>
Merge branch '1.0' into 1.1

5ab87d1dd932872f6670136a513f72ff9ea41c67 authored almost 8 years ago by Henrique Moody <[email protected]>
Only return "name" as is if it's a string

dc869ac3757af7de801f1c7dbe16c6493d537a9e authored almost 8 years ago by Henrique Moody <[email protected]>
Update documentation about supported PHP version

667f0fe98942e97d67018376ef063226bc69e594 authored almost 8 years ago by Henrique Moody <[email protected]>
Better message for Length rule

Update exception message when minimum value and maximum value are the
same.

b43c9b103b1bad28af0113413260d5c825e00bad authored almost 8 years ago by Henrique Moody <[email protected]>
Create ".gitattributes" file

d14a87c6c7ea0dc37933519bc54c5aaffd11599a authored almost 8 years ago by Henrique Moody <[email protected]>
Replaced TLDs with current list from IANA

bb5ad2d988927e044ab01582e23d5fb3f8024181 authored almost 8 years ago by Bogus <[email protected]>
Fix code standards on callback

3bccf23673d11cca93513ca340a4505e82fba65e authored almost 8 years ago by Henrique Moody <[email protected]>
SimpleXMLElement can also be used as an array

86623fc3ca971592883ce2d3d738ae188a9fcce1 authored almost 8 years ago by Henrique Moody <[email protected]>
Create "OneOf" rule

d48b55a092bc246330852de107d26fcee717f609 authored almost 8 years ago by Bradyn Poulsen <[email protected]>
Rename "OneOf" to "AnyOf"

7ee4ae47d5524788724ff2a31a204758d0902383 authored almost 8 years ago by Henrique Moody <[email protected]>
Create "StringVal" rule

27d35987bedf646718add541fa8e19271203d836 authored almost 8 years ago by Henrique Moody <[email protected]>
Escape fully qualified class names

d67394cd396d8bf7876893b62ce589de1b6d7647 authored almost 8 years ago by Henrique Moody <[email protected]>
Replace boolean to bool in the documentation

d9fe23bebc01f9eec472026e57001a7ef2c007b7 authored almost 8 years ago by Henrique Moody <[email protected]>
Merge branch '1.1'

25bffa00e25eb57a30920849588b4227eb254266 authored almost 8 years ago by Henrique Moody <[email protected]>
Merge branch '1.0' into 1.1

03f4abbd08149fb1b803a6a7d767dd3f925ce1d1 authored almost 8 years ago by Henrique Moody <[email protected]>
Updated provinces of Cuba

Updated provinces of Cuba according to the change of 2011

8eb95c2b04fc3c30d19fdc59ca84e81795c9c9a3 authored almost 8 years ago by Yosmany Garcia <[email protected]>
Czech and slovakia postal code patterns fix.

fa61315079c7634d52109d4cd6ef67609f7f674c authored almost 8 years ago by Michał Prochowski <[email protected]>
Fix "Cnpj" rule

e4ae02fe94d36b06ee42c718df3f0363f0342b1a authored almost 8 years ago by Renato Moura <[email protected]>
Updated provinces of Cuba

Updated provinces of Cuba according to the change of 2011

32414451b0dd6dd96fb5558819c5e61b8a7a38f2 authored almost 8 years ago by Yosmany Garcia <[email protected]>
Add creditCard to the Banking section

eaa09abb806281384aeeae1ef713a4588f319f29 authored almost 8 years ago by Diego Oliveira <[email protected]>
Invalid doc comment

c9b78789a7c641d6c0aba23d15b98f094121437f authored almost 8 years ago by Bartłomiej Krukowski <[email protected]>
Merge branch '1.0'

8261a071493359eb5579aa0d9bea5a2b81770904 authored about 8 years ago by Henrique Moody <[email protected]>
Update README.md

Fixed typo on Exception types section.

527b1882dd943d9157f43e246dedd8f48d124c6a authored about 8 years ago by Pedro Manjarrez <[email protected]>