File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Standards/PSR12/Docs/ControlStructures Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 77 ]]>
88 </standard >
99 <code_comparison >
10- <code title =" Valid: Boolean operator between conditions at the beginning of the line." >
10+ <code title =" Valid: Boolean operator between conditions consistently at the beginning of the line." >
1111 <![CDATA[
1212if (
1313 $expr1
2020}
2121 ]]>
2222 </code >
23- <code title =" Invalid: Boolean operators between conditions at the beginning and the end of the line." >
23+ <code title =" Invalid: Mix of boolean operators at the beginning and the end of the line." >
2424 <![CDATA[
2525if (
2626 $expr1 &&
3333 </code >
3434 </code_comparison >
3535 <code_comparison >
36- <code title =" Valid: Boolean operator between conditions at the end of the line." >
36+ <code title =" Valid: Boolean operator between conditions consistently at the end of the line." >
3737 <![CDATA[
3838if (
39- $expr1 &&
39+ $expr1 ||
4040 ($expr2 || $expr3) &&
4141 $expr4
4242) {
4848 <![CDATA[
4949match (
5050 $expr1
51- && $expr2 &&
51+ && $expr2 ||
5252 $expr3
5353) {
5454 // structure body.
You can’t perform that action at this time.
0 commit comments