@@ -252,7 +252,7 @@ PHP
= message(
'documentation',
- $lang
+ $lang,
) ?>
@@ -290,7 +290,7 @@ PHP
= message(
'documentation',
- $lang
+ $lang,
) ?>
diff --git a/releases/index.php b/releases/index.php
index cbfd16eefa..8f7f7c83ed 100644
--- a/releases/index.php
+++ b/releases/index.php
@@ -106,7 +106,7 @@
$release["announcement"] ?? false,
$release["source"] ?? [],
$release["windows"] ?? [],
- $release["museum"] ?? ($i >= 3)
+ $release["museum"] ?? ($i >= 3),
);
}
}
@@ -163,7 +163,7 @@
-']);
+', ]);
function recentEOLBranchesHTML(): string {
$eol = [];
diff --git a/results.php b/results.php
index 409f04c8cf..25c54ca370 100644
--- a/results.php
+++ b/results.php
@@ -10,7 +10,7 @@
'noindex',
'current' => 'help',
'layout_span' => 12,
- ]
+ ],
);
echo '
Search results
';
diff --git a/search.php b/search.php
index 59b8f79e30..b5aa1ce0ba 100644
--- a/search.php
+++ b/search.php
@@ -49,7 +49,7 @@
"rel" => "search",
"type" => "application/opensearchdescription+xml",
"href" => $MYSITE . "phpnetimprovedsearch.src",
- "title" => "Add PHP.net search"
+ "title" => "Add PHP.net search",
];
site_header("Search", ["link" => [$link], "current" => "help"]);
diff --git a/sites.php b/sites.php
index 56e3b703cc..a387277f9f 100644
--- a/sites.php
+++ b/sites.php
@@ -223,5 +223,5 @@ interface to it. There you can browse the history (and latest versions) of the
// Print the common footer.
site_footer([
- 'sidebar' => $SIDEBAR
+ 'sidebar' => $SIDEBAR,
]);
diff --git a/src/autoload.php b/src/autoload.php
index 7ae42625c3..e69570a6b4 100644
--- a/src/autoload.php
+++ b/src/autoload.php
@@ -15,7 +15,7 @@
$relativeClass = substr(
$class,
- $length
+ $length,
);
$file = $directory . str_replace('\\', '/', $relativeClass) . '.php';
diff --git a/submit-event.php b/submit-event.php
index d981a149aa..7dd800b9d4 100644
--- a/submit-event.php
+++ b/submit-event.php
@@ -12,7 +12,7 @@
// Avoid E_NOTICE errors on incoming vars if not set
$vars = [
'sday', 'smonth', 'syear', 'eday',
- 'emonth', 'eyear', 'recur', 'recur_day'
+ 'emonth', 'eyear', 'recur', 'recur_day',
];
foreach ($vars as $varname) {
if (empty($_POST[$varname])) {
@@ -20,7 +20,7 @@
}
}
$vars = [
- 'type', 'country', 'category', 'email', 'url', 'ldesc', 'sdesc'
+ 'type', 'country', 'category', 'email', 'url', 'ldesc', 'sdesc',
];
foreach ($vars as $varname) {
if (!isset($_POST[$varname])) {
@@ -166,7 +166,7 @@
4 => 'Fourth',
-1 => 'Last',
-2 => '2nd Last',
- -3 => '3rd Last'
+ -3 => '3rd Last',
];
// If we have data, display preview
diff --git a/support.php b/support.php
index d793c6f987..12eba8cc4d 100644
--- a/support.php
+++ b/support.php
@@ -23,7 +23,7 @@
'Getting Help',
[
'current' => 'help',
- ]
+ ],
);
?>