Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead code detection #3581

Draft
wants to merge 1 commit into
base: 1.12.x
Choose a base branch
from
Draft

Conversation

janedbal
Copy link
Contributor

  • I just used phpstan-src for testing rewritten dead code analysis (call-graph based) within our shipmonk/dead-code-detector.
  • With just few ignores and one provider, it already reports some truely dead code.
  • To make this usable in CI, few minor tweaks would be required, but I think you can check the violations even now and remove the dead stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant