Skip to content

Commit 0dc5efc

Browse files
authored
[Contributing] Fix trigger_error() position in deprecated class
The code was added in commit: a2c04e7 The change introducing the issue was added in the PR: #12075
1 parent 2a475ba commit 0dc5efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contributing/code/conventions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ the Web Debug Toolbar or by the PHPUnit bridge).
129129
.. _`@-silencing operator`: https://php.net/manual/en/language.operators.errorcontrol.php
130130

131131
When deprecating a whole class the ``trigger_error()`` call should be placed
132-
between the namespace and the use declarations, like in this example from
132+
after the use declarations, like in this example from
133133
`ServiceRouterLoader`_::
134134

135135
namespace Symfony\Component\Routing\Loader\DependencyInjection;

0 commit comments

Comments
 (0)