FloeDesignTechnologies / phpcs-security-audit

phpcs-security-audit is a set of PHP_CodeSniffer rules that finds vulnerabilities and weaknesses related to security in PHP code
GNU General Public License v3.0
712 stars 85 forks source link

Create global_symlink.sh #27

Closed fkupper closed 5 years ago

fkupper commented 6 years ago

To be used when phpcs is being used globally.

jmarcil commented 5 years ago

Thanks for your suggestion!

However, this looks too much like code duplication to me.

Would you mind adding that flexibility to the original symlink.sh with a parameter? Like if the parameter is no set, just use vendor and if it is the path you're passing it. This will make it backward compatible and flexible.

Thanks!