Skip to content

Commit

Permalink
Docs: fix up two XML docs
Browse files Browse the repository at this point in the history
* 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).
  • Loading branch information
jrfnl committed Nov 12, 2024
1 parent 794696f commit 1d7d6ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
]]>
</standard>
<code_comparison>
<code title="Valid: No space between the <<< and the identifier string.">
<code title="Valid: No space between the &lt;&lt;&lt; and the identifier string.">
<![CDATA[
$heredoc = <em><<<EOD</em>
some text
EOD;
]]>
</code>
<code title="Invalid: Whitespace between the <<< and the identifier string.">
<code title="Invalid: Whitespace between the &lt;&lt;&lt; and the identifier string.">
<![CDATA[
$heredoc = <em><<< END</em>
some text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function bar(<em>... </em>$spread) {
);
bar(
[<em>... </em>$foo ],<em>.../*comment*/</em>array_values($keyedArray)
[<em>... </em>$foo ],<em>.../*@*/</em>array_values($keyed)
);
}
]]>
Expand Down

0 comments on commit 1d7d6ef

Please sign in to comment.