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.
true
false
null
1 parent e4df0d6 commit ddeab84Copy full SHA for ddeab84
src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.inc
@@ -136,3 +136,9 @@ if (empty($argTags > 0)) {
136
}
137
138
myFunction($var1 === true ? "" : "foobar");
139
+
140
+// Verify that FQN true/false are handled the same as unqualified.
141
+if (true) {}
142
+if (\true) {}
143
+for ($var1 = 10; FALSE; $var1--) {}
144
+for ($var1 = 10; \FALSE; $var1--) {}
0 commit comments