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);