File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed
src/Standards/Generic/Docs Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,14 @@ class Foo <em>{</em>
1515 <![CDATA[
1616class Foo
1717<em>{</em>
18+ }
19+ ]]>
20+ </code >
21+ </code_comparison >
22+ <code_comparison >
23+ <code title =" Valid: Opening brace is the last thing on the line." >
24+ <![CDATA[
25+ class Foo <em>{</em>
1826}
1927 ]]>
2028 </code >
Original file line number Diff line number Diff line change 1010if (!<em> </em>$someVar || !<em> </em>$x instanceOf stdClass) {};
1111 ]]>
1212 </code >
13- <code title =" Invalid: A NOT operator not followed by whitespace." >
13+ <code title =" Invalid: A NOT operator not followed by whitespace or followed by too much whitespace ." >
1414 <![CDATA[
1515if (!<em></em>$someVar || !<em></em>$x instanceOf stdClass) {};
16- ]]>
17- </code >
18- <code title =" Invalid: A NOT operator followed by a new line or more than one space." >
19- <![CDATA[
16+
2017if (!<em> </em>$someVar || !<em>
2118 </em>$x instanceOf stdClass) {};
2219 ]]>
Original file line number Diff line number Diff line change 1010$a = (null !== $extra);
1111 ]]>
1212 </code >
13- <code title =" Invalid: spaces on the inside of a set of arbitrary parentheses." >
13+ <code title =" Invalid: spaces or new lines on the inside of a set of arbitrary parentheses." >
1414 <![CDATA[
1515$a = ( null !== $extra );
16- ]]>
17- </code >
18- <code title =" Invalid: new lines on the inside of a set of arbitrary parentheses." >
19- <![CDATA[
16+
2017$a = (
2118 null !== $extra
2219);
You can’t perform that action at this time.
0 commit comments