From deda83b5fd0cc6fc1a0c0891d4f6930e48de1147 Mon Sep 17 00:00:00 2001 From: Art4 Date: Sat, 30 Dec 2023 22:12:34 +0100 Subject: [PATCH 1/2] Add tests in Github actions with PHP 8.3 and 8.4 --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8e1c94eb..dea5b6ae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,14 +6,14 @@ on: jobs: tests: - name: Tests (PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}) + name: Tests (PHP ${{ matrix.php }} on ${{ matrix.operating-system }}) runs-on: ubuntu-latest strategy: fail-fast: false matrix: operating-system: ["ubuntu-latest"] - php-versions: ["7.4", "8.0", "8.1", "8.2"] + php: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"] steps: - name: Checkout @@ -26,7 +26,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: - php-version: ${{ matrix.php-versions }} + php-version: ${{ matrix.php }} tools: phpunit extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite coverage: xdebug @@ -37,14 +37,14 @@ jobs: uses: "ramsey/composer-install@v2" - name: Run static code analysis - if: ${{ matrix.php-versions == '8.2' }} + if: ${{ matrix.php == '8.3' }} run: composer run phpstan -- --error-format=github - name: Run tests run: vendor/bin/phpunit --coverage-clover .phpunit.cache/clover.xml - name: Upload coverage reports to Codecov - if: ${{ success() && matrix.php-versions == '8.2' }} + if: ${{ success() && matrix.php == '8.3' }} uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} From b33f846feedd94afbc10205cc7575b7a8cecd0a8 Mon Sep 17 00:00:00 2001 From: Art4 Date: Sat, 30 Dec 2023 22:18:22 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5d1e1e5..667fd3b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added support for PHP 8.3 - New method `Redmine\Api\CustomField::list()` to list custom fields. - New method `Redmine\Api\Group::list()` to list groups. - New method `Redmine\Api\Issue::list()` to list issues.