Repository navigation
Next minor released - #100
Merged
Merged
Conversation
…contract violations
…ailure and improve report handling; update ViolationRecord docblock for clarity
…for ViolationCollector and Config
…erableWrapper, and TypePHP; add methods for retrieving, clearing, and exporting violations
… clearing functionality
…lculation and grouping logic
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
…t 8.2 and 8.3 ci matrix from failing
This was
linked to
issues
Oct 3, 2026
… their return statements wrapped in ternary expressions, converting the return value into an rvalue and emitting 'Notice: Only variable references should be returned by reference'. Now emits a pre-return guard statement, keeping the return expression intact while preserving runtime type contract validation.
…tten into `isset(checkStaticProperty(...))`. Marks variables inside `Isset_`, `Empty_`, and `AssignRef` as write/reference context so they are not replaced with call expressions. Also adds support for `static-closure` identifier types on static properties.
…signs a parent's property
…rue one read early, and PharData emits a warning
…or code style checks and static analysis
…ion assignment checks with related tests
- Renamed `createPathCheckCall` to `createMemberAssignCheckCall` in NodeBuilder for clarity. - Introduced `MemberAssignChecker` to handle member mutation assignments, improving separation of concerns. - Added `validateCollectionElementMutation` method in InlineChecker for direct validation of mutated collection elements in hybrid mode. - Updated `RuntimeTypeChecker` to utilize `MemberAssignChecker` for member assignment checks. - Implemented `PathMutator` and `StructureMutator` for efficient data structure mutation along paths and chains. - Enhanced unit tests for `MemberAssignChecker`, `StructureMutator`, and `RuntimeTypeChecker` to cover various scenarios including hybrid validation. - Added tests for array dimension assignment validation in hybrid and full modes.
…fter exiting bare blocks
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.
No description provided.