szepeviktor / phpcs-psr-12-neutron-hybrid-ruleset

My useful frankenstein PHPCS ruleset 👓 for OOP WordPress development
https://packagist.org/packages/szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset
MIT License
10 stars 2 forks source link

Use generic sniff for forbidden functions #15

Closed IanDelMar closed 3 months ago

IanDelMar commented 3 months ago

Note from Wiki:

[!NOTE]
This sniff also has a forbiddenFunctions property inherited from the Generic.PHP.ForbiddenFunctions sniff, but it should not be used. If you want to customise the list of discouraged functions, use the Generic.PHP.ForbiddenFunctions sniff directly.

szepeviktor commented 3 months ago

Okay.