-
- Downloads
chore: add static analysis
Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>
parent
d28fee48
No related branches found
No related tags found
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
... | @@ -45,7 +45,10 @@ | ... | @@ -45,7 +45,10 @@ |
"wpdesk/wp-basic-requirements": "^3", | "wpdesk/wp-basic-requirements": "^3", | ||
"phpunit/phpunit": "^8 || ^9", | "phpunit/phpunit": "^8 || ^9", | ||
"symfony/filesystem": "^6.2", | "symfony/filesystem": "^6.2", | ||
"brain/monkey": "^2.6" | "brain/monkey": "^2.6", | ||
"phpstan/phpstan": "^1.10", | |||
"szepeviktor/phpstan-wordpress": "^1.3", | |||
"phpstan/extension-installer": "^1.3" | |||
}, | }, | ||
"suggest": { | "suggest": { | ||
"wpdesk/wp-basic-requirements": "Enables your plugin to check an environment requirement before instantiation, e.g. PHP version or active plugins" | "wpdesk/wp-basic-requirements": "Enables your plugin to check an environment requirement before instantiation, e.g. PHP version or active plugins" | ||
... | @@ -55,5 +58,10 @@ | ... | @@ -55,5 +58,10 @@ |
}, | }, | ||
"scripts": { | "scripts": { | ||
"test": "vendor/bin/phpunit --bootstrap tests/bootstrap.php ./tests" | "test": "vendor/bin/phpunit --bootstrap tests/bootstrap.php ./tests" | ||
}, | |||
"config": { | |||
"allow-plugins": { | |||
"phpstan/extension-installer": true | |||
} | |||
} | } | ||
} | } |
Please register or sign in to comment