Skip to content

Commit 8c05da6

Browse files
committed
Drop PHP 7.3 support
1 parent e993a76 commit 8c05da6

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ php:
1111
# - "8.1"
1212
- "8.0"
1313
- "7.4"
14-
- "7.3"
1514

1615
cache:
1716
directories:

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@
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",

0 commit comments

Comments
 (0)