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",
|
2020-03-09 13:24:39 +01:00
|
|
|
"ext-simplexml": "*",
|
2020-04-14 16:21:05 +02:00
|
|
|
"symfony/framework-bundle": "^3.0 || ^4.0 || ^5.0",
|
2020-06-22 10:15:12 +02:00
|
|
|
"vimeo/psalm": "^3.11.4"
|
2019-11-14 08:27:50 +01:00
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"codeception/base": "^2.5",
|
2020-06-16 03:17:22 +02:00
|
|
|
"doctrine/orm": "^2.7",
|
2020-04-12 16:56:21 +02:00
|
|
|
"phpunit/phpunit": "~7.5",
|
2020-04-14 16:21:05 +02:00
|
|
|
"symfony/console": "*",
|
2020-06-23 22:42:21 +02:00
|
|
|
"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
|
|
|
}
|
|
|
|
},
|
2020-04-14 16:21:05 +02: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"
|
|
|
|
],
|
2020-06-27 21:35:28 +02:00
|
|
|
"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"
|
|
|
|
]
|
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
|
|
|
}
|
|
|
|
}
|