A static analysis tool that scans PHP projects for usages of deprecated code, with special support for Symfony.
SensioLabs DeprecationDetector is a static analysis tool that scans PHP source code to find usages of deprecated methods, classes, interfaces, and services. It helps developers identify outdated code patterns, especially in Symfony projects, by parsing `@deprecated` annotations to ensure smoother upgrades and maintain code quality.
PHP developers, particularly those working with Symfony frameworks, who need to audit their codebases for deprecated elements during maintenance or upgrade cycles.
It provides automated, accurate detection of deprecated code without requiring code execution, saving time over manual reviews and reducing upgrade risks with specialized Symfony service detection.
SensioLabs DeprecationDetector is a command-line tool that performs static code analysis to identify deprecated methods, classes, interfaces, and services within PHP projects. It is particularly useful for Symfony applications, helping developers maintain code quality and prepare for upgrades by detecting @deprecated annotations.
The tool emphasizes early detection of deprecated code to facilitate smoother upgrades and maintain long-term project health, leveraging static analysis for accuracy and performance.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Scans source code without execution, enabling safe deprecation detection in any environment, as described in the basic knowledge section of the README.
Specifically identifies deprecated services in Symfony projects, offering specialized insights beyond general PHP deprecations, per the project description.
Supports CLI, HTML, and simple list outputs, allowing integration into various workflows, as shown in the usage examples with --log-html and --output options.
Allows excluding specific deprecated method calls using the --filter-methods option, providing control over scan focus, demonstrated in the excluding section.
The README explicitly states it is abandoned and will not receive updates, making it unreliable for long-term or critical projects.
Admitted to be in a very early stage with bugs and quirks, reducing accuracy and stability for production use.
Primarily optimized for Symfony, so it may not fully detect deprecations in other PHP frameworks or custom code, limiting its general applicability.