8000 Fix code syntax · symfony/symfony@f7c4814 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7c4814

Browse files
committed
Fix code syntax
1 parent 70f8707 commit f7c4814

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/Symfony/Component/HttpKernel/Resources/welcome.html.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>👋</text></svg>">
88
<style>
99
:root {
10-
--hue: <?= random_int(0, 360) ?>;
10+
--hue: <?php echo random_int(0, 360); ?>;
1111
--light-color: hsl(var(--hue), 20%, 95%);
1212
--dark-color: hsl(var(--hue), 20%, 45%);
1313
}
@@ -111,44 +111,44 @@
111111
<header>
112112
<div class="wrapper">
113113
<section class="logo">
114-
<?= renderSymfonyLogoSvg() ?>
114+
<?php echo renderSymfonyLogoSvg(); ?>
115115
<h1>
116116
<small>Welcome to</small>
117-
<span translate="no" class="notranslate">Symfony</span> <?= explode('.', $version, 2)[0] ?>
117+
<span translate="no" class="notranslate">Symfony</span> <?php echo explode('.', $version, 2)[0]; ?>
118118
</h1>
119119
</section>
120120

121121
<section class="info">
122122
<ul>
123123
<li>
124-
<?= renderBoxIconSvg() ?>
125-
<span>You are using Symfony <strong><?= $version ?></strong> version</span>
124+
<?php echo renderBoxIconSvg(); ?>
125+
<span>You are using Symfony <strong><?php echo $version; ?></strong> version</span>
126126
</li>
127127

128128
<li>
129-
<?= renderFolderIconSvg() ?>
130-
<span>Your application is ready at: <code translate="no" class="notranslate project_dir_path"><?= $projectDir ?></code></span>
129+
<?php echo renderFolderIconSvg(); ?>
130+
<span>Your application is ready at: <code translate="no" class="notranslate project_dir_path"><?php echo $projectDir; ?></code></span>
131131
</li>
132132

133133
<li>
134-
<?= renderInfoIconSvg() ?>
135-
<span>You are seeing this page because the homepage URL is not configured and <a target="_blank" href="https://symfony.com/doc/<?= $docVersion ?>/debug-mode">debug mode</a> is enabled.</span>
134+
<?php echo renderInfoIconSvg(); ?>
135+
<span>You are seeing this page because the homepage URL is not configured and <a target="_blank" href="https://symfony.com/doc/<?php echo $docVersion; ?>/debug-mode">debug mode</a> is enabled.</span>
136136
</li>
137137
</ul>
138138

139139
<p class="next-step">
140140
<strong>Next Step</strong>
141-
<?= renderNextStepIconSvg() ?>
141+
<?php echo renderNextStepIconSvg(); ?>
142142
<span>
143-
<a href="https://symfony.com/doc/<?= $docVersion ?>/page_creation.html">Create your first page</a>
143+
<a href="https://symfony.com/doc/<?php echo $docVersion; ?>/page_creation.html">Create your first page</a>
144144
to replace this placeholder page.
145145
</span>
146146
</p>
147147
</section>
148148
</div>
149149

150150
<section class="waves">
151-
<?= renderWavesSvg() ?>
151+
<?php echo renderWavesSvg(); ?>
152152
</section>
153153
</header>
154154

@@ -157,12 +157,12 @@
157157
<article>
158158
<section>
159159
<h2>
160-
<span><?= renderLearnIconSvg() ?></span>
160+
<span><?php echo renderLearnIconSvg(); ?></span>
161161
Learn
162162
</h2>
163163
<ul>
164164
<li>
165-
<a target="_blank" href="https://symfony.com/doc/<?= E864 $docVersion ?>">Read Symfony Docs</a>
165+
<a target="_blank" href="https://symfony.com/doc/<?php echo $docVersion; ?>">Read Symfony Docs</a>
166166
</li>
167167
<li>
168168
<a target="_blank" href="https://symfonycasts.com/screencast/symfony">Watch Symfony Screencast</a>
@@ -175,7 +175,7 @@
175175

176176
<section>
177177
<h2>
178-
<span><?= renderCommunityIconSvg() ?></span>
178+
<span><?php echo renderCommunityIconSvg(); ?></span>
179179
Community & Support
180180
</h2>
181181
<ul>
@@ -193,7 +193,7 @@
193193

194194
<section>
195195
<h2>
196-
<span><?= renderUpdatesIconSvg() ?></span>
196+
<span><?php echo renderUpdatesIconSvg(); ?></span>
197197
Stay Updated
198198
</h2>
199199
<ul>
@@ -353,6 +353,6 @@ function renderWavesSvg()
353353
</svg>
354354
SVG;
355355
}
356-
?>
356+
?>
357357
</body>
358358
</html>

0 commit comments

Comments
 (0)
0