42 lines
567 B
Plaintext
42 lines
567 B
Plaintext
== Why is this an issue?
|
|
|
|
include::../description.adoc[]
|
|
|
|
Code like
|
|
|
|
[source,php]
|
|
----
|
|
if (condition1) {
|
|
if (condition2) { // Noncompliant
|
|
...
|
|
}
|
|
}
|
|
----
|
|
|
|
Will be more readable as
|
|
|
|
[source,php]
|
|
----
|
|
if (condition1 && condition2) { // Compliant
|
|
...
|
|
}
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
include::../highlighting.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
|
|
endif::env-github,rspecator-view[]
|