Problem
phpc lint reports generic messages for OOP syntax in 003-MiniWebApp:
unsupported Expr_MethodCall
unsupported Unsupported class body element: PHPCfg\Op\Stmt\ClassMethod
lib/Lint/UnsupportedRegistry.php has no entries for these kinds, so contributors cannot see #58 / #145 in lint output or docs/unsupported-syntax.md.
Goal
Register mappings so lint output includes GitHub issue numbers:
| CFG kind |
Issue |
Stmt_ClassMethod / class body method |
#58 (implementation), #145 (visibility/ctors follow-up) |
Expr_MethodCall |
#58 |
Scope
Acceptance criteria
./phpc lint examples/003-MiniWebApp/public/index.php 2>&1 | grep -E '#58|#145'
Verification
./script/ci-local.sh --filter MiniWebAppSkeletonTest
Local/Docker only — no GitHub Actions.
Dependencies
Links
Problem
phpc lintreports generic messages for OOP syntax in 003-MiniWebApp:lib/Lint/UnsupportedRegistry.phphas no entries for these kinds, so contributors cannot see #58 / #145 in lint output ordocs/unsupported-syntax.md.Goal
Register mappings so lint output includes GitHub issue numbers:
Stmt_ClassMethod/ class body methodExpr_MethodCallScope
UnsupportedRegistry::KIND_TO_ISSUE(exact php-cfg class names fromLinterdiagnostics)docs/unsupported-syntax.mdvia existing script/checktest/unit/MiniWebAppSkeletonTest.phpthat lint JSON mentions#58for method call lineAcceptance criteria
Verification
Local/Docker only — no GitHub Actions.
Dependencies
--allreportsLinks