diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6b94d9cc..2281253c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,6 @@ jobs: - ubuntu-latest php: - - "7.4" - "8.0" redis: @@ -63,24 +62,15 @@ jobs: - name: Update composer run: composer self-update - - name: Install dependencies with composer php 7.4 - if: matrix.php == '7.4' - run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi - - name: Install dependencies with composer php 8.0 if: matrix.php == '8.0' run: composer update --ignore-platform-reqs --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi - - name: Run tests with phpunit and coverage on Linux php 7.4 - if: matrix.os == 'ubuntu-latest' && matrix.php-version == '7.4' - run: vendor/bin/phpunit --coverage-clover=coverage.clover --colors=always - - - name: Run tests with phpunit without coverage on Windows php 7.4 - 8.0 and Linux php 8.0 - if: matrix.os != 'ubuntu-latest' || matrix.php-version != '7.4' + - name: Run tests with phpunit without coverage run: vendor/bin/phpunit --colors=always - name: Code coverage - if: matrix.php == '7.4' + if: matrix.php == '8.0' run: | wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 08064a57..69412e44 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -18,7 +18,7 @@ jobs: - ubuntu-latest php: - - "7.4" + - "8.0" steps: - name: Checkout diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index eb458deb..4e6a28df 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -16,7 +16,7 @@ jobs: - ubuntu-latest php: - - "7.4" + - "8.0" steps: - name: Checkout diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 76d03138..f3726780 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -13,7 +13,7 @@ build: nodes: analysis: environment: - php: 7.4.12 + php: 8.0.20 tests: override: diff --git a/CHANGELOG.md b/CHANGELOG.md index 33df8b41..79d840b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -Yii Framework 2 redis extension Change Log +Yii DB Redis extension Change Log ========================================== 2.0.9 under development diff --git a/composer.json b/composer.json index ca731360..e49f97d4 100644 --- a/composer.json +++ b/composer.json @@ -14,12 +14,12 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "php": "^7.4|^8.0", + "php": "^8.0", "ext-mbstring": "*", "ext-json": "*", "yiisoft/arrays": "^2.0", "yiisoft/db": "^3.0@dev", - "yiisoft/log": "^1.0", + "yiisoft/log": "^2.0", "yiisoft/strings": "^2.0", "yiisoft/yii-event": "^1.0" }, @@ -43,5 +43,10 @@ "branch-alias": { "dev-master": "1.0.x-dev" } + }, + "config": { + "allow-plugins": { + "infection/extension-installer": true + } } }