Open the-liquid-metal opened 4 years ago
WIP at my fork https://github.com/KminekMatej/yakpro-po
This is probably the most important feature request for this project. It is always a PITA having to ripgrep
for "function ..." in newly included external libraries and exclude the names of their methods by putting them manually in the corresponding array of the configuration file - same for classes.
I started to work on this feature, however its nearly impossible to detect external library usage on static analysis level without tools closely experienced for that case, like PHPStan.
I will try to implement this analysis using PHPStan used to detect external libraries, but I am afraid the changes which would have to be done in current project would be so high it would probably be easier to write it as an extension for PHPStan rather that updating yakpro-po.
Still in development though - gonna be a loong ride :)
Rather than sets
$conf->t_ignore_*
manually, it is better to provide a single config entry$conf->library_paths
which contains all the path of libraries. The steps are:$conf->t_ignore_classes
and so on.so
$conf->t_ignore_*
entered by user are minimal.