IP-8352: Update for PHP 8.3/8.4 and PHPUnit 10/11 support#2
Merged
Conversation
- 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.
Clayton-Darlington
approved these changes
Dec 15, 2025
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
Updates the
monolog-memory-usage-processorpackage 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
^8.0→^8.3|^8.4^10.0→^10.0|^11.0(already on PHPUnit 10, maintained compatibility)2. Test Annotations
testProcessor,testProcessorWithoutFormatting)#[Test]attributes needed - tests already follow PHPUnit standards3. CI/CD Workflow
unit-tests.ymlwith newtests.ymlphplintjob for code style checksactions/checkout@v4and latest actions4. Composer.lock Policy
composer.lockalready in.gitignorecomposer.locktracked in repositoryNote 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:
Both with the latest compatible dependencies.
Related: JIRA ticket IP-8352