Automattic / VIP-Coding-Standards

PHP_CodeSniffer ruleset to enforce WordPress VIP coding standards.
https://wpvip.com/documentation/how-to-install-php-code-sniffer-for-wordpress-com-vip/
Other
236 stars 40 forks source link

Functions/RestrictedFunctions: remove reference to function which doesn't exist #760

Closed jrfnl closed 1 year ago

jrfnl commented 1 year ago

PHP does not contain a delete() function, so searching for it will only yield false positives.

Ref: https://www.php.net/manual/en/function.delete.php