From 3a778ae4c049302087da47b3bfa5f362969f0719 Mon Sep 17 00:00:00 2001 From: darthmaim Date: Wed, 7 Feb 2024 13:20:56 +0100 Subject: [PATCH 1/2] CI: Add PHP 8.3 to CI and remove outdated 8.1 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd7edc0..c42474c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,10 @@ jobs: fail-fast: false matrix: php: - - '7.2' # version used by gw2treasures.com + - '7.2' # version used by legacy.gw2treasures.com - '7.4' # latest 7.x - - '8.1' # stable 8 - '8.2' # stable 8 + - '8.3' # stable 8 phar: - false include: From b357aafa7f6009e8541b0e6758b8c21347b8e38d Mon Sep 17 00:00:00 2001 From: darthmaim Date: Wed, 7 Feb 2024 13:30:49 +0100 Subject: [PATCH 2/2] Set `error_reporting(E_ALL)` in tests --- tests/BasicTestCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/BasicTestCase.php b/tests/BasicTestCase.php index 322570d..4ed9090 100644 --- a/tests/BasicTestCase.php +++ b/tests/BasicTestCase.php @@ -17,6 +17,8 @@ use Psr\Http\Message\RequestInterface; use PHPUnit\Framework\TestCase; +error_reporting(E_ALL); + abstract class BasicTestCase extends TestCase { /** @var GW2Api $api */ protected $api;