Upgrade firebase/php-jwt to v7, modernize CI#188
Merged
kidunot89 merged 2 commits intowp-graphql:developfrom Mar 13, 2026
Merged
Upgrade firebase/php-jwt to v7, modernize CI#188kidunot89 merged 2 commits intowp-graphql:developfrom
kidunot89 merged 2 commits intowp-graphql:developfrom
Conversation
…ucture - Upgrade firebase/php-jwt from v6 to v7 with Strauss vendor prefixing - Replace Travis CI with GitHub Actions (tests.yml + package-for-release.yml) - Add Docker-based test infrastructure (Dockerfile, entrypoint.sh, docker-compose.yml) - Fix all functional tests for current WPGraphQL behavior (Content-Type headers, 200 vs 403 responses) - Update wpunit tests for php-jwt v7 Key object API - Remove vendor/ from git tree, rely on composer install in CI - Configure composer archive for clean release packaging
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.
Summary
firebase/php-jwtfrom v6 to v7 with Strauss vendor prefixingKeyobject APIvendor/from git tree — dependencies installed at build timecomposer archivefor clean release packagingMotivation
php-jwt v6 has been blacklisted for security vulnerabilities. v7 requires HS256 keys to be at least 32 bytes and uses
Keyobjects instead of raw strings forJWT::decode().Test plan
FILTER=wpunit docker compose up --build --abort-on-container-exit --exit-code-from wordpressFILTER=functional docker compose up --build --abort-on-container-exit --exit-code-from wordpresscomposer install --no-dev && composer archive --format=zip