You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eef8715
Browse filesBrowse the repository at this point in the historyBrowse files
Drop the pending list from the signature parity check
Every class it listed now matches its twin. NodeTraverser's protected
traverseNode()/traverseArray() stay undeclared on purpose — traverse()
walks the tree in one native call — and are listed as a deliberate
difference with the reason instead.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Fdg8n3eEi4ZoXa4dA2k4A
Copy file name to clipboardExpand all lines: turbo-ext/tests/signature-parity.php
+3-26Lines changed: 3 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -26,17 +26,6 @@
26
26
$root = dirname(__DIR__, 2);
27
27
chdir($root);
28
28
29
-
/**
30
-
* Classes whose native declaration still drifts from the twin — class =>
31
-
* reason. Their problems are listed but do not fail the check; an entry
32
-
* whose class matches is reported as stale.
33
-
*
34
-
* @var array<string, string>
35
-
*/
36
-
$knownDrift = [
37
-
'PhpParser\\NodeTraverser' => 'pending',
38
-
];
39
-
40
29
/**
41
30
* Single differences a native class keeps on purpose — class => [pattern
42
31
* matched against the problem text => reason]. A pattern that matches no
@@ -45,6 +34,9 @@
45
34
* @var array<string, array<string, string>>
46
35
*/
47
36
$deliberateDrift = [
37
+
'PhpParser\\NodeTraverser' => [
38
+
'~^method (traverseNode|traverseArray) is not declared natively$~' => 'traverse() walks the tree in one native call with its visitor plan; the protected recursion steps exist only inside it (neither PHPStan nor php-parser subclasses NodeTraverser)',
39
+
],
48
40
'PHPStan\\Analyser\\ExpressionResultStorage' => [
49
41
'~^property (exprResults is not declared natively|(exprsById|resultsById) is declared natively but not in PHP)$~' => 'the result table is two id-keyed arrays instead of the twin\'s SplObjectStorage',
0 commit comments