File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1111# - "8.1"
1212 - " 8.0"
1313 - " 7.4"
14- - " 7.3"
1514
1615cache :
1716 directories :
Original file line number Diff line number Diff line change @@ -14,11 +14,7 @@ using [php-stubs/generator](https://github.com/php-stubs/generator).
1414
1515### Requirements
1616
17- - PHP 7.1+
18- - Sodium PHP extension as latest WordPress core uses it and ** compat code is removed** from stubs,
19- Sodium is included in PHP from version 7.2, in 7.1 issue ` pecl install libsodium `
20- or install the ` paragonie/sodium_compat ` package
21- - For PHP <7.3 install the ` symfony/polyfill-php73 ` as development dependency
17+ - PHP 7.4 or 8.0
2218
2319### Installation
2420
Original file line number Diff line number Diff line change 99 ],
1010 "homepage" : " https://github.com/php-stubs/wordpress-stubs" ,
1111 "require-dev" : {
12- "php" : " ~7.3 || ~8.0" ,
13- "nikic/php-parser" : " < 4.12.0 " ,
12+ "php" : " ^7.4 || ~8.0 .0" ,
13+ "nikic/php-parser" : " ^4.13 " ,
1414 "php-stubs/generator" : " ^0.8.3" ,
1515 "phpdocumentor/reflection-docblock" : " ^5.3" ,
1616 "phpstan/phpstan" : " ^1.10.12" ,
1717 "phpunit/phpunit" : " ^9.5"
1818 },
1919 "suggest" : {
2020 "paragonie/sodium_compat" : " Pure PHP implementation of libsodium" ,
21- "symfony/polyfill-php73" : " Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions" ,
2221 "szepeviktor/phpstan-wordpress" : " WordPress extensions for PHPStan"
2322 },
2423 "minimum-stability" : " stable" ,
You can’t perform that action at this time.
0 commit comments