|
10 | 10 | }, |
11 | 11 | "require-dev": { |
12 | 12 | "pestphp/pest": "^1.22", |
13 | | - "brain/monkey": "2.*", |
14 | | - "phpstan/phpstan": "^1.8", |
15 | | - "szepeviktor/phpstan-wordpress": "^1.1", |
16 | | - "phpstan/extension-installer": "^1.1", |
| 13 | + "brain/monkey": "^2.7.0", |
| 14 | + "phpstan/phpstan": "^2.2.0", |
| 15 | + "phpstan/extension-installer": "^1.4", |
| 16 | + "szepeviktor/phpstan-wordpress": "^2.0.0", |
| 17 | + "squizlabs/php_codesniffer": "^3.9", |
| 18 | + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", |
| 19 | + "wp-coding-standards/wpcs": "^3.1", |
| 20 | + "phpcompatibility/phpcompatibility-wp": "^2.1", |
17 | 21 | "lloc/composer-i18n-scripts": "^1.0" |
18 | 22 | }, |
19 | | - "autoload-dev": { |
20 | | - "files": [ "MslsMenu.php" ] |
21 | | - }, |
22 | 23 | "scripts": { |
23 | | - "test": "vendor/bin/pest", |
24 | | - "coverage": "php -d xdebug.mode=coverage vendor/bin/pest --coverage", |
| 24 | + "phpcs": "phpcs", |
| 25 | + "phpcbf": "phpcbf", |
| 26 | + "phpstan": "vendor/bin/phpstan analyze --memory-limit=2G", |
| 27 | + "pest": "vendor/bin/pest", |
| 28 | + "qa": [ |
| 29 | + "@phpcs", |
| 30 | + "@phpstan", |
| 31 | + "@pest" |
| 32 | + ], |
| 33 | + "pest:coverage": "php -d xdebug.mode=coverage vendor/bin/pest --coverage", |
25 | 34 | "analyze": "vendor/bin/phpstan analyze", |
26 | 35 | "git-release": "bin/git-release.sh", |
27 | 36 | "build": [ |
|
47 | 56 | "allow-plugins": { |
48 | 57 | "composer/installers": true, |
49 | 58 | "phpstan/extension-installer": true, |
| 59 | + "dealerdirect/phpcodesniffer-composer-installer": true, |
50 | 60 | "pestphp/pest-plugin": true, |
51 | 61 | "lloc/composer-i18n-scripts": true |
52 | 62 | } |
|
0 commit comments