respect-validation/tests/unit/Rules
Henrique Moody ed304f3406
Check "bcmath" extension before executing tests
Although BCMath is necessary to execute "Ip" and "Iban" rules, we not
required that in the "composer.json" file. That's because if someone
wants to use the library, but doesn't want to use those rules, they
would not need to install that extension.

However, when executing the tests, they will break. This commit will
verify whether the extension exists to test "Ip" and "Iban" rules.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-10-04 11:21:36 +02:00
..
AbstractCompositeTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
AbstractEnvelopeTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
AbstractRuleTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
AbstractSearcherTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
AbstractWrapperTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
AllOfTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
AlnumTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
AlphaTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
AlwaysInvalidTest.php Update version of PHPStan packages 2020-07-25 22:50:59 +02:00
AlwaysValidTest.php Update version of PHPStan packages 2020-07-25 22:50:59 +02:00
AnyOfTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
ArrayTypeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ArrayValTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
AttributeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
Base64Test.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
BaseTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
BetweenTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
BoolTypeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
BoolValTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
BsnTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
CallableTypeTest.php Add support for PHP 8.0 2020-08-28 08:53:41 +02:00
CallbackTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
CallTest.php Update version of "respect/coding-standard" 2020-08-27 16:21:02 +02:00
CharsetTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
CnhTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
CnpjTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ConsonantTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ContainsAnyTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ContainsTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ControlTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
CountableTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
CountryCodeTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
CpfTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
CreditCardTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
CurrencyCodeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
DateTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
DateTimeTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
DigitTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
DirectoryTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
DomainTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
EachTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
EmailTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
EndsWithTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
EqualsTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
EquivalentTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
EvenTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
ExecutableTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ExistsTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ExtensionTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
FactorTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
FalseValTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
FibonacciTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
FileTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
FilterVarTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
FiniteTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
FloatTypeTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
FloatValTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
GraphTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
GreaterThanTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
HexRgbColorTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
IbanTest.php Check "bcmath" extension before executing tests 2020-10-04 11:21:36 +02:00
IdenticalTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ImageTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
ImeiTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
InfiniteTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
InstanceTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
InTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
IntTypeTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
IntValTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
IpTest.php Check "bcmath" extension before executing tests 2020-10-04 11:21:36 +02:00
IsbnTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
IterableTypeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
JsonTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
KeyNestedTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
KeySetTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
KeyTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
KeyValueTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
LanguageCodeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
LeapDateTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
LeapYearTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
LengthTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
LessThanTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
LowercaseTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
LuhnTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
MacAddressTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
MaxAgeTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
MaxTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
MimetypeTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
MinAgeTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
MinTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
MultipleTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NegativeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NfeAccessKeyTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NifTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
NipTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NoneOfTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
NotBlankTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NotEmojiTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NotEmptyTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NoTest.php Update version of "respect/coding-standard" 2020-08-27 16:21:02 +02:00
NotOptionalTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NotTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
NoWhitespaceTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NullableTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NullTypeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
NumberTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
NumericValTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ObjectTypeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
OddTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
OneOfTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
OptionalTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PerfectSquareTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PeselTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PhoneTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PhpLabelTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
PisTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PolishIdCardTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PositiveTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PostalCodeTest.php Allow optional space for greek postal codes 2020-08-31 22:54:04 -03:00
PrimeNumberTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
PrintableTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
PunctTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ReadableTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
RegexTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ResourceTypeTest.php Add support for PHP 8.0 2020-08-28 08:53:41 +02:00
RomanTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ScalarValTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
SfTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
SizeTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
SlugTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
SortedTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
SpaceTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
StartsWithTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
StringTypeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
StringValTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
SubdivisionCodeTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
SubsetTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
SymbolicLinkTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
TimeTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
TldTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
TrueValTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
TypeTest.php Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
UniqueTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
UploadedTest.php Update version of "respect/coding-standard" 2020-08-27 16:21:02 +02:00
UppercaseTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
UrlTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
UuidTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
VersionTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
VideoUrlTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
VowelTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
WhenTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
WritableTest.php Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
XdigitTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
YesTest.php Update version of "respect/coding-standard" 2020-08-27 16:21:02 +02:00
ZendTest.php Update version of PHPStan packages 2020-07-25 22:50:59 +02:00