Repository navigation
fix(ci): constrain PHPMD to 2.x for scheduled CI stability - #37
Merged
Alexandre-T merged 1 commit intoOct 12, 2026
Merged
Alexandre-T merged 1 commit into
Alexandre-T merged 1 commit into
Conversation
16 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #37 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 149 149
===========================================
Files 10 10
Lines 303 303
===========================================
Hits 303 303 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Pin phpmd to version 2.15 for CI stability and update ruleset exclusions
Alexandre-T
force-pushed
the
36-fixci-pin-phpmd-to-215-to-restore-scheduled-ci-stability
branch
from
October 12, 2026 11:17
a4b7f6d to
ffc943c
Compare
Alexandre-T
marked this pull request as ready for review
October 12, 2026 11:23
Alexandre-T
deleted the
36-fixci-pin-phpmd-to-215-to-restore-scheduled-ci-stability
branch
October 12, 2026 11:26
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.
Pull Request
Closes #36
Summary
Constrain
phpmd/phpmdto^2.15so Composer updates retain compatible PHPMD 2.x releases instead of installing PHPMD 3.x.The October 9 scheduled workflow failed after an uncontrolled PHPMD/PDepend major upgrade introduced LongMethodName violations in 22 existing test methods. This change restores successful CI without changing application code, test names, or PHPMD rulesets.
The branch also adds repository development instructions in AGENTS.md.
Acceptance criteria
^2.15.lib/andtests/.Validation
Verified revision:
ffc943c05240d99a45e2119b4d2fa6700784db4b.PHP CI #191 completed successfully on October 12, 2026. All PHP 8.3/8.4/8.5 and supported Doctrine Lexer matrix jobs passed. The separate push run skipped its full matrix as designed because an open PR exists.
The PHP 8.3 job confirms:
Commands executed by CI
No application regression tests are added for this dependency constraint change; the existing suite and CI dependency resolution verify the fix.
Standards
Normative references
N/A
Architecture
Architecture decision
N/A
Compatibility
Documentation
Developer handoff
Important implementation decisions
^2.15permits compatible PHPMD 2.x releases while excluding 3.x. Existing rulesets and test method names are preserved. Migration to PHPMD 3.x remains outside this change.Compatibility considerations
No runtime dependencies, public API, or parsing behavior change.
Remaining risks or questions
The next scheduled execution after merge remains to be observed; the successful PR run validates the same workflow installation and analysis steps. Independent review and merge remain pending.