mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix FPM tester conflict
This commit is contained in:
parent
f3c357c446
commit
e3034dba3e
1 changed files with 2 additions and 9 deletions
|
@ -619,12 +619,9 @@ class Tester
|
||||||
string $errorMessage = null,
|
string $errorMessage = null,
|
||||||
bool $connKeepAlive = false,
|
bool $connKeepAlive = false,
|
||||||
string $scriptFilename = null,
|
string $scriptFilename = null,
|
||||||
<<<<<<< HEAD
|
string $stdin = null,
|
||||||
string $stdin = null
|
|
||||||
=======
|
|
||||||
bool $expectError = false,
|
bool $expectError = false,
|
||||||
int $readLimit = -1,
|
int $readLimit = -1,
|
||||||
>>>>>>> PHP-8.1
|
|
||||||
) {
|
) {
|
||||||
if ($this->hasError()) {
|
if ($this->hasError()) {
|
||||||
return new Response(null, true);
|
return new Response(null, true);
|
||||||
|
@ -634,11 +631,7 @@ class Tester
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->response = new Response(
|
$this->response = new Response(
|
||||||
<<<<<<< HEAD
|
$this->getClient($address, $connKeepAlive)->request_data($params, $stdin, $readLimit)
|
||||||
$this->getClient($address, $connKeepAlive)->request_data($params, $stdin)
|
|
||||||
=======
|
|
||||||
$this->getClient($address, $connKeepAlive)->request_data($params, false, $readLimit)
|
|
||||||
>>>>>>> PHP-8.1
|
|
||||||
);
|
);
|
||||||
if ($expectError) {
|
if ($expectError) {
|
||||||
$this->error('Expected request error but the request was successful');
|
$this->error('Expected request error but the request was successful');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue