capslock-studio/filter-class

Reliable way to find out functions you do not use with PHP.

2.1.4 2017-07-18 07:19 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:53:15 UTC


README

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