psalm-plugin/composer.json
azjezz dff80efbbf
chore: add compatibility with psalm 5
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-02-06 19:20:13 +01:00

62 lines
1.5 KiB
JSON

{
"name": "php-standard-library/psalm-plugin",
"description": "Psalm plugin for the PHP Standard Library",
"type": "psalm-plugin",
"license": "MIT",
"authors": [
{
"name": "azjezz",
"email": "azjezz@protonmail.com"
}
],
"require": {
"php": "^8.1",
"vimeo/psalm": "^4.20 || ^5.0"
},
"conflict": {
"azjezz/psl": "<2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"Psl\\Psalm\\": "src/"
}
},
"scripts": {
"cs:fix": [
"phpcbf",
"php-cs-fixer fix"
],
"cs:check": [
"phpcs",
"php-cs-fixer fix --dry-run"
],
"type:check": "psalm",
"type:coverage": "psalm --shepherd",
"code:coverage": "php-coveralls -v",
"security:analysis": "psalm --taint-analysis",
"check": [
"@cs:check",
"@type:check",
"@security:analysis"
]
},
"config": {
"process-timeout": 1200,
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": false
}
},
"extra": {
"psalm": {
"pluginClass": "Psl\\Psalm\\Plugin"
}
},
"minimum-stability": "alpha"
}