Skip to content

Commit 3d75f6a

Browse files
csuarezwouterj
authored andcommitted
Update conventions.rst
The ``trigger_error``call seems to be written in one line: https://github.com/symfony/symfony/pull/12671/files
1 parent 5aaba1e commit 3d75f6a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

contributing/code/conventions.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,4 @@ A PHP ``E_USER_DEPRECATED`` error must also be triggered to help people with
103103
the migration starting one or two minor versions before the version where the
104104
feature will be removed (depending on the criticality of the removal)::
105105

106-
trigger_error(
107-
'XXX() is deprecated since version 2.X and will be removed in 2.Y. Use XXX instead.',
108-
E_USER_DEPRECATED
109-
);
106+
trigger_error('XXX() is deprecated since version 2.X and will be removed in 2.Y. Use XXX instead.', E_USER_DEPRECATED);

0 commit comments

Comments
 (0)