Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request:
This PR updates all the Google packages we rely on for the Google Ads API packages to make them fully PHP 8.4 compatible.
Note that some of the changes to the Google Ads API packages itself have only been applied to V18 of the API. Currently we aren't fully ready to switch from V16 to V18 yet as we need to become compatible with the removal of the page_size parameter. Until we will need to continue using a small patch script to test changes with PHP 8.4.
Composer package updates
We also updated the script to remove newer versions of the Ads API library V17 and V18, to keep the bundled size lower until we are ready to switch to V18.
Detailed test instructions:
rm -rf vendor && composer install
bin/fix-packages.php
php bin/fix-packages.php
bin/install-wp-tests.sh <db> <db_user> <db_pass>
/tmp/woocommerce-9.4.3/plugins/woocommerce
with the contents of the zip file provided belowwoocommerce-9.4.3-patched-for-php-8-4.zip
/usr/bin/php8.4 vendor/bin/phpunit
Additional details:
peeuvX-1Zh-p2
Changelog entry