Skip to content
This repository has been archived by the owner on Sep 9, 2018. It is now read-only.

NOTE: Most of this functionality is implemented by --unused-variable-detection-detection

License

Notifications You must be signed in to change notification settings

phan/PhanUnusedVariable

This branch is 7 commits ahead of, 3 commits behind mattriverm/PhanUnusedVariable:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cdaeb56 · May 16, 2018

History

67 Commits
Apr 1, 2018
Mar 31, 2018
Sep 18, 2017
Mar 25, 2018
Feb 21, 2018
Mar 25, 2018
Jun 15, 2017
Mar 25, 2018
May 16, 2018

Repository files navigation

PhanUnusedVariable

Build Status

A plugin for phan/phan that tries to detect unused variables in class methods.

Overview

This is plugin is in a very early WIP stage. Major todos:

  • Refactor code duplication and unnecessary recursion
  • Find cases it does not catch

Run tests

$ composer install
$ cd tests && sh test.sh

A summary is printed at the bottom of the output comparing the actual output with the expected output.

About

NOTE: Most of this functionality is implemented by --unused-variable-detection-detection

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.4%
  • Shell 3.6%