Skip to content

Files

Latest commit

 

History

History
15 lines (9 loc) · 477 Bytes

WordPress.PHP.NoSilencedErrors.md

File metadata and controls

15 lines (9 loc) · 477 Bytes

Pattern: Silenced PHP error

Issue: -

Description

Discourages the use of the PHP error silencing operator.

This rule allows the error operator to be used with a select list of white-listed functions, as no amount of error checking can prevent PHP from throwing errors when those functions are used.

Further Reading