psalm-plugin-symfony/composer.json
2020-07-20 06:40:55 +03:00

64 lines
1.7 KiB
JSON

{
"name": "psalm/plugin-symfony",
"description": "Psalm Plugin for Symfony",
"type": "psalm-plugin",
"license": "MIT",
"authors": [
{
"name": "Farhad Safarov",
"email": "farhad.safarov@gmail.com"
}
],
"require": {
"php": "^7.1",
"ext-simplexml": "*",
"symfony/framework-bundle": "^3.0 || ^4.0 || ^5.0",
"vimeo/psalm": "^3.12"
},
"require-dev": {
"doctrine/orm": "^2.7",
"phpunit/phpunit": "~7.5",
"symfony/console": "*",
"symfony/messenger": "^4.2 || ^5.0",
"weirdan/codeception-psalm-module": "~0.8"
},
"autoload": {
"psr-4": {
"Psalm\\SymfonyPsalmPlugin\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Psalm\\SymfonyPsalmPlugin\\Tests\\Acceptance\\": ["tests/acceptance/_support"],
"Psalm\\SymfonyPsalmPlugin\\Tests\\": ["tests/unit"]
}
},
"config": {
"sort-packages": true
},
"extra": {
"psalm" : {
"pluginClass": "Psalm\\SymfonyPsalmPlugin\\Plugin"
}
},
"scripts": {
"check": [
"@analyze",
"@test"
],
"test": [
"@phpunit",
"@codeception"
],
"analyze": "psalm --find-dead-code --find-unused-psalm-suppress --long-progress",
"phpunit": "phpunit --testdox",
"codeception": [
"codecept build",
"codecept run -v -g symfony-common"
]
},
"suggest": {
"weirdan/doctrine-psalm-plugin": "If Doctrine is used, it is recommended install this plugin"
}
}