From f1f240d968108277cf274c9a8484470be1cff54b Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Mon, 7 Jul 2025 09:50:44 -0500 Subject: [PATCH 1/6] Update Codeception to 3.7.13 --- composer.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/composer.json b/composer.json index b459dc585c..8b887c06a3 100644 --- a/composer.json +++ b/composer.json @@ -66,27 +66,19 @@ "require-dev": { "automattic/vipwpcs": "^3.0.0", "bvanhoekelen/performance": "^2.5.1", - "codeception/codeception": "^4.2.2", - "codeception/module-asserts": "^1.3", - "codeception/module-cli": "^1.1", - "codeception/module-db": "^1.2", - "codeception/module-filesystem": "^1.0", - "codeception/module-phpbrowser": "^1.0", "codeception/module-rest": "^1.4", - "codeception/module-webdriver": "^1.4", "codeception/util-universalframework": "^1.0", "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", "fzaninotto/faker": "^1.9", "lucatume/codeception-snapshot-assertions": "^0.4.0", "lucatume/function-mocker": "^1.3.8", "lucatume/function-mocker-le": "^1.0.1", - "lucatume/wp-browser": "3.2.3", + "lucatume/wp-browser": "3.7.13", "lucatume/wp-snaphot-assertions": "^1.1", "phpcompatibility/phpcompatibility-wp": "*", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^1.12", "phpstan/phpstan-deprecation-rules": "^1.2", - "phpunit/phpunit": "^6.5", "stellarwp/coding-standards": "dev-main", "spatie/phpunit-snapshot-assertions": "^1.4.2", "szepeviktor/phpstan-wordpress": "*", From 7b5e761682fe00c9eaf7563c2c6568f37e351f49 Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Mon, 7 Jul 2025 14:59:03 -0500 Subject: [PATCH 2/6] Update more --- composer.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 8b887c06a3..1f1d661c19 100644 --- a/composer.json +++ b/composer.json @@ -66,21 +66,20 @@ "require-dev": { "automattic/vipwpcs": "^3.0.0", "bvanhoekelen/performance": "^2.5.1", - "codeception/module-rest": "^1.4", - "codeception/util-universalframework": "^1.0", + "codeception/module-rest": "^3.4.1", + "codeception/util-universalframework": "^1.0.0", "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", "fzaninotto/faker": "^1.9", - "lucatume/codeception-snapshot-assertions": "^0.4.0", - "lucatume/function-mocker": "^1.3.8", + "lucatume/codeception-snapshot-assertions": "^1.4.0", + "lucatume/function-mocker": "^2.0.0", "lucatume/function-mocker-le": "^1.0.1", - "lucatume/wp-browser": "3.7.13", - "lucatume/wp-snaphot-assertions": "^1.1", + "lucatume/wp-browser": "4.5.4", + "lucatume/wp-snaphot-assertions": "^2.0.0", "phpcompatibility/phpcompatibility-wp": "*", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^1.12", "phpstan/phpstan-deprecation-rules": "^1.2", "stellarwp/coding-standards": "dev-main", - "spatie/phpunit-snapshot-assertions": "^1.4.2", "szepeviktor/phpstan-wordpress": "*", "wp-cli/wp-cli": "2.*", "wp-coding-standards/wpcs": "^3.1.0" From 88e799d0a168050c4a174cd703fca075a2b85a4c Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Mon, 7 Jul 2025 15:02:30 -0500 Subject: [PATCH 3/6] Update test suite --- .github/workflows/tests-php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-php.yml b/.github/workflows/tests-php.yml index 81b8cbfaeb..41ac180d1a 100644 --- a/.github/workflows/tests-php.yml +++ b/.github/workflows/tests-php.yml @@ -39,7 +39,7 @@ jobs: - name: Configure PHP environment uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: 8.0 # ------------------------------------------------------------------------------ # Checkout slic # ------------------------------------------------------------------------------ From 48ab3a856d0f801119e5d562738b217657c6827d Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Mon, 7 Jul 2025 15:14:48 -0500 Subject: [PATCH 4/6] Update slic PHP version --- .env | 1 + 1 file changed, 1 insertion(+) diff --git a/.env b/.env index 826a04a6ca..76448d77d2 100644 --- a/.env +++ b/.env @@ -2,6 +2,7 @@ PODS_LOAD_DATA=true PODS_REBUILD_DATA=false PODS_ROOT_FOLDER="pods" +SLIC_PHP_VERSION="8.0" # This file will be consumed by both the CI and the tests. # Some environment variables might not apply to one but might apply to the other: modify with care. From c3b3b10a49bba3dcd9795c5547cc72016d1f6a09 Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Mon, 7 Jul 2025 15:18:36 -0500 Subject: [PATCH 5/6] Update PHP version with slic --- .github/workflows/tests-php.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests-php.yml b/.github/workflows/tests-php.yml index 41ac180d1a..22cf6c94e2 100644 --- a/.github/workflows/tests-php.yml +++ b/.github/workflows/tests-php.yml @@ -98,6 +98,7 @@ jobs: run: | docker network prune -f ${SLIC_BIN} use ${GITHUB_REPOSITORY#*/} + ${SLIC_BIN} slic php-version 8.0 ${SLIC_BIN} composer set-version 2 ${SLIC_BIN} composer install # ------------------------------------------------------------------------------ From 7dfa3a668ee648070c3343fa99b8a71ade465e54 Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Mon, 7 Jul 2025 15:22:41 -0500 Subject: [PATCH 6/6] Fix slic command --- .github/workflows/tests-php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-php.yml b/.github/workflows/tests-php.yml index 22cf6c94e2..645e4a699b 100644 --- a/.github/workflows/tests-php.yml +++ b/.github/workflows/tests-php.yml @@ -98,7 +98,7 @@ jobs: run: | docker network prune -f ${SLIC_BIN} use ${GITHUB_REPOSITORY#*/} - ${SLIC_BIN} slic php-version 8.0 + ${SLIC_BIN} php-version 8.0 ${SLIC_BIN} composer set-version 2 ${SLIC_BIN} composer install # ------------------------------------------------------------------------------