8000 minor #4542 Update conventions.rst (csuarez) · symfony/symfony-docs@7b3500c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b3500c

Browse files
committed
minor #4542 Update conventions.rst (csuarez)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4542). Discussion ---------- Update conventions.rst The ``trigger_error`` call seems to be written in one line: https://github.com/symfony/symfony/pull/12671/files Commits ------- 3d75f6a Update conventions.rst
2 parents 5aaba1e + 3d75f6a commit 7b3500c

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