Beike Product & Technology
Mar 5, 2021 · Backend Development
Automatic Detection of PHP Namespace and Class Constant Issues in Laravel Projects
This article describes a Laravel‑based static analysis tool that automatically scans PHP files to detect missing namespace imports, unresolved class references, and undefined class constants, using regex and token_get_all, and integrates the checks into GitLab CI for early error prevention.
GitLab CILaravelNamespace
0 likes · 11 min read