psalm-plugin-symfony/composer.json
Robin Chalas d6be2fbfa3
Support Symfony 6 (#227)
Co-authored-by: Farhad Safarov <farhad.safarov@gmail.com>
2021-12-02 10:14:19 +03:00

72 lines
2.0 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 || ^8.0",
"ext-simplexml": "*",
"symfony/framework-bundle": "^4.0 || ^5.0 || ^6.0",
"vimeo/psalm": "^4.12"
},
"require-dev": {
"symfony/form": "^4.0 || ^5.0 || ^6.0",
"doctrine/orm": "^2.7",
"phpunit/phpunit": "~7.5 || ~9.5",
"symfony/cache-contracts": "^1.0 || ^2.0",
"symfony/console": "*",
"symfony/messenger": "^4.2 || ^5.0 || ^6.0",
"symfony/security-guard": "*",
"symfony/serializer": "^4.0 || ^5.0 || ^6.0",
"symfony/validator": "*",
"twig/twig": "^2.10 || ^3.0",
"weirdan/codeception-psalm-module": "^0.13.1"
},
"autoload": {
"psr-4": {
"Psalm\\SymfonyPsalmPlugin\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Psalm\\SymfonyPsalmPlugin\\Tests\\Acceptance\\": ["tests/acceptance/_support"],
"Psalm\\SymfonyPsalmPlugin\\Tests\\Fixture\\": ["tests/fixture"],
"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"
},
"minimum-stability": "beta"
}