2021-08-16 14:12:25 +03:00
|
|
|
{
|
2021-08-16 14:20:23 +03:00
|
|
|
"name": "retailcrm/url-validator",
|
2021-08-16 14:22:13 +03:00
|
|
|
"description": "URL validator for RetailCRM",
|
2021-08-16 14:12:25 +03:00
|
|
|
"type": "library",
|
|
|
|
"keywords": ["Validator", "RetailCRM"],
|
|
|
|
"homepage": "https://www.retailcrm.ru/",
|
|
|
|
"license": "MIT",
|
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "RetailCRM",
|
|
|
|
"email": "support@retailcrm.ru"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"php": ">=7.3",
|
|
|
|
"ext-json": "*",
|
|
|
|
"symfony/validator": "^5.3"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"phpunit/phpunit": "^9.5.7",
|
|
|
|
"squizlabs/php_codesniffer": "3.*",
|
|
|
|
"phpstan/phpstan": "^0.12.92",
|
|
|
|
"phpmd/phpmd": "^2.10"
|
|
|
|
},
|
|
|
|
"support": {
|
|
|
|
"email": "support@retailcrm.ru"
|
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": { "RetailCrm\\": "src/" }
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
|
|
|
"dev-master": "0.1-dev"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"bin-dir": "vendor/bin",
|
|
|
|
"process-timeout": 600
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"phpunit": "./vendor/bin/phpunit -c phpunit.xml.dist --coverage-text",
|
|
|
|
"phpunit-ci": "@php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/phpunit --teamcity -c phpunit.xml.dist",
|
|
|
|
"phpmd": "./vendor/bin/phpmd src text ./phpmd.xml",
|
|
|
|
"phpcs": "./vendor/bin/phpcs -p src --runtime-set testVersion 7.3-8.0 && ./vendor/bin/phpcs -p tests --runtime-set testVersion 7.3-8.0 --warning-severity=0",
|
|
|
|
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon src --memory-limit=-1",
|
|
|
|
"verify": [
|
|
|
|
"@phpcs",
|
|
|
|
"@phpmd",
|
|
|
|
"@phpstan",
|
|
|
|
"@phpunit"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|