mirror of
https://github.com/Respect/Validation.git
synced 2024-05-29 03:42:25 +02:00
258a456eec
Require "phpstan/phpstan" for development and add to the Travis CI configuration file to execute the analysis when Travis executes the build with the version 7.2 of PHP. The level of the configuration is very week for now (just "1") and still quite some changes had to be made in order to make the analysis pass. I hope it does not take much time to increase the level of the strictness of the analyses. I tried to configure that before but because of dependencies with "symfony/validator" it was not possible. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
58 lines
1.8 KiB
JSON
58 lines
1.8 KiB
JSON
{
|
|
"name": "respect/validation",
|
|
"description": "The most awesome validation engine ever created for PHP",
|
|
"keywords": ["respect", "validation", "validator"],
|
|
"type": "library",
|
|
"homepage": "http://respect.github.io/Validation/",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Respect/Validation Contributors",
|
|
"homepage": "https://github.com/Respect/Validation/graphs/contributors"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=7.1",
|
|
"respect/stringifier": "^0.2.0",
|
|
"symfony/polyfill-mbstring": "^1.2"
|
|
},
|
|
"require-dev": {
|
|
"egulias/email-validator": "^2.0",
|
|
"friendsofphp/php-cs-fixer": "^2.8",
|
|
"malukenho/docheader": "^0.1.4",
|
|
"mikey179/vfsStream": "^1.6",
|
|
"phpstan/phpstan": "^0.10.3",
|
|
"phpunit/phpunit": "^6.4",
|
|
"symfony/validator": "^3.0||^4.0",
|
|
"zendframework/zend-validator": "^2.0"
|
|
},
|
|
"suggest": {
|
|
"ext-bcmath": "Arbitrary Precision Mathematics",
|
|
"ext-fileinfo": "File Information",
|
|
"ext-mbstring": "Multibyte String Functions",
|
|
"egulias/email-validator": "Strict (RFC compliant) email validation",
|
|
"symfony/validator": "Use Symfony validator through Respect\\Validation",
|
|
"zendframework/zend-validator": "Use Zend Framework validator through Respect\\Validation",
|
|
"friendsofphp/php-cs-fixer": "Fix PSR2 and other coding style issues"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Respect\\Validation\\": "library/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Respect\\Validation\\": "tests/unit/",
|
|
"Respect\\Validation\\Test\\": "tests/library/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "2.0-dev"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "./vendor/bin/phpunit"
|
|
}
|
|
}
|