|
1 | 1 | { |
2 | 2 | "name": "php-stubs/wordpress-stubs", |
3 | 3 | "description": "WordPress function and class declaration stubs for static analysis.", |
| 4 | + "license": "MIT", |
4 | 5 | "keywords": [ |
5 | 6 | "wordpress", |
6 | 7 | "static analysis", |
7 | 8 | "phpstan" |
8 | 9 | ], |
9 | 10 | "homepage": "https://github.com/php-stubs/wordpress-stubs", |
10 | | - "license": "MIT", |
11 | | - "replace": { |
12 | | - "giacocorsiglia/wordpress-stubs": "*" |
13 | | - }, |
14 | 11 | "require-dev": { |
15 | 12 | "php": "~7.3 || ~8.0", |
16 | | - "phpdocumentor/reflection-docblock": "^5.3", |
| 13 | + "nikic/php-parser": "< 4.12.0", |
17 | 14 | "php-stubs/generator": "^0.8.0", |
18 | | - "phpstan/phpstan": "^1.2", |
19 | | - "nikic/php-parser": "< 4.12.0" |
| 15 | + "phpdocumentor/reflection-docblock": "^5.3", |
| 16 | + "phpstan/phpstan": "^1.2" |
| 17 | + }, |
| 18 | + "replace": { |
| 19 | + "giacocorsiglia/wordpress-stubs": "*" |
20 | 20 | }, |
21 | 21 | "suggest": { |
22 | | - "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan", |
23 | 22 | "paragonie/sodium_compat": "Pure PHP implementation of libsodium", |
24 | | - "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions" |
| 23 | + "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", |
| 24 | + "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" |
25 | 25 | }, |
26 | 26 | "minimum-stability": "stable", |
| 27 | + "config": { |
| 28 | + "allow-plugins": { |
| 29 | + "php-stubs/generator": true |
| 30 | + } |
| 31 | + }, |
27 | 32 | "scripts": { |
28 | 33 | "post-install-cmd": "@composer --working-dir=source/ update --no-interaction", |
29 | | - "post-update-cmd" : "@composer --working-dir=source/ update --no-interaction", |
| 34 | + "post-update-cmd": "@composer --working-dir=source/ update --no-interaction", |
30 | 35 | "cleanup": "git status --short --ignored | sed -n -e 's#^!! ##p' | xargs -r rm -vrf" |
31 | 36 | }, |
32 | 37 | "scripts-descriptions": { |
|
0 commit comments