-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dc4f21
commit 35cf012
Showing
42 changed files
with
9,347 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:30:"PHPUnit\Runner\TestResultCache":9582:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:151:{s:54:"Verum\Tests\AlphaNumericTest::testValidateSpecialChars";d:0.008;s:53:"Verum\Tests\AlphaNumericTest::testValidateEmptyString";d:0;s:54:"Verum\Tests\AlphaNumericTest::testValidateAlphaNumeric";d:0;s:47:"Verum\Tests\AlphaTest::testValidateAlphaNumeric";d:0.001;s:46:"Verum\Tests\AlphaTest::testValidateEmptyString";d:0;s:45:"Verum\Tests\AlphaTest::testValidateAlphabetic";d:0;s:60:"Verum\Tests\BetweenLengthTest::testValidateWithoutRuleValues";d:0.002;s:54:"Verum\Tests\BetweenLengthTest::testValidateLessThanMin";d:0.001;s:55:"Verum\Tests\BetweenLengthTest::testValidateGreatThanMax";d:0;s:54:"Verum\Tests\BetweenLengthTest::testValidateEmptyString";d:0;s:50:"Verum\Tests\BetweenLengthTest::testValidateBetween";d:0;s:54:"Verum\Tests\BetweenTest::testValidateWithoutRuleValues";d:0.001;s:48:"Verum\Tests\BetweenTest::testValidateLessThanMin";d:0.001;s:51:"Verum\Tests\BetweenTest::testValidateGreaterThanMax";d:0;s:48:"Verum\Tests\BetweenTest::testValidateEmptyString";d:0;s:44:"Verum\Tests\BetweenTest::testValidateBetween";d:0;s:52:"Verum\Tests\BooleanValueTest::testValidateIntegerTen";d:0.001;s:53:"Verum\Tests\BooleanValueTest::testValidateStringHello";d:0;s:53:"Verum\Tests\BooleanValueTest::testValidateEmptyString";d:0;s:51:"Verum\Tests\BooleanValueTest::testValidateNumberOne";d:0;s:50:"Verum\Tests\BooleanValueTest::testValidateStringOn";d:0;s:51:"Verum\Tests\BooleanValueTest::testValidateStringYes";d:0;s:53:"Verum\Tests\BooleanValueTest::testValidateBooleanTrue";d:0;s:55:"Verum\Tests\ContainsTest::testValidateWithoutRuleValues";d:0.001;s:52:"Verum\Tests\ContainsTest::testValidateHelloLowerCase";d:0;s:49:"Verum\Tests\ContainsTest::testValidateEmptyString";d:0;s:52:"Verum\Tests\ContainsTest::testValidateHelloUpperCase";d:0;s:45:"Verum\Tests\DateTest::testValidateInvalidDate";d:0.001;s:45:"Verum\Tests\DateTest::testValidateEmptyString";d:0;s:47:"Verum\Tests\DateTest::testValidateDefaultFormat";d:0;s:46:"Verum\Tests\DateTest::testValidateCustomFormat";d:0;s:47:"Verum\Tests\EmailTest::testValidateInvalidEmail";d:0.001;s:46:"Verum\Tests\EmailTest::testValidateEmptyString";d:0;s:45:"Verum\Tests\EmailTest::testValidateValidEmail";d:0;s:53:"Verum\Tests\EqualsTest::testValidateWithoutRuleValues";d:0.001;s:45:"Verum\Tests\EqualsTest::testValidateNotEquals";d:0;s:42:"Verum\Tests\EqualsTest::testValidateEquals";d:0;s:58:"Verum\Tests\FileMaxSizeTest::testValidateWithoutRuleValues";d:0.001;s:55:"Verum\Tests\FileMaxSizeTest::testValidateInvalidMaxSize";d:0;s:61:"Verum\Tests\FileMaxSizeTest::testValidateStringGreaterThanMax";d:0;s:61:"Verum\Tests\FileMaxSizeTest::testValidateNumberGreaterThanMax";d:0;s:47:"Verum\Tests\FileMaxSizeTest::testValidateNoFile";d:0;s:58:"Verum\Tests\FileMaxSizeTest::testValidateNumberLessThanMax";d:0;s:59:"Verum\Tests\FileMimeTypeTest::testValidateWithoutRuleValues";d:0.001;s:48:"Verum\Tests\FileMimeTypeTest::testValidateNoFile";d:0;s:53:"Verum\Tests\FileMimeTypeTest::testValidateInvalidType";d:0;s:51:"Verum\Tests\FileMimeTypeTest::testValidateValidType";d:0;s:48:"Verum\Tests\FloatNumberTest::testValidateInteger";d:0;s:55:"Verum\Tests\FloatNumberTest::testValidateCommaSeparator";d:0;s:52:"Verum\Tests\FloatNumberTest::testValidateEmptyString";d:0;s:58:"Verum\Tests\FloatNumberTest::testValidateInsignificantZero";d:0;s:46:"Verum\Tests\FloatNumberTest::testValidateFloat";d:0;s:60:"Verum\Tests\ImageMaxHeightTest::testValidateInvalidMaxHeight";d:0.001;s:58:"Verum\Tests\ImageMaxHeightTest::testValidateGreaterThanMax";d:0.001;s:50:"Verum\Tests\ImageMaxHeightTest::testValidateNoFile";d:0;s:55:"Verum\Tests\ImageMaxHeightTest::testValidateLessThanMax";d:0;s:58:"Verum\Tests\ImageMaxWidthTest::testValidateInvalidMaxWidth";d:0.001;s:57:"Verum\Tests\ImageMaxWidthTest::testValidateGreaterThanMax";d:0;s:49:"Verum\Tests\ImageMaxWidthTest::testValidateNoFile";d:0;s:54:"Verum\Tests\ImageMaxWidthTest::testValidateLessThanMax";d:0;s:60:"Verum\Tests\ImageMinHeightTest::testValidateInvalidMinHeight";d:0.001;s:55:"Verum\Tests\ImageMinHeightTest::testValidateLessThanMin";d:0;s:50:"Verum\Tests\ImageMinHeightTest::testValidateNoFile";d:0;s:58:"Verum\Tests\ImageMinHeightTest::testValidateGreaterThanMin";d:0;s:58:"Verum\Tests\ImageMinWidthTest::testValidateInvalidMinWidth";d:0.001;s:54:"Verum\Tests\ImageMinWidthTest::testValidateLessThanMin";d:0;s:49:"Verum\Tests\ImageMinWidthTest::testValidateNoFile";d:0;s:57:"Verum\Tests\ImageMinWidthTest::testValidateGreaterThanMin";d:0;s:36:"Verum\Tests\IpTest::testValidateNoIp";d:0.001;s:43:"Verum\Tests\IpTest::testValidateEmptyString";d:0;s:36:"Verum\Tests\IpTest::testValidateIpv4";d:0;s:36:"Verum\Tests\IpTest::testValidateIpv6";d:0;s:38:"Verum\Tests\Ipv4Test::testValidateNoIp";d:0;s:38:"Verum\Tests\Ipv4Test::testValidateIpv6";d:0;s:45:"Verum\Tests\Ipv4Test::testValidateEmptyString";d:0;s:38:"Verum\Tests\Ipv4Test::testValidateIpv4";d:0;s:38:"Verum\Tests\Ipv6Test::testValidateNoIp";d:0;s:38:"Verum\Tests\Ipv6Test::testValidateIpv4";d:0;s:45:"Verum\Tests\Ipv6Test::testValidateEmptyString";d:0;s:38:"Verum\Tests\Ipv6Test::testValidateIpv6";d:0;s:56:"Verum\Tests\MaxLengthTest::testValidateWithoutRuleValues";d:0;s:43:"Verum\Tests\MaxLengthTest::testValidateNull";d:0;s:47:"Verum\Tests\MaxLengthTest::testValidateLongText";d:0;s:52:"Verum\Tests\MaxLengthTest::testPassValidateShortText";d:0;s:50:"Verum\Tests\MaxTest::testValidateWithoutRuleValues";d:0;s:43:"Verum\Tests\MaxTest::testValidateNotNumeric";d:0;s:53:"Verum\Tests\MaxTest::testValidateStringGreaterThanMax";d:0;s:53:"Verum\Tests\MaxTest::testValidateNumberGreaterThanMax";d:0;s:44:"Verum\Tests\MaxTest::testValidateEmptyString";d:0;s:50:"Verum\Tests\MaxTest::testValidateNumberLessThanMax";d:0;s:56:"Verum\Tests\MinLengthTest::testValidateWithoutRuleValues";d:0;s:43:"Verum\Tests\MinLengthTest::testValidateNull";d:0;s:47:"Verum\Tests\MinLengthTest::testValidateLongText";d:0;s:52:"Verum\Tests\MinLengthTest::testPassValidateShortText";d:0;s:50:"Verum\Tests\MinTest::testValidateWithoutRuleValues";d:0;s:43:"Verum\Tests\MinTest::testValidateNotNumeric";d:0;s:50:"Verum\Tests\MinTest::testValidateStringLessThanMin";d:0;s:50:"Verum\Tests\MinTest::testValidateNumberLessThanMin";d:0;s:44:"Verum\Tests\MinTest::testValidateEmptyString";d:0;s:53:"Verum\Tests\MinTest::testValidateNumberGreaterThanMin";d:0;s:43:"Verum\Tests\NumericTest::testValidateString";d:0;s:48:"Verum\Tests\NumericTest::testValidateEmptyString";d:0;s:49:"Verum\Tests\NumericTest::testValidateStringNumber";d:0;s:43:"Verum\Tests\NumericTest::testValidateNumber";d:0;s:52:"Verum\Tests\RegexTest::testValidateWithoutRuleValues";d:0.001;s:52:"Verum\Tests\RegexTest::testValidateNoEndingDelimiter";d:0.001;s:50:"Verum\Tests\RegexTest::testValidatePatternNotFound";d:0;s:52:"Verum\Tests\RegexTest::testValidateNumberLessThanMax";d:0;s:42:"Verum\Tests\RequiredTest::testValidateNull";d:0.001;s:49:"Verum\Tests\RequiredTest::testValidateEmptyString";d:0;s:48:"Verum\Tests\RequiredTest::testValidateZeroString";d:0;s:42:"Verum\Tests\RequiredTest::testValidateZero";d:0;s:48:"Verum\Tests\RequiredTest::testValidateEmptyArray";d:0;s:43:"Verum\Tests\RequiredTest::testValidateArray";d:0;s:46:"Verum\Tests\RequiredTest::testValidateMinusOne";d:0;s:41:"Verum\Tests\RequiredTest::testValidateOne";d:0;s:46:"Verum\Tests\RequiredTest::testPassValidateText";d:0;s:44:"Verum\Tests\RuleFactoryTest::testCanLoadRule";d:0.001;s:58:"Verum\Tests\RuleFactoryTest::testExpectedExceptionIsRaised";d:0;s:50:"Verum\Tests\SlugTest::testValidateStartsWithHyphen";d:0;s:54:"Verum\Tests\SlugTest::testValidateStartsWithUnderscore";d:0;s:48:"Verum\Tests\SlugTest::testValidateEndsWithHyphen";d:0;s:52:"Verum\Tests\SlugTest::testValidateEndsWithUnderscore";d:0;s:46:"Verum\Tests\SlugTest::testValidateDoubleHyphen";d:0;s:50:"Verum\Tests\SlugTest::testValidateDoubleUnderscore";d:0;s:45:"Verum\Tests\SlugTest::testValidateEmptyString";d:0;s:53:"Verum\Tests\SlugTest::testValidateHyphenAndUnderscore";d:0;s:43:"Verum\Tests\UrlTest::testValidateInvalidUrl";d:0;s:44:"Verum\Tests\UrlTest::testValidateEmptyString";d:0;s:41:"Verum\Tests\UrlTest::testValidateValidUrl";d:0;s:52:"Verum\Tests\ValidatorTest::testValidateWithoutFields";d:0;s:54:"Verum\Tests\ValidatorTest::testValidateNonExistentRule";d:0;s:59:"Verum\Tests\ValidatorTest::testGetErrorsNonExistentLanguage";d:0;s:64:"Verum\Tests\ValidatorTest::testGetErrorsMessageWrongPlaceholders";d:0;s:52:"Verum\Tests\ValidatorTest::testValidateRuleViolation";d:0;s:55:"Verum\Tests\ValidatorTest::testGetErrorsDefaultLanguage";d:0;s:52:"Verum\Tests\ValidatorTest::testGetErrorsWithoutLabel";d:0;s:49:"Verum\Tests\ValidatorTest::testGetErrorsWithLabel";d:0;s:58:"Verum\Tests\ValidatorTest::testGetErrorsWithMultipleLabels";d:0;s:58:"Verum\Tests\ValidatorTest::testGetErrorsNonDefaultLanguage";d:0;s:53:"Verum\Tests\ValidatorTest::testGetErrorsCustomMessage";d:0;s:65:"Verum\Tests\ValidatorTest::testGetErrorsCustomMessageWithoutLabel";d:0;s:62:"Verum\Tests\ValidatorTest::testGetErrorsCustomMessageWithLabel";d:0;s:71:"Verum\Tests\ValidatorTest::testGetErrorsCustomMessageWithMultipleLabels";d:0;s:54:"Verum\Tests\ValidatorTest::testGetErrorsCustomMessages";d:0;s:66:"Verum\Tests\ValidatorTest::testGetErrorsCustomMessagesWithoutLabel";d:0;s:63:"Verum\Tests\ValidatorTest::testGetErrorsCustomMessagesWithLabel";d:0;s:59:"Verum\Tests\ValidatorTest::testGetErrorsMessagePlaceholders";d:0;s:66:"Verum\Tests\ValidatorTest::testGetErrorsMessageIgnoresPlaceholders";d:0;s:55:"Verum\Tests\ValidatorTest::testValidateNonexistentField";d:0;s:54:"Verum\Tests\ValidatorTest::testValidateNoRuleViolation";d:0;}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"name": "sandromiguel/verum-php", | ||
"description": "Server-Side Form Validation Library for PHP", | ||
"homepage": "/~https://github.com/SandroMiguel/verum-php", | ||
"keywords": [ | ||
"validator", | ||
"validation", | ||
"php", | ||
"php-library" | ||
], | ||
"type": "library", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Sandro Miguel Marques", | ||
"email": "sandromiguel@sandromiguel.com", | ||
"homepage": "http://sandromiguel.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"Verum\\": "src" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"require": { | ||
"php": ">=7.2.0" | ||
}, | ||
"require-dev": { | ||
"nunomaduro/phpinsights": "^1.14", | ||
"phpmetrics/phpmetrics": "^2.6", | ||
"phpstan/phpstan": "^0.12.31", | ||
"phpunit/phpunit": "8", | ||
"roave/security-advisories": "dev-master", | ||
"vimeo/psalm": "^3.12" | ||
}, | ||
"scripts": { | ||
"phpcs": "phpcs -s src", | ||
"phpinsights": "phpinsights analyse src -v", | ||
"phpstan": "phpstan analyse src --level 7", | ||
"psalm": "psalm", | ||
"test": "phpunit --colors=always tests", | ||
"test-coverage": "phpunit --coverage-html log/report" | ||
}, | ||
"scripts-descriptions": { | ||
"test": "Run all tests!", | ||
"test-coverage": "Run code coverage" | ||
} | ||
} |
Oops, something went wrong.