Skip to content

Commit 9c75279

Browse files
umulmrumjaviereguiluz
authored andcommitted
Add rule to import classes except for built-in PHP classes.
1 parent 95f9348 commit 9c75279

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contributing/code/standards.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ Structure
192192
* Do not use ``else``, ``elseif``, ``break`` after ``if`` and ``case`` conditions
193193
which return or throw something;
194194

195-
* Do not use spaces around ``[`` offset accessor and before ``]`` offset accessor.
195+
* Do not use spaces around ``[`` offset accessor and before ``]`` offset accessor;
196+
197+
* Add a ``use`` statement for every class that is not part of the global namespace.
196198

197199
Naming Conventions
198200
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)