From a83b66ea17837ea02ec910104e4114ebc0a0f17e Mon Sep 17 00:00:00 2001 From: Sebastian Feldmann Date: Sun, 5 Nov 2023 12:30:10 +0100 Subject: [PATCH] Minor impreovements --- phpunit.xml | 9 ++++++++- tests/integration/ProcessResult.php | 13 +++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index ff1f337f..5b78dd0f 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,5 +1,9 @@ - + src @@ -16,6 +20,9 @@ tests/integration + + tests/phar-e2e + diff --git a/tests/integration/ProcessResult.php b/tests/integration/ProcessResult.php index ab4da639..b37531ee 100644 --- a/tests/integration/ProcessResult.php +++ b/tests/integration/ProcessResult.php @@ -4,20 +4,17 @@ class ProcessResult { - /** @var string */ - private $stdout; + private int $exitCode; - /** @var string */ - private $stderr; + private string $stdout; - /** @var int */ - private $exitCode; + private string $stderr; public function __construct(int $exitCode, string $stdout, string $stderr) { $this->exitCode = $exitCode; - $this->stdout = $stdout; - $this->stderr = $stderr; + $this->stdout = $stdout; + $this->stderr = $stderr; } public function getExitCode(): int