We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef30569 commit b0a441fCopy full SHA for b0a441f
contributing/code/standards.rst
@@ -174,19 +174,15 @@ Comparisons
174
175
Always use `identical comparison`_ unless you need type juggling:
176
177
-instead of:
178
-
179
.. code-block:: php
180
181
- if (1 == $integerExpected) {
+ // use
+ if (1 === $integerExpected) {
182
// ...
183
}
184
185
-it should be:
186
187
-.. code-block:: php
188
189
- if (1 === $integerExpected) {
+ // instead of
+ if (1 == $integerExpected) {
190
191
192
0 commit comments