mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-27 04:24:50 +01:00
e113531999
supporting newer versions of phpunit leads to an issue where if `Foo extends TestCase` and `TestCase::setUp()` does not explicitly return void, failure occurs. see psalm/phpunit-psalm-plugin#53
52 lines
1.3 KiB
JSON
Executable File
52 lines
1.3 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 || ^9.0",
|
|
"vimeo/psalm": "^3.6.2 || dev-master",
|
|
"composer/semver": "^1.4",
|
|
"ocramius/package-versions": "^1.3"
|
|
},
|
|
"require-dev": {
|
|
"squizlabs/php_codesniffer": "^3.3.1",
|
|
"codeception/base": "^2.5",
|
|
"weirdan/codeception-psalm-module": "^0.2.2"
|
|
},
|
|
"extra": {
|
|
"psalm": {
|
|
"pluginClass": "Psalm\\PhpUnitPlugin\\Plugin"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Psalm\\PhpUnitPlugin\\": ["."],
|
|
"Psalm\\PhpUnitPlugin\\Hooks\\": ["hooks"],
|
|
"Psalm\\PhpUnitPlugin\\Exception\\" : ["Exception"]
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|