[web-php] master: releases/8.4: Consistently use nowdoc for the HTML string (#1170)
| From: | Tim Düsterhus via GitHub | Date: | Fri, 29 Nov 2024 10:33:24 +0000 |
| Subject: | [web-php] master: releases/8.4: Consistently use nowdoc for the HTML string (#1170) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-32433@lists.php.net to get a copy of this message | ||
Author: Tim Düsterhus (TimWolla)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-11-29T13:28:45+03:00
Commit: https://github.com/php/web-php/commit/837e36bbb880c08deee81a657b7c5a8b394f2cfb
Raw diff: https://github.com/php/web-php/commit/837e36bbb880c08deee81a657b7c5a8b394f2cfb.diff
releases/8.4: Consistently use nowdoc for the HTML string (#1170)
Changed paths:
M releases/8.4/release.inc
Diff:
diff --git a/releases/8.4/release.inc b/releases/8.4/release.inc
index b3d8f10790..0cbcd0962b 100644
--- a/releases/8.4/release.inc
+++ b/releases/8.4/release.inc
@@ -314,7 +314,7 @@ PHP
<?php highlight_php_trimmed(
<<<'PHP'
$dom = Dom\HTMLDocument::createFromString(
- <<<HTML
+ <<<'HTML'
<main>
<article>PHP 8.4 is a feature-rich release!</article>
<article class="featured">PHP 8.4 adds new DOM classes that are
spec-compliant, keeping the old ones for compatibility.</article>