

a6c62d77df
feat(kernel): R7b PHP walker — php module, tree-sitter-php 0.24.2 bump, php default-routed (#1380)
Fourth and final R7b batch-2 port, checklist-first recipe
(docs/design/php-kernel-port-checklist.md).
Grammar bump first, validated standalone with the diff ENUMERATED + CLASSIFIED
(unlike rust/ruby the php bump is NOT graph-neutral): tree-sitter-php ^0.22
(tree-sitter-wasms, 2023) → v0.24.2, the full HTML-interleaving `php` variant
(the walker calls LANGUAGE_PHP, never PHP_ONLY) — crate pinned =0.24.2, wasm
built from tag 5b5627f's checked-in php/src/parser.c + scanner.c + shared
common/scanner.h (all sha-matched against the crates.io tarball, ABI 14→15).
Old-vs-new full-init diffs decompose completely into: (1) the anonymous_class
wrapper shape (anon-class nodes/methods re-shape — 2,532 rows), (2) grouped
nested-clause skip (absent in the gate repos, fixture-pinned), (3) 32
formerly-erroring files parsing clean (monolog Level.php, symfony
Request/Response with 8.4 property hooks), (4) a survey-missed category found
at gate time: the 8.4 parenthesis-free `new X()->m()` chaining misparse fix
(86 garbage instantiates refs disappear, precision-positive), plus resolution
RIPPLE proven mechanically (every remaining ref-table flip pairs 1:1 with a
resolved edge on the opposite side; node rows byte-stable outside 1/3/4).
Walker (java.rs chassis + the php specifics) preserves bug-for-bug: the
visitNode hook (const_declaration at ANY scope → bare `constant` nodes, values
never walked; trait-use → implements refs WITH filePath via the ruby port's
REF_FLAG_FILE_PATH wire slot), FIRST-namespace whole-file scoping (braced
namespaces scope nothing; namespaced files DROP top-level const value-ref
targets), the import trio (single/aliased/grouped incl. the nested-clause
skip, include/require static-literal-only, `Foo\Bar::Baz` use refs), the
call-encoding zoo (DOT-joined scoped calls, `this->prop.m` #1251 encoding,
`Cls::factory().m` fluent with inner args dropped, nullsafe `?->` emitting
nothing, unsuppressed literal receivers), interface multi-extends
first-base-only drop, anon-class methods as file-level functions (top) or
vanishing (in-body), property type-hints emitting no field refs, the
final-modifier-as-type signature quirk, HOF-gated string callables
(skipGate) + array callables, and the `name`-node value-ref reader.
Gates: sweeps 0-diff monolog 217/217, laravel-framework 3007/3008, symfony
10726/10737 (13,950 files byte-parity; 12 deferrals = exactly the predicted
genuinely-broken fixtures, ≈0–0.1%); full-init dumps byte-identical ×3
(16.1k/354.2k/702.8k lines); kernel-php-parity suite (torture + drupal
.module + leading-HTML fixtures, CRLF variants, wire-flag pin, defer) + php
grammar-parity row; full suite 2,622 green ×2 under CODEGRAPH_KERNEL_EXPECT=1.
DEFAULT_ROUTED += php (13 languages).
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 16:08:22 -05:00
..
2026-04-06 14:27:13 -05:00
2026-07-20 16:08:22 -05:00
2026-06-02 10:15:27 -05:00
2026-06-22 12:06:35 -05:00
2026-06-28 22:46:24 -05:00
2026-07-06 09:07:15 -05:00
2026-07-12 20:09:03 -05:00
2026-07-15 19:11:06 -05:00
2026-07-19 17:48:27 -05:00
2026-07-15 20:05:35 -05:00
2026-06-20 21:22:52 -05:00
2026-07-02 18:41:55 -05:00
2026-07-02 19:02:16 -05:00
2026-06-13 14:48:52 -05:00
2026-07-16 14:39:26 -05:00
2026-07-16 15:30:17 -05:00
2026-06-28 22:01:47 -05:00
2026-06-13 15:18:55 -05:00
2026-07-09 20:54:45 -05:00
2026-05-21 15:48:04 -05:00
2026-06-08 00:10:10 -04:00
2026-06-08 22:43:54 -04:00
2026-01-18 18:48:22 -06:00
2026-07-01 12:13:42 -05:00
2026-06-08 01:25:21 -04:00
2026-06-28 20:11:05 -05:00
2026-07-07 09:13:13 -05:00
2026-06-13 13:53:38 -05:00
2026-06-13 12:59:41 -05:00
2026-06-27 13:47:29 -05:00
2026-07-10 12:19:08 -05:00
2026-06-21 14:03:07 -05:00
2026-05-24 04:41:04 -05:00
2026-07-02 12:56:02 -05:00
2026-07-03 14:53:04 -05:00
2026-06-26 20:25:47 -05:00
2026-06-22 12:06:35 -05:00
2026-06-22 12:06:35 -05:00
2026-07-10 16:20:28 -05:00
2026-07-03 14:32:20 -05:00
2026-06-28 22:23:35 -05:00
2026-06-22 12:06:35 -05:00
2026-06-06 11:02:59 -04:00
2026-06-22 16:16:23 -05:00
2026-07-18 01:00:00 -05:00
2026-05-26 02:14:00 -05:00
2026-06-13 09:48:44 -05:00
2026-07-16 16:11:24 -05:00
2026-07-10 12:19:08 -05:00
2026-07-07 14:17:16 -05:00
2026-07-16 14:59:00 -05:00
2026-07-02 17:05:51 -05:00
2026-06-11 15:44:14 -05:00
2026-05-28 12:38:03 -05:00
2026-05-28 23:41:11 -05:00
2026-05-20 10:32:08 -05:00
2026-07-16 14:52:11 -05:00
2026-06-22 18:16:11 -05:00
2026-07-10 03:42:30 -05:00
2026-07-01 13:37:20 -05:00
2026-07-02 17:23:54 -05:00
2026-07-07 10:11:58 -05:00
2026-07-07 13:01:38 -05:00
2026-06-29 23:15:41 -05:00
2026-06-26 20:25:47 -05:00
2026-06-29 23:35:50 -05:00
2026-07-10 10:58:55 -05:00
2026-05-28 15:13:23 -05:00
2026-05-20 18:36:18 -05:00
2026-06-02 14:23:33 -05:00
2026-07-17 16:56:41 -05:00
2026-07-20 13:46:12 -05:00
2026-07-20 16:08:22 -05:00
2026-07-20 16:08:22 -05:00
2026-07-20 15:44:13 -05:00
2026-07-20 00:08:09 -05:00
2026-07-20 16:08:22 -05:00
2026-07-17 01:28:21 -05:00
2026-06-21 09:45:24 -05:00
2026-07-10 08:25:23 -05:00
2026-06-22 12:41:26 -05:00
2026-06-22 11:31:49 -05:00
2026-07-08 23:18:23 -05:00
2026-05-25 23:48:10 -05:00
2026-05-26 15:39:48 -05:00
2026-06-02 17:49:15 -05:00
2026-05-25 19:54:56 -05:00
2026-06-26 19:31:12 -05:00
2026-05-20 11:35:13 -05:00
2026-06-22 12:06:35 -05:00
2026-07-07 08:45:12 -05:00
2026-06-20 13:23:16 -05:00
2026-06-27 15:47:31 -05:00
2026-06-23 12:57:47 -05:00
2026-06-20 22:34:24 -05:00
2026-07-16 16:01:08 -05:00
2026-07-07 09:46:22 -05:00
2026-07-06 12:41:32 -05:00
2026-06-22 12:06:35 -05:00
2026-05-21 15:48:04 -05:00
2026-05-21 15:48:04 -05:00
2026-05-31 19:05:40 -05:00
2026-07-07 08:45:12 -05:00
2026-06-02 10:15:27 -05:00
2026-06-20 15:17:31 -05:00
2026-07-06 14:20:19 -05:00
2026-07-10 03:42:30 -05:00
2026-07-10 15:47:57 -05:00
2026-06-20 20:30:13 -05:00
2026-06-26 20:25:47 -05:00
2026-07-10 12:19:08 -05:00
2026-05-26 03:25:06 -05:00
2026-06-24 14:48:16 -05:00
2026-07-08 23:18:23 -05:00
2026-06-21 11:35:12 -05:00
2026-06-06 11:02:59 -04:00
2026-06-20 14:45:51 -05:00
2026-07-10 17:37:20 -05:00
2026-07-16 15:55:38 -05:00
2026-07-17 08:56:26 -05:00
2026-06-06 11:02:59 -04:00
2026-06-20 19:23:37 -05:00
2026-06-22 12:06:35 -05:00
2026-05-07 20:35:49 -05:00
2026-06-22 17:23:17 -05:00
2026-07-02 17:23:54 -05:00
2026-06-21 01:32:33 -05:00
2026-06-20 22:00:43 -05:00
2026-05-21 15:48:04 -05:00
2026-07-07 08:45:12 -05:00
2026-07-06 09:07:15 -05:00
2026-06-11 12:04:51 -05:00
2026-05-07 22:03:33 -05:00
2026-07-19 17:48:27 -05:00
2026-07-02 17:11:19 -05:00
2026-05-26 02:14:00 -05:00
2026-05-26 02:14:00 -05:00
2026-06-02 10:15:27 -05:00
2026-07-10 12:19:08 -05:00
2026-07-16 18:07:51 -05:00
2026-07-08 23:18:23 -05:00
2026-06-23 11:26:23 -05:00
2026-06-11 14:48:11 -05:00
2026-06-13 12:35:18 -05:00
2026-07-10 17:36:47 -05:00
2026-07-15 19:11:06 -05:00
2026-06-16 12:16:00 -05:00
2026-06-20 20:08:34 -05:00
2026-06-20 20:49:06 -05:00
2026-07-17 11:27:30 -05:00
2026-07-15 19:44:09 -05:00
2026-05-21 18:06:02 -05:00
2026-07-16 15:27:10 -05:00
2026-06-28 19:35:17 -05:00