Skip to content

Commit 1d7d6ef

Browse files
committed
Docs: fix up two XML docs
* The `HereNowdocIdentifierSpacing` one contained unescaped special chars in an attribute (oops). * The `SpreadOperatorSpacingAfter` line length did not conform (not found via the new CI check, but even so).
1 parent 794696f commit 1d7d6ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Standards/Generic/Docs/WhiteSpace/HereNowdocIdentifierSpacingStandard.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
]]>
66
</standard>
77
<code_comparison>
8-
<code title="Valid: No space between the <<< and the identifier string.">
8+
<code title="Valid: No space between the &lt;&lt;&lt; and the identifier string.">
99
<![CDATA[
1010
$heredoc = <em><<<EOD</em>
1111
some text
1212
EOD;
1313
]]>
1414
</code>
15-
<code title="Invalid: Whitespace between the <<< and the identifier string.">
15+
<code title="Invalid: Whitespace between the &lt;&lt;&lt; and the identifier string.">
1616
<![CDATA[
1717
$heredoc = <em><<< END</em>
1818
some text

src/Standards/Generic/Docs/WhiteSpace/SpreadOperatorSpacingAfterStandard.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function bar(<em>... </em>$spread) {
2525
);
2626
2727
bar(
28-
[<em>... </em>$foo ],<em>.../*comment*/</em>array_values($keyedArray)
28+
[<em>... </em>$foo ],<em>.../*@*/</em>array_values($keyed)
2929
);
3030
}
3131
]]>

0 commit comments

Comments
 (0)