psalm-plugin-symfony/composer.json

64 lines
1.7 KiB
JSON
Raw Normal View History

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