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.
2 parents 80567cc + 19af567 commit 95d198eCopy full SHA for 95d198e
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