From 7a051380e2381a22f4f38701e55bd827fed0cad9 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Thu, 3 Nov 2022 10:36:08 +0800 Subject: [PATCH] fix php version requirements --- .github/workflows/static-analysis.yml | 2 +- tests/ZMResultPrinter.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 92feeae8..5bd5689d 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -33,7 +33,7 @@ jobs: - name: Setup PHP uses: sunxyw/workflows/setup-environment@main with: - php-version: 7.4 + php-version: 8.0 php-extensions: swoole, posix, json operating-system: ubuntu-latest use-cache: true diff --git a/tests/ZMResultPrinter.php b/tests/ZMResultPrinter.php index 9b873ac5..8b87ac18 100644 --- a/tests/ZMResultPrinter.php +++ b/tests/ZMResultPrinter.php @@ -36,6 +36,7 @@ class ZMResultPrinter extends CliTestDoxPrinter 'last' => '┴', ]; + /* @phpstan-ignore-next-line */ private const SPINNER_ICONS = [ " \e[36m◐\e[0m running tests", " \e[36m◓\e[0m running tests",