mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-30 04:29:08 +01:00
d9277bb993
Breaking change: minimum psalm version is now 3.0.10 (due to the hook interface added in that version) Also fixed test to be compatible with legacy PHPUnit
51 lines
1.2 KiB
JSON
Executable File
51 lines
1.2 KiB
JSON
Executable File
{
|
|
"name": "psalm/plugin-phpunit",
|
|
"description": "Psalm plugin for PHPUnit",
|
|
"type": "psalm-plugin",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Matt Brown",
|
|
"email": "github@muglug.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0",
|
|
"vimeo/psalm": "^3.0.10 || dev-master",
|
|
"composer/semver": "^1.4",
|
|
"muglug/package-versions-56": "^1.2"
|
|
},
|
|
"require-dev": {
|
|
"squizlabs/php_codesniffer": "^3.3.1",
|
|
"codeception/base": "^2.5",
|
|
"weirdan/codeception-psalm-module": "^0.2.1"
|
|
},
|
|
"extra": {
|
|
"psalm": {
|
|
"pluginClass": "Psalm\\PhpUnitPlugin\\Plugin"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Psalm\\PhpUnitPlugin\\": ["."],
|
|
"Psalm\\PhpUnitPlugin\\Hooks\\": ["hooks"]
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Psalm\\PhpUnitPlugin\\Tests\\": ["tests/_support"]
|
|
}
|
|
},
|
|
"scripts" : {
|
|
"check": [
|
|
"@cs-check",
|
|
"@analyze",
|
|
"@test"
|
|
],
|
|
"analyze": "psalm",
|
|
"cs-check": "phpcs",
|
|
"cs-fix": "phpcbf",
|
|
"test": "codecept run -v"
|
|
}
|
|
}
|