mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
50 lines
1.5 KiB
JSON
50 lines
1.5 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.1.2",
|
|
"composer/composer": "^1.3|^1.4|^1.5",
|
|
"openlss/lib-array2xml": "^0.0.10||^0.5.1",
|
|
"muglug/package-versions-56": "1.2.3"
|
|
},
|
|
"bin": ["psalm"],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Psalm\\": "src/Psalm"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Psalm\\Tests\\": "tests"
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^5.7.4",
|
|
"friendsofphp/php-cs-fixer": "^2.3",
|
|
"squizlabs/php_codesniffer": "^3.0",
|
|
"php-coveralls/php-coveralls": "^2.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"
|
|
]
|
|
}
|
|
}
|