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-08-03 16:14:55 +02:00
|
|
|
"vimeo/psalm": "^3.13"
|
2019-11-14 08:27:50 +01:00
|
|
|
},
|
|
|
|
"require-dev": {
|
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-08-18 13:38:35 +02:00
|
|
|
"symfony/cache-contracts": "^1.0 || ^2.0",
|
2020-04-14 16:21:05 +02:00
|
|
|
"symfony/console": "*",
|
2020-07-06 05:29:10 +02:00
|
|
|
"symfony/messenger": "^4.2 || ^5.0",
|
2020-08-18 12:18:10 +02:00
|
|
|
"symfony/security-guard": "^4.0 || ^5.0",
|
2020-07-30 15:07:38 +02:00
|
|
|
"symfony/validator": "*",
|
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"],
|
2020-08-03 16:14:55 +02:00
|
|
|
"Psalm\\SymfonyPsalmPlugin\\Tests\\Fixture\\": ["tests/fixture"],
|
2020-03-13 15:51:18 +01:00
|
|
|
"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",
|
2020-07-20 05:40:55 +02:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|