rspec/rules/S1781/php/rule.adoc

26 lines
444 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
Using indifferently lower or upper case for PHP keywords and constants "true", "false" and "null" can impact the readability of PHP source code.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
<?php ECHO 'Hello World'; ?>
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
<?php echo 'Hello World'; ?>
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
endif::env-github,rspecator-view[]