Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7b3500c

Browse filesBrowse 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
Copy full SHA for 7b3500c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed

‎contributing/code/conventions.rst

Copy file name to clipboardExpand all lines: contributing/code/conventions.rst
+1-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.