Skip to content
Reliable way to find out functions you do not use with PHP.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build/coveralls
src
tests
.coveralls.yml
.gitignore
.travis.yml
LICENSE
README.md
codeception.yml
composer.json
composer.lock
php-filter-class

README.md

FilterClass

Coverage Status Code Climate Issue Count

Author: michael34435@capslock.tw

This package will help you to analyze two folders and find out function you do not use(legacy code).

You have to assign two folders.
The first folder we called folderA that it is your based folder.
The second folder we called folderB which you want to analyze.

Composer

composer global require "capslock-studio/filter-class"

ln -s $HOME/.composer/vendor/bin/php-filter-class /usr/local/bin/php-filter-class

Usage

php-filter-class [-t {folderB}] [-t {folderB-2}] [-f {folderA}]

-f    folderA
-t    folderB

Limitation(Knowing Issue)

  1. Object in function parameter
  2. Factory mode
  3. Same function name in both parent and child class
You can’t perform that action at this time.