[PHP-WEBMASTER] [web-php] master: Fixed whitespace and php stan baseline

[email protected] (Derick Rethans) Wed, 8 Jul 2026 09:00:14 +0000
Newsgroups php.webmaster
Message-ID <[email protected]>
Author: Derick Rethans (derickr)
Date: 2026-07-08T10:00:00+01:00

Commit: https://github.com/php/web-php/commit/ea029728d41f63a6a5b9598c5afa3f91d2ed6b99
Raw diff: https://github.com/php/web-php/commit/ea029728d41f63a6a5b9598c5afa3f91d2ed6b99.diff

Fixed whitespace and php stan baseline

Changed paths:
  M  include/header.inc
  M  phpstan-baseline.neon


Diff:

diff --git a/include/header.inc b/include/header.inc
index 3cb6c44db6..83cb7ed3c9 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -51,7 +51,7 @@ if ($config["cache"]) {
 }
 
 if ($config["cache_control"] && is_numeric($config["cache_control"])) {
-	header("Cache-Control: public, max-age=" . (int) $config["cache_control"]);
+    header("Cache-Control: public, max-age=" . (int) $config["cache_control"]);
 }
 
 if (!isset($config["languages"])) {
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index ec3f0c6357..b8d589a503 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -435,7 +435,7 @@ parameters:
 		-
 			message: '#^Variable \$config might not be defined\.$#'
 			identifier: variable.undefined
-			count: 3
+			count: 6
 			path: include/header.inc
 
 		-