|
4 | 4 | "license": "GPL-3.0-or-later", |
5 | 5 | "type": "wordpress-plugin", |
6 | 6 | "require": { |
7 | | - "php": ">=7.2", |
| 7 | + "php": ">=8.2", |
8 | 8 | "composer/installers": "^1.0 || ^2.0" |
9 | 9 | }, |
10 | 10 | "require-dev": { |
11 | 11 | "dealerdirect/phpcodesniffer-composer-installer": "0.7.0", |
12 | 12 | "ergebnis/composer-normalize": "^2", |
13 | 13 | "humanmade/coding-standards": "dev-upgrade-wpcs", |
14 | | - "php-stubs/wordpress-stubs": "^5.5", |
| 14 | + "php-stubs/wordpress-stubs": "^6.9", |
15 | 15 | "phpcompatibility/phpcompatibility-wp": "2.1.0", |
16 | | - "phpstan/phpstan": "0.12.57", |
| 16 | + "phpstan/phpstan": "^2", |
17 | 17 | "phpunit/phpunit": "^9.5.20", |
18 | | - "roots/wordpress": "~6.6.0", |
19 | | - "szepeviktor/phpstan-wordpress": "0.7.1", |
| 18 | + "roots/wordpress": "~6.9.0", |
| 19 | + "szepeviktor/phpstan-wordpress": "^2", |
20 | 20 | "vlucas/phpdotenv": "^3", |
21 | 21 | "wp-cli/db-command": "^2", |
22 | | - "wp-phpunit/wp-phpunit": "~6.6.0", |
| 22 | + "wp-phpunit/wp-phpunit": "~6.9.0", |
23 | 23 | "yoast/phpunit-polyfills": "^1.0" |
24 | 24 | }, |
25 | 25 | "repositories": { |
|
36 | 36 | "roots/wordpress-core-installer": true |
37 | 37 | }, |
38 | 38 | "platform": { |
39 | | - "php": "7.4" |
| 39 | + "php": "8.2" |
40 | 40 | }, |
41 | 41 | "preferred-install": "dist", |
42 | 42 | "sort-packages": true |
|
58 | 58 | "phpcs -p --cache=tests/cache/phpcs ." |
59 | 59 | ], |
60 | 60 | "test:phpstan": [ |
61 | | - "phpstan analyze" |
| 61 | + "phpstan analyze --memory-limit=1G" |
62 | 62 | ], |
63 | 63 | "test:ut": [ |
64 | 64 | "wp db reset --yes --path=tests/wordpress #", |
|
0 commit comments