Repository navigation
Release PHP EnumEx 3.0.0 - #23
Merged
Merged
Conversation
gachakra
commented
Dec 3, 2026
gachakra
left a comment
Owner
Author
There was a problem hiding this comment.
Independently reviewed the requested release target 89faf675503a1dc797a1e6bd084dfdd3aeb91f3d against 22ef06cf4ad158509ffece0a950aad75466b06ee. No actionable findings or release blockers.
- Release and migration. I compared the public method inventory with the published
v2.0.0tag. The migration guide accounts for the native namespace moves and removals or renames, including the distinction between collection elements and native trait cases. It explains inherited method collisions and links to the Class-based shortcut migration. The existingnew self()factory contracts remain accurate. Packagist still listsv2.0.0as the latest stable release and GitHub has no v3 tag at review time. The public^3.0install remains a post-publication check. Packagist metadata - README and references. The two opening examples and the three short core examples produced the documented results on PHP 8.4 and 8.5. I linted 52 PHP fences and ran 15 contextual assertion groups on both versions, using the stated enum definitions or linked fixtures where needed. Seven Mermaid blocks parsed. I checked 205 repository link and anchor occurrences and followed 61 relative links within the pinned documentation revision. I found no lost contract in the move to the API and development pages. The Git and Composer archives contain both READMEs and the expected package files. I also installed the release ZIP in a clean consumer using local Composer metadata for
3.0.0and exercised the v3 autoloader. - ADRs and policy. The ADR status changes match the reviewed v3 implementations, with deferred work still identified as such. The README scope, owner-approval requirement, and link-reporting rule in
AGENTS.mdare consistent with the documentation organization. - Verification. PHP 8.4.28 and 8.5.13 each passed 369 PHPUnit tests with 1,577 assertions, 25 executable examples, PHPStan 2.3.7 CI checks, PHP lint, Composer metadata/platform/strict PSR-4 checks, and archive verification. The selection fixture reported its 13 expected diagnostics. The hosted PHP 8.4, PHP 8.5, and Docker jobs all passed on the reviewed commit. GitHub Actions run
Owner
Author
|
123 |
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
Prepare the reviewed v3 API for release. The implementation is already integrated into main; this PR finalizes release documentation and ADR status, rather than merging an old development branch.
Breaking changes and migration
Notonza\PhpEnumEx\EnumCaseandEnumCollectiontoExtension\Case\EnumCaseandExtension\Collection\EnumCollection, respectively. No namespace compatibility aliases. Review FQCNs, imports, PHPDoc and persisted class references.canonicalName()/debugOutput()/listDebugOutput()becomequalifiedName()/qualifiedInfo()/listQualifiedInfo(). Instance collectionelements()becomesnameToElement(); native traitelements()/valueToElement()becomenameToCase()/valueToCase(). CollectionvalueToElement()remains.of()lookup for affected names.^8.4, package name and PSR-4 root unchanged.Release preparation
^3.0and links to the v2.0.0 README for existing applications; explicit migration instructions. Preserve verified commit-pinned runnable examples.Validation
f6acbbehas no outstanding findings.This PR prepares v3.0.0. The installation constraint is intended for the published release; it will not resolve to v3 until publication. No tag or release is created by opening this PR.