|
1 | 1 | { |
2 | 2 | "name": "happyprime/turn-comments-off", |
3 | 3 | "description": "Turn comments off everywhere in WordPress", |
4 | | - "version": "1.2.1", |
| 4 | + "version": "1.3.0", |
5 | 5 | "type": "wordpress-plugin", |
6 | 6 | "license": "GPLv2+", |
7 | 7 | "config": { |
8 | 8 | "allow-plugins": { |
9 | 9 | "dealerdirect/phpcodesniffer-composer-installer": true, |
10 | | - "composer/installers": true |
| 10 | + "composer/installers": true, |
| 11 | + "phpstan/extension-installer": true |
| 12 | + }, |
| 13 | + "platform": { |
| 14 | + "php": "7.4" |
11 | 15 | } |
12 | 16 | }, |
13 | 17 | "require-dev": { |
| 18 | + "wp-coding-standards/wpcs": "*", |
14 | 19 | "dealerdirect/phpcodesniffer-composer-installer": "*", |
15 | | - "phpcompatibility/php-compatibility": "*", |
| 20 | + "phpcompatibility/php-compatibility": "dev-develop as 9.99.99", |
16 | 21 | "phpcompatibility/phpcompatibility-wp": "*", |
17 | 22 | "sirbrillig/phpcs-variable-analysis": "*", |
18 | | - "wp-cli/dist-archive-command": "^2.0", |
19 | | - "wp-coding-standards/wpcs": "dev-develop" |
| 23 | + "phpstan/phpstan": "^1.10", |
| 24 | + "szepeviktor/phpstan-wordpress": "^1.3", |
| 25 | + "phpstan/extension-installer": "^1.3", |
| 26 | + "phpstan/phpstan-phpunit": "^1.3", |
| 27 | + "php-stubs/wordpress-tests-stubs": "^6.2" |
20 | 28 | }, |
21 | 29 | "scripts": { |
22 | 30 | "phpcs": "vendor/bin/phpcs", |
23 | | - "lint": "vendor/bin/phpcs", |
24 | 31 | "phpcbf": "vendor/bin/phpcbf", |
25 | | - "fix": "vendor/bin/phpcbf" |
| 32 | + "phpstan": "vendor/bin/phpstan analyse --memory-limit=2048M" |
26 | 33 | } |
27 | 34 | } |
0 commit comments