mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "vimeo/psalm",
|
|
"description": "A static analysis tool for finding errors in PHP applications",
|
|
"keywords": ["php", "code", "inspection"],
|
|
"type": "library",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Matthew Brown"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^5.6 || ^7.0",
|
|
"nikic/PHP-Parser": "^3.0.4",
|
|
"composer/composer": "^1.3",
|
|
"openlss/lib-array2xml": "^0.1.0"
|
|
},
|
|
"bin": ["bin/psalm"],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Psalm\\": "src/Psalm"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Psalm\\Tests\\": "tests"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^5.7.4",
|
|
"friendsofphp/php-cs-fixer": "^2.3",
|
|
"squizlabs/php_codesniffer": "^3.0"
|
|
},
|
|
"scripts": {
|
|
"psalm": "./bin/psalm",
|
|
"standards": "php ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --allow-risky=yes",
|
|
"tests": [
|
|
"php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
|
|
"php ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --allow-risky=yes --dry-run .php_cs.dist",
|
|
"php ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --allow-risky=yes --dry-run",
|
|
"phpunit"
|
|
]
|
|
}
|
|
}
|