diff --git a/docs/SYMFONY_7.4_UPGRADE_PLAN.md b/docs/SYMFONY_7.4_UPGRADE_PLAN.md index 5682412..92e4162 100644 --- a/docs/SYMFONY_7.4_UPGRADE_PLAN.md +++ b/docs/SYMFONY_7.4_UPGRADE_PLAN.md @@ -3,7 +3,7 @@ **Project:** MyEP Next Booking **Current Version:** Symfony 6.4.31 **Target Version:** Symfony 7.4 (LTS) -**Date:** 2026-01-05 +**Date:** 2026-01-09 **Status:** Ready for Upgrade --- @@ -26,9 +26,8 @@ The MyEP Next Booking application is well-positioned for a Symfony 7.4 upgrade. - PHP version: 8.2.29 (compatible) - OAuth2 Server Bundle: 1.1.0 (compatible) - Stimulus Bundle: 2.32.0 (compatible) -- KnpMenuBundle: Removed (no longer in use) - Doctrine ORM: 3.6.0 (compatible) -- All 312 tests passing +- All 326 tests passing - Email validation mode: Configured (html5) - 18 test-only deprecation warnings (cosmetic, do not affect runtime) @@ -49,11 +48,6 @@ The previous upgrade plan (dated 2025-12-06) has been updated. All pre-upgrade t | Email validator "loose" mode deprecation | Needs fix | **Completed** (validator.yaml configured) | | Failing test in BookingDataProcessorTest | Unrelated to upgrade | **Resolved** (test now passes) | -### Items No Longer Relevant -| Item | Reason | -|------|--------| -| KnpMenuBundle upgrade | **Bundle removed from project** | - --- ## Current State Analysis @@ -81,6 +75,10 @@ All 33 Symfony packages currently at 6.4.x need version constraint updates to 7. | `symfony/webpack-encore-bundle` | 2.4.0 | Yes | | `symfony/monolog-bundle` | 3.11.0 | Yes | | `zenstruck/schedule-bundle` | 1.9.0 | Yes | +| `league/flysystem-bundle` | 3.6.1 | Yes | +| `league/flysystem-sftp-v3` | 3.30.0 | Yes | +| `nelexa/zip` | 4.0.2 | Yes (verify post-upgrade) | +| `spatie/crypto` | 2.1.1 | Yes | ### Code Quality Assessment @@ -124,7 +122,7 @@ All Email constraints in the codebase also explicitly use `mode: 'strict'`: **Impact:** These warnings are cosmetic and do not affect: - Runtime behavior (all Email constraints use explicit `mode: 'strict'`) - Symfony 7.4 compatibility (no code changes needed) -- Test results (all 312 tests pass) +- Test results (all 326 tests pass) **Note:** Warnings can be silenced with `SYMFONY_DEPRECATIONS_HELPER=disabled` if desired. @@ -320,6 +318,10 @@ Deprecations accumulated in Symfony 7.1-7.4 will need review: - Verify Toastify notifications - Check TailwindCSS compilation +6. **Verify ZIP File Functionality** + - Test any features using `nelexa/zip` (package last updated 2022) + - Verify document generation and downloads work correctly + ### Phase 4: Bug Fixes (0-2 hours) Address any issues discovered during testing: @@ -386,7 +388,7 @@ ddev exec vendor/bin/dep rollback production ## Testing Checklist ### Unit Tests -- [ ] All PHPUnit tests pass (312 tests) +- [ ] All PHPUnit tests pass (326 tests) - [ ] No new deprecation warnings - [ ] Code coverage maintained @@ -442,7 +444,7 @@ Symfony 8.0 was released alongside 7.4 (November 2025) with identical features b ## Success Criteria -- [ ] All PHPUnit tests pass (312 tests) +- [ ] All PHPUnit tests pass (326 tests) - [ ] No deprecation warnings in Symfony Profiler - [ ] All critical user flows functional - [ ] OAuth2 authentication working @@ -469,7 +471,7 @@ Symfony 8.0 was released alongside 7.4 (November 2025) with identical features b --- -**Document Version:** 5.0 -**Previous Version:** 4.0 (dated 2025-12-06) -**Last Updated:** 2026-01-05 +**Document Version:** 6.0 +**Previous Version:** 5.0 (dated 2026-01-05) +**Last Updated:** 2026-01-09 **Status:** Ready for Symfony 7.4 Upgrade