Skip to content

Commit a6fd59e

Browse files
renovate[bot]Benjamin Pick
and
Benjamin Pick
authored
Update testing (PHP) (major) (#254)
* Update testing (PHP) * Update php testing * mc * mc * mc --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Pick <[email protected]>
1 parent c97ce93 commit a6fd59e

11 files changed

+1494
-183
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
dist: xenial
4444
php: 7.2
4545
env: PHPUNIT_VERSION=^7.0
46-
- name: php_7_2_and_wp_5_4
46+
- name: php_7_2_and_wp_5_9
4747
dist: xenial
4848
php: 7.2
49-
env: WP_VERSION=5.4.9 CF7_VERSION=v5.1.6 PHPUNIT_VERSION=^7.0
49+
env: WP_VERSION=5.9.9 CF7_VERSION=v5.1.6 PHPUNIT_VERSION=^8.0
5050
- name: bleeding edge
5151
php: 8.2
5252
dist: jammy

composer.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@
2424
"symfony/http-foundation": "5.4.22"
2525
},
2626
"require-dev": {
27-
"roots/wordpress": "5.9.8",
28-
"wp-phpunit/wp-phpunit": "5.9.8",
29-
"yoast/phpunit-polyfills": "1.1.0",
30-
"phpunit/phpunit": "9.6.15"
27+
"roots/wordpress": "6.5.2",
28+
"wp-phpunit/wp-phpunit": "6.5.2",
29+
"yoast/phpunit-polyfills": "2.0.1",
30+
"phpunit/phpunit": "9.6.19"
3131
},
3232
"scripts": {
3333
"test": "phpunit",
3434
"test-external": "phpunit --group external-http",
3535
"install-test": "composer install --ignore-platform-req=php",
36-
"install-prod": "composer install --prefer-dist --optimize-autoloader --no-dev"
36+
"install-prod": "composer install --prefer-dist --optimize-autoloader --no-dev",
37+
"migrate": "phpunit --migrate-configuration"
3738
},
3839
"config": {
3940
"allow-plugins": {

0 commit comments

Comments
 (0)