Skip to content

Commit fb52c22

Browse files
authored
Update dependencies: PHPUnit, etc. (#260)
PHP 5.4 → 7.4 minimum PHPUnit 8 → 9.6 Yoast PHPUnit Polyfills 1 → 4 Composer Installers 1 → 2 Symfony YAML 5.4.45 → 5.4.53
1 parent a4ffec0 commit fb52c22

6 files changed

Lines changed: 555 additions & 309 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
vendor
22
coverage
33
node_modules
4+
.phpunit.result.cache

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We are currently looking for contributors to help us complete the work on the pa
77
There is a guide to developing for developer.wordpress.org in the [WordPress documentation handbook](https://make.wordpress.org/docs/handbook/projects/devhub/)
88

99
## Requirements
10-
* PHP 5.4+
10+
* PHP 7.4+
1111
* [Composer](https://getcomposer.org/)
1212
* [WP CLI](https://wp-cli.org/)
1313

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"require" : {
3535
"php" : ">=7.4",
36-
"composer/installers" : "~1.0",
36+
"composer/installers" : "^2.0",
3737
"phpdocumentor/reflection" : "^3.0@dev",
3838
"phpdocumentor/reflection-docblock" : "dev-release/2.x as 2.0.5",
3939
"erusev/parsedown" : "~1.7",
@@ -42,9 +42,9 @@
4242
"psr/log" : "~1.0"
4343
},
4444
"require-dev" : {
45-
"phpunit/phpunit": "~8",
45+
"phpunit/phpunit": "^9.6",
4646
"spatie/phpunit-watcher": "^1.23",
47-
"yoast/phpunit-polyfills": "^1.0"
47+
"yoast/phpunit-polyfills": "^4.0"
4848
},
4949
"scripts" : {
5050
"test": "phpunit",

0 commit comments

Comments
 (0)