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
Requires
- nikic/php-parser: ^2.1
Requires (Dev)
- codeception/codeception: ^2.2
- satooshi/php-coveralls: ^1.0
README
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)
- Object in function parameter
- Factory mode
- Same function name in both parent and child class