We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8794ad7 commit 19af567Copy full SHA for 19af567
contributing/code/standards.rst
@@ -224,6 +224,9 @@ Naming Conventions
224
225
* Suffix exceptions with ``Exception``;
226
227
+* Prefix PHP attributes with ``As`` where applicable (e.g. ``#[AsCommand]``
228
+ instead of ``#[Command]``, but ``#[When]`` is kept as-is);
229
+
230
* Use UpperCamelCase for naming PHP files (e.g. ``EnvVarProcessor.php``) and
231
snake case for naming Twig templates and web assets (``section_layout.html.twig``,
232
``index.scss``);
0 commit comments