Repository navigation
lens: a PHP .inc file resolves to php on PHP evidence (agy-authored, Sonnet-checked) (Fixes #4973) - #5014
Merged
Conversation
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 13, 2026 02:50
squid-protocol
enabled auto-merge (squash)
October 13, 2026 02:50
Owner
Author
|
No description provided. |
Contributor
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.
agy-authored, Sonnet-checked. Fixes #4973.
Fix: php gains
internal_discriminator(<?php/<?=) andextensions_needing_discriminator: [".inc"](same mechanism as objective-c.h), so a.incis PHP on PHP evidence (Tier 2) and never by neighbourhood vote.Class: shared
.inc(cpp, c, php, fortran, assembly). php: handled. Tests cover 9 PHP styles and 7 non-PHP styles, each alone and beside c/cpp/fortran/assembly/php neighbours, plus.phpunaffected and the discriminator's ReDoS immunity.Golden: regenerated with
crucible_check.py --update --yes, both legs. Re-run by the checker on merged main: no drift.scope_check --expect phpdiffs: php, plusschema.phpfiles under the sql corpus dir that now get "Ext + Internal Signature" proof (a.phpwith PHP evidence; same cause), plus rollups.Gates:
pr_gates --fast5/5,--ratchets7/7, 0 skipped.Cross-repo: none.
🤖 Generated with Claude Code