1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/composer.json
Tyson Andre 7c4683784f Add a script to run the same tests as jenkins locally
Make `composer tests` use only phpcs

Also add `composer all-tests`, which also runs the self-check.

php-cs-fixer was removed from .travis.yml earlier.
I'm guessing that composer was overlooked?

The goal is to make it easy to create PRs passing travis checks.
2018-02-19 15:34:26 -05:00

57 lines
1.4 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",
"php-cs-fixer/diff": "^1.2"
},
"bin": ["psalm", "psalter"],
"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|^2.4|^2.5|^2.6|^2.7|^2.8|^2.9",
"squizlabs/php_codesniffer": "^3.0",
"php-coveralls/php-coveralls": "^2.0"
},
"suggest": {
"ext-igbinary": "^2.0.5"
},
"scripts": {
"psalm": "./psalm --find-dead-code",
"standards": "phpcs",
"tests": [
"phpcs",
"phpunit"
],
"all-tests": [
"phpcs",
"./psalm --find-dead-code",
"phpunit"
]
}
}