-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CMSP-676] WP Redis PHP 8.3 compatibility checks #446
Conversation
still need to enable redis
so they're easier to see and because I'm a dork
and export the WP_REDIS_USE_CACHE_GROUPS var for redis tests
if [ ${{ matrix.redis_enabled }} = 'true' ]; then | ||
export WP_REDIS_USE_CACHE_GROUPS=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you made ${{ matrix.redis_enabled }}
1 and 0, you could just export the env variable and lose the conditional but then you don't have the emoji 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping the damn emoji. 😀
"shasum": "" | ||
}, | ||
"require": { | ||
"php": "^7.1 || ^8.0" | ||
"php": "^8.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could this cause us to unintentionally drop 7.4 compat?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so.
There aren't any required libraries that are consumed by users. So there's nothing that Composer knows about that users on 7.4 would care about. For our 7.4 testing, we composer update
specifically because some of the dependencies are different between 7.x and 8.x (for the 8.x builds we don't need to composer update
, we can just composer install
). I think this must've gotten auto-changed due to some dependency package requiring a higher version of PHP.
pantheon-systems/wpunit-helpers
install-wp-tests.sh
from version control (installed viawpunit-helpers
)object-cache.php