From 36c0f9796606cd9c460347414c253240f2afc830 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Fri, 2 Feb 2024 10:17:53 +0100 Subject: [PATCH] feat: drop php 8.1 support (#91) test on php 8.3 --- .github/workflows/ci.yaml | 5 +++-- .github/workflows/coding-standards.yaml | 2 +- .github/workflows/infection.yaml | 2 +- .github/workflows/static-analysis.yaml | 4 ++-- composer.json | 2 +- phpcs.xml.dist | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5d176d6..eae6149 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,12 +15,13 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" + - "8.3" dependencies: - "highest" include: - dependencies: "lowest" - php-version: "8.1" + php-version: "8.2" steps: - name: "Checkout" diff --git a/.github/workflows/coding-standards.yaml b/.github/workflows/coding-standards.yaml index 45921ec..4d6e462 100644 --- a/.github/workflows/coding-standards.yaml +++ b/.github/workflows/coding-standards.yaml @@ -19,7 +19,7 @@ jobs: - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: - php-version: "8.1" + php-version: "8.2" coverage: "none" tools: "cs2pr, pecl" diff --git a/.github/workflows/infection.yaml b/.github/workflows/infection.yaml index 1afefe8..a330565 100644 --- a/.github/workflows/infection.yaml +++ b/.github/workflows/infection.yaml @@ -20,7 +20,7 @@ jobs: - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: - php-version: "8.1" + php-version: "8.2" coverage: "pcov" - name: "Install dependencies with Composer" diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index ee9c2e5..e224a53 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -19,7 +19,7 @@ jobs: - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: - php-version: "8.1" + php-version: "8.2" coverage: "none" tools: "cs2pr, pecl" @@ -36,7 +36,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" steps: - name: Checkout code diff --git a/composer.json b/composer.json index d3a2929..ee3fc4a 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } }, "require": { - "php": "^8.1", + "php": "^8.2", "league/construct-finder": "^1.2", "phpunit/phpunit": "^10", "thecodingmachine/safe": "^2" diff --git a/phpcs.xml.dist b/phpcs.xml.dist index dda522d..d22bb6b 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -5,7 +5,7 @@ > - +