From 4e22812f031fa1ce4904c8ba220928a0dbe8b187 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 15 Jul 2015 19:23:30 +0200 Subject: [PATCH] deprecation triggers must be silenced by default --- contributing/code/conventions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributing/code/conventions.rst b/contributing/code/conventions.rst index e48eebd414e..8514bf8a1c1 100644 --- a/contributing/code/conventions.rst +++ b/contributing/code/conventions.rst @@ -103,4 +103,4 @@ A PHP ``E_USER_DEPRECATED`` error must also be triggered to help people with the migration starting one or two minor versions before the version where the feature will be removed (depending on the criticality of the removal):: - trigger_error('XXX() is deprecated since version 2.X and will be removed in 2.Y. Use XXX instead.', E_USER_DEPRECATED); + @trigger_error('XXX() is deprecated since version 2.X and will be removed in 2.Y. Use XXX instead.', E_USER_DEPRECATED);