You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
scans those paths
push founded class into $conf->t_ignore_classes and so on.
so $conf->t_ignore_* entered by user are minimal.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: