mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-26 20:15:08 +01:00
6a2552a210
The stubs we're providing are for namespace version of PHPUnit classes, and those are only available since PHPUnit 6.0
50 lines
1.2 KiB
JSON
Executable File
50 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 || 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.1.0"
|
|
},
|
|
"extra": {
|
|
"psalm": {
|
|
"pluginClass": "Psalm\\PhpUnitPlugin\\Plugin"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Psalm\\PhpUnitPlugin\\": ["."]
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|