1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Single blank line at eof

A PHP file without end tag should always end with a single empty line feed.

Closes GH-541.
This commit is contained in:
Mathias Reker ⚡️
2022-06-17 16:36:32 +02:00
committed by GitHub
parent 11866535bf
commit 855860ae25
9 changed files with 6 additions and 9 deletions

View File

@@ -44,4 +44,3 @@ echo join('|', array(
gethostname(), // 9 : The configured hostname of the local system
$_SERVER['SERVER_ADDR'], // 10: The IP address under which we're running
));

View File

@@ -72,4 +72,3 @@ function language_chooser(string $currentLang): void {
</form>
';
}

View File

@@ -2,4 +2,4 @@
$lang = 'en';
include_once __DIR__ . '/release.inc';
include_once __DIR__ . '/release.inc';

View File

@@ -2,4 +2,4 @@
$lang = 'es';
include_once __DIR__ . '/release.inc';
include_once __DIR__ . '/release.inc';

View File

@@ -2,4 +2,4 @@
$lang = 'ja';
include_once __DIR__ . '/release.inc';
include_once __DIR__ . '/release.inc';

View File

@@ -91,4 +91,4 @@ return [
マニュアルから<a href="/manual/ja/migration81.php">マイグレーションガイド</a>が利用可能です。
新機能や互換性のない変更の詳細については、マイグレーションガイドを参照してください。
</p>',
];
];

View File

@@ -94,4 +94,4 @@ return [
<a href="/manual/ru/migration81.php">Руководство по миграции</a> доступно в разделе документации.
Ознакомьтесь с ним, чтобы узнать обо всех новых возможностях и изменений, затрагивающих обратную совместимость.
</p>',
];
];

View File

@@ -2,4 +2,4 @@
$lang = 'ru';
include_once __DIR__ . '/release.inc';
include_once __DIR__ . '/release.inc';

View File

@@ -248,4 +248,3 @@ function mk_rel(int $major,
echo "</li>\n";
echo "</ul>\n";
}