From d376c91d3cf6f13b79a6bcf5ec88d6b711b6d0db Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Sun, 8 Mar 2026 19:54:19 +0100 Subject: [PATCH] update stan + PHPUnit 13 --- .github/workflows/ci.yml | 4 ++-- composer.json | 2 +- src/TagEngine.php | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fb7a11..82be3a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: include: - php-version: '8.1' dependencies: 'lowest' - - php-version: '8.3' + - php-version: '8.4' dependencies: 'highest' steps: @@ -67,7 +67,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.4' extensions: mbstring, intl coverage: none tools: cs2pr diff --git a/composer.json b/composer.json index 1ce851e..d48beba 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ }, "require-dev": { "cakephp/cakephp-codesniffer": "^5.0", - "phpunit/phpunit": "^10.5.5 || ^11.1.3 || ^12.0" + "phpunit/phpunit": "^10.5.5 || ^11.1.3 || ^12.0 || ^13.0" }, "autoload": { "psr-4": { diff --git a/src/TagEngine.php b/src/TagEngine.php index 1beaac5..8f649d3 100644 --- a/src/TagEngine.php +++ b/src/TagEngine.php @@ -154,6 +154,7 @@ public function parse(mixed $source = false, array $data = []): string if ($result === null) { $this->throwOnNull($source); } + assert(is_string($result)); return $result; }