We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b839ce6 commit bacd22eCopy full SHA for bacd22e
contributing/code/standards.rst
@@ -100,6 +100,8 @@ Structure
100
101
* Place unary operators (``!``, ``--``, ...) adjacent to the affected variable;
102
103
+* Always use `identical comparison`_ unless you need type juggling;
104
+
105
* Add a comma after each array item in a multi-line array, even after the
106
last one;
107
@@ -186,3 +188,4 @@ License
186
188
.. _`PSR-1`: http://www.php-fig.org/psr/psr-1/
187
189
.. _`PSR-2`: http://www.php-fig.org/psr/psr-2/
190
.. _`PSR-4`: http://www.php-fig.org/psr/psr-4/
191
+.. _`identical comparison`: https://php.net/manual/en/language.operators.comparison.php
0 commit comments