1 个仓库
Identification of unreachable code, unused variables, and redundant logic within source files.
Distinct from PHP Code Analysis: Focuses specifically on detecting unused or unreachable code, whereas PHP Code Analysis is a broader category for structural metadata.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Dead Code Detection. Refine with filters or upvote what's useful.
Phan is a static analyzer and type checker for PHP that identifies bugs and type incompatibilities without executing the code. It serves as a quality gate for continuous integration pipelines and a tool for verifying type safety, specifically checking union types, generics, and array shapes. The project is distinguished by its use of a background daemon and Language Server Protocol implementation, which provide real-time diagnostics and navigation within editors. It also features a baseline-based suppression system that allows developers to record existing errors in a snapshot file to focus e
Identifying unused variables, unreachable code blocks, and redundant conditions to clean up PHP codebases.