Skip to content

Release/4.1.0#35

Merged
turegjorup merged 23 commits intomainfrom
release/4.1.0
Mar 20, 2026
Merged

Release/4.1.0#35
turegjorup merged 23 commits intomainfrom
release/4.1.0

Conversation

@turegjorup
Copy link
Copy Markdown
Collaborator

Release 4.1.0

turegjorup and others added 23 commits March 9, 2026 13:13
6896: Update composer dependencies
- Add 24 new tests covering all untested methods and error paths
- Fix JWKS verification keys not being saved to cache (missing save() call)
- Document JWT::$leeway static property limitation for multi-tenant setups
- Document exp claim validation delegation to firebase/php-jwt
- Add userinfo_endpoint to mock OpenID configuration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix anonymous class brace style to comply with PSR-12
- Add unreleased changelog entries for test coverage and cache fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace monolithic pr.yaml (shivammathur/setup-php) with separate
  workflow files using docker compose, following the itk-dev devops template
- Add phpfpm84 and phpfpm85 services using compose extends
- Run unit tests across PHP 8.3, 8.4, and 8.5
- Fix implicit nullable parameters deprecated in PHP 8.4
- Update actions/checkout to v5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add `user: ${COMPOSE_USER:-deploy}` to phpfpm service, matching the
itk-dev devops template pattern. CI sets COMPOSE_USER=runner so
composer can write to the volume-mounted workspace.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Consolidate separate phpcs, phpstan, and phpunit workflows into a single
php.yaml workflow. Update composer.yaml with prefer matrix and inline
user flag. Remove COMPOSE_USER env var in favor of --user flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use per-combination Docker services (PHP version × dependency set) with
isolated named volumes to prevent vendor cross-contamination between
matrix runs. Align test:matrix pattern with openid-connect-bundle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace php.yaml (had duplicate composer content) with proper PHP
  workflow including coding-standards, phpstan, and unit-tests jobs
- Update service names to match docker-compose.yml (phpfpm84-stable,
  phpfpm85-stable instead of phpfpm84, phpfpm85)
- Add docker network create frontend steps to all jobs
- Remove pr.yaml (content moved to php.yaml)
- Remove unnecessary matrix from composer-validate job
- Fix Taskfile.yml prettier formatting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restore php.yaml with correct service names for CI matrix. Simplify
docker-compose base service to match itkdev template 3.2.1 and add
simple phpfpm84/phpfpm85 services. Matrix services now extend their
version-specific parent instead of repeating image overrides.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add user, networks, and extra_hosts to phpfpm base service to fix CI
permission errors (composer.lock write denied). Matches the pattern
from openid-connect-bundle PR #27.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add composer:check task (validate, normalize, audit). Rename analyze to
analyze:php for clarity. Add composer:check to pr:actions. Simplify
test:matrix formatting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Correct inconsistent 2-space indentation in composer:check and
test:matrix tasks to match the 4-space convention used throughout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add 100% test coverage, fix JWKS cache bug, and modernize CI
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@7d42828). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main       #35   +/-   ##
========================================
  Coverage        ?   100.00%           
  Complexity      ?        62           
========================================
  Files           ?         1           
  Lines           ?       172           
  Branches        ?         0           
========================================
  Hits            ?       172           
  Misses          ?         0           
  Partials        ?         0           
Flag Coverage Δ
unittests 100.00% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@turegjorup turegjorup self-assigned this Mar 20, 2026
@turegjorup turegjorup merged commit 9e069c1 into main Mar 20, 2026
16 checks passed
@turegjorup turegjorup deleted the release/4.1.0 branch March 20, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant