[php-src] master: Merge branch 'PHP-8.3'
| From: | Jakub Zelenka | Date: | Sat, 30 Mar 2024 14:40:39 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.3' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-127898@lists.php.net to get a copy of this message | ||
Author: Jakub Zelenka (bukka)
Date: 2024-03-30T14:38:41Z
Commit: https://github.com/php/php-src/commit/dbe35f6d2af4c9cc1f79a46e663faed87cfc623d
Raw diff: https://github.com/php/php-src/commit/dbe35f6d2af4c9cc1f79a46e663faed87cfc623d.diff
Merge branch 'PHP-8.3'
Changed paths:
M sapi/fpm/tests/tester.inc
Diff:
diff --git a/sapi/fpm/tests/tester.inc b/sapi/fpm/tests/tester.inc
index 204e4eebfb18..75c7c6d368fa 100644
--- a/sapi/fpm/tests/tester.inc
+++ b/sapi/fpm/tests/tester.inc
@@ -499,11 +499,12 @@ class Tester
/**
* Start PHP-FPM master process
*
- * @param array $extraArgs Command extra arguments.
- * @param bool $forceStderr Whether to output to stderr so error log is used.
- * @param bool $daemonize Whether to start FPM daemonized
- * @param array $extensions List of extension to add if shared build used.
- * @param array $iniEntries List of ini entries to use.
+ * @param array $extraArgs Command extra arguments.
+ * @param bool $forceStderr Whether to output to stderr so error log is used.
+ * @param bool $daemonize Whether to start FPM daemonized
+ * @param array $extensions List of extension to add if shared build used.
+ * @param array $iniEntries List of ini entries to use.
+ * @param array|null $envVars List of env variable to execute FPM with or null to use the
current ones.
*
* @return bool
* @throws \Exception
@@ -514,7 +515,7 @@ class Tester
bool $daemonize = false,
array $extensions = [],
array $iniEntries = [],
- array $envVars = [],
+ ?array $envVars = null,
) {
$configFile = $this->createConfig();
$desc = $this->outDesc ? [] : [1 => array('pipe', 'w'), 2
=> array('redirect', 1)];