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": {
|
2020-12-10 07:50:32 +01:00
|
|
|
"php": "^7.1 || ^8.0",
|
2020-03-09 13:24:39 +01:00
|
|
|
"ext-simplexml": "*",
|
2021-09-01 13:08:22 +02:00
|
|
|
"symfony/framework-bundle": "^4.0 || ^5.0",
|
2021-11-07 13:04:58 +01:00
|
|
|
"vimeo/psalm": "^4.11"
|
2019-11-14 08:27:50 +01:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2021-03-01 07:17:04 +01:00
|
|
|
"symfony/form": "^4.0 || ^5.0",
|
2020-12-10 07:50:32 +01:00
|
|
|
"doctrine/orm": "^2.7",
|
2020-12-08 10:45:11 +01:00
|
|
|
"phpunit/phpunit": "~7.5 || ~9.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-12-07 22:23:29 +01:00
|
|
|
"symfony/serializer": "^4.0 || ^5.0",
|
2020-07-30 15:07:38 +02:00
|
|
|
"symfony/validator": "*",
|
2020-09-13 18:37:26 +02:00
|
|
|
"twig/twig": "^2.10 || ^3.0",
|
2020-12-08 10:45:11 +01:00
|
|
|
"weirdan/codeception-psalm-module": "^0.13.1"
|
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
|
|
|
}
|
|
|
|
}
|