Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.1) edition

Rule silenced_deprecation_error


This rule is deprecated and will be removed on next major version.

You should use error_suppression instead.

Ensures deprecation notices are silenced.


Using this rule is risky.

Silencing of deprecation errors might cause changes to code behaviour.


Example #1

--- Original
+++ New
@@ -1,2 +1,2 @@
-trigger_error('Warning.', E_USER_DEPRECATED);
[email protected]_error('Warning.', E_USER_DEPRECATED);
The logo is © 2010-2014 Sensio Labs