diff --git a/.github/settings.yml b/.github/settings.yml index 2452d7b2..83868e8f 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,16 +14,13 @@ branches: required_approving_review_count: 1 required_status_checks: checks: - - context: "Code Coverage (8.0, locked)" - - context: "Coding Standards (8.0, locked)" - - context: "Dependency Analysis (8.0, locked)" - - context: "Mutation Tests (8.0, locked)" - - context: "Refactoring (8.0, locked)" - - context: "Security Analysis (8.0, locked)" - - context: "Static Code Analysis (8.0, locked)" - - context: "Tests (8.0, highest)" - - context: "Tests (8.0, locked)" - - context: "Tests (8.0, lowest)" + - context: "Code Coverage (8.1, locked)" + - context: "Coding Standards (8.1, locked)" + - context: "Dependency Analysis (8.1, locked)" + - context: "Mutation Tests (8.1, locked)" + - context: "Refactoring (8.1, locked)" + - context: "Security Analysis (8.1, locked)" + - context: "Static Code Analysis (8.1, locked)" - context: "Tests (8.1, highest)" - context: "Tests (8.1, locked)" - context: "Tests (8.1, lowest)" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 9d5bb6fb..65bf3355 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -73,7 +73,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -143,7 +143,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -194,7 +194,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -241,7 +241,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -298,7 +298,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -331,7 +331,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -379,7 +379,6 @@ jobs: strategy: matrix: php-version: - - "8.0" - "8.1" - "8.2" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index aa211ebe..84271082 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" diff --git a/.phive/phars.xml b/.phive/phars.xml index a30ffc0e..b195d717 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,4 +1,4 @@ - + diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 70737004..4da89857 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,7 @@ $license->save(); -$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php80($license->header())); +$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php81($license->header())); $config->getFinder() ->exclude([ diff --git a/CHANGELOG.md b/CHANGELOG.md index fec9b724..71b05b88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`2.1.0...main`][2.1.0...main]. +## Changed + +- Dropped support for PHP 8.0 ([#644]), by [@localheinz] + ## [`2.1.0`][2.1.0] For a full diff see [`2.0.0...2.1.0`][2.0.0...2.1.0]. @@ -105,5 +109,6 @@ For a full diff see [`675601b...0.1.0`][675601b...0.1.0]. [#533]: https://github.com/ergebnis/license/pull/533 [#534]: https://github.com/ergebnis/license/pull/534 [#550]: https://github.com/ergebnis/license/pull/550 +[#644]: https://github.com/ergebnis/license/pull/644 [@localheinz]: https://github.com/localheinz diff --git a/composer.json b/composer.json index 6d7c83c7..5b0dd2f5 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "source": "https://github.com/ergebnis/license" }, "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0", "ext-filter": "*" }, "require-dev": { @@ -50,7 +50,7 @@ "infection/extension-installer": true }, "platform": { - "php": "8.0.25" + "php": "8.1.20" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index 193ae3d7..fedc7f47 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f621d4ed661a27a9c96425ee8d3488b6", + "content-hash": "f78808748ef4fd77b4f96bba6bf61ed1", "packages": [], "packages-dev": [ { @@ -6320,12 +6320,12 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0", "ext-filter": "*" }, "platform-dev": [], "platform-overrides": { - "php": "8.0.25" + "php": "8.1.20" }, "plugin-api-version": "2.3.0" } diff --git a/rector.php b/rector.php index 5c358c85..52fccdcc 100644 --- a/rector.php +++ b/rector.php @@ -25,7 +25,7 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_80); + $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_81); $rectorConfig->sets([ PHPUnit\Set\PHPUnitSetList::PHPUNIT_90,