Skip to content

IP-8352: Update for PHP 8.3/8.4 and PHPUnit 10/11 support#2

Merged
lukewaite-intouch merged 2 commits into
masterfrom
feature/ip-8352-laravel-12-support
Dec 15, 2025
Merged

IP-8352: Update for PHP 8.3/8.4 and PHPUnit 10/11 support#2
lukewaite-intouch merged 2 commits into
masterfrom
feature/ip-8352-laravel-12-support

Conversation

@mjwallace1989

Copy link
Copy Markdown

Summary

Updates the monolog-memory-usage-processor package to support modern PHP versions (8.3 and 8.4) and PHPUnit 10/11, aligning with current PHP ecosystem standards.

Changes Made

1. Composer Dependencies

  • ✅ Updated PHP requirement: ^8.0^8.3|^8.4
  • ✅ Updated PHPUnit: ^10.0^10.0|^11.0 (already on PHPUnit 10, maintained compatibility)

2. Test Annotations

  • ✅ Verified tests use proper naming convention (testProcessor, testProcessorWithoutFormatting)
  • ✅ No #[Test] attributes needed - tests already follow PHPUnit standards

3. CI/CD Workflow

  • ✅ Replaced unit-tests.yml with new tests.yml
  • ✅ Added matrix testing across PHP 8.3 and 8.4
  • ✅ Maintained existing phplint job for code style checks
  • ✅ Updated to use actions/checkout@v4 and latest actions

4. Composer.lock Policy

  • ✅ Confirmed composer.lock already in .gitignore
  • ✅ No composer.lock tracked in repository

Note on Laravel

This package is a Monolog processor and does not depend on Laravel or any Illuminate components. Therefore, Laravel version matrix testing is not applicable. The changes focus on PHP version compatibility and PHPUnit updates.

Testing

The CI workflow will automatically test across:

  • PHP 8.3
  • PHP 8.4

Both with the latest compatible dependencies.


Related: JIRA ticket IP-8352

- Update PHP requirement to ^8.3|^8.4
- Update PHPUnit to ^10.0|^11.0
- Replace unit-tests workflow with matrix testing across PHP 8.3 and 8.4
- Maintain existing phplint workflow for code style checks

This package does not use Laravel, so Laravel version matrix is not applicable.
@lukewaite-intouch
lukewaite-intouch merged commit 88e29e4 into master Dec 15, 2025
6 checks passed
@lukewaite-intouch
lukewaite-intouch deleted the feature/ip-8352-laravel-12-support branch December 15, 2025 21:28
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.

3 participants