Repository navigation
Run on PHP 8.3 with native phpredis caching - #287
Merged
Merged
Conversation
Update composer.lock to laminas/dependency versions that support PHP 8.3; the previous lock capped several laminas packages at 8.1. Switch the Redis cache connections from the pure-PHP predis client to Symfony Cache RedisAdapter::createConnection(), which uses the native phpredis extension when installed. The connection is built from a new redisDsn config value (redis://<host>/<db>) so the cache targets a dedicated Redis database; add the REDIS_DB var to .env.dist. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ixture The lock now requires PHP 8.2+ so the 8.1 matrix could no longer install. Bump the matrix to 8.3 to match the runtime this branch targets. The dependency bump (psalm 4.27->4.30, stricter laminas-inputfilter and doctrine stubs) surfaces 27 pre-existing issues on unchanged src; record them in a psalm baseline rather than churn unrelated files. WorkshopCreatorTest fetches php8-appreciate's live composer.json; update the expected snapshot to match its current require/require-dev. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Runs the site on PHP 8.3 using the native phpredis extension for caching.
Changes
composer.lock— update tolaminas/*and dependency versions that support PHP 8.3. The previous lock pinned several laminas packages to~8.1.0, so install failed on 8.3.app/config.php— switch the two Redis cache connections from the pure-PHPpredis/predisclient to Symfony Cache'sRedisAdapter::createConnection(), which uses the native phpredis extension when installed. The connection is built from a newredisDsnconfig value (redis://<host>/<db>) so the cache can target a dedicated Redis database..env.dist— add theREDIS_DBvariable thatredisDsnreads.Notes
pdo_sqliteenabled for the in-memory repository tests; the 2WorkshopCreatorTestfailures are a pre-existing stale-fixture mismatch unrelated to this change.🤖 Generated with Claude Code