diff --git a/.github/settings.yml b/.github/settings.yml index b3258957..e203a5d8 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 b6aff261..2429066a 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" @@ -146,7 +146,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -197,7 +197,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -244,7 +244,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -301,7 +301,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -334,7 +334,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -388,7 +388,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/.php-cs-fixer.fixture.php b/.php-cs-fixer.fixture.php index 90182ec1..1ecd8c7f 100644 --- a/.php-cs-fixer.fixture.php +++ b/.php-cs-fixer.fixture.php @@ -13,7 +13,7 @@ use Ergebnis\PhpCsFixer; -$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php80(''), [ +$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php81(''), [ 'constant_case' => false, 'declare_strict_types' => false, 'error_suppression' => false, diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 09ad00d7..cb7c35ec 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 b4a7dd8a..051e0d53 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.0.0...main`][2.0.0...main]. +### Changed + +- Dropped support for PHP 8.0 ([#567]), by [@localheinz] + ## [`2.0.0`][2.0.0] For a full diff see [`1.0.0...2.0.0`][1.0.0...2.0.0]. @@ -478,6 +482,7 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0]. [#541]: https://github.com/ergebnis/phpstan-rules/pull/541 [#542]: https://github.com/ergebnis/phpstan-rules/pull/542 [#543]: https://github.com/ergebnis/phpstan-rules/pull/543 +[#567]: https://github.com/ergebnis/phpstan-rules/pull/567 [@enumag]: https://github.com/enumag [@ergebnis]: https://github.com/ergebnis diff --git a/composer.json b/composer.json index 829b0eff..c7719238 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "source": "https://github.com/ergebnis/phpstan-rules" }, "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0", "ext-mbstring": "*", "nikic/php-parser": "^4.2.3", "phpstan/phpstan": "^1.7.15" @@ -56,7 +56,7 @@ "infection/extension-installer": true }, "platform": { - "php": "8.0.27" + "php": "8.1.20" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index e565c6db..507946a0 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": "29619c3f10d28439cac4dc74569a32c2", + "content-hash": "b65e9a88c021cfa1ba9f82375e63d9c7", "packages": [ { "name": "nikic/php-parser", @@ -7594,12 +7594,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-mbstring": "*" }, "platform-dev": [], "platform-overrides": { - "php": "8.0.27" + "php": "8.1.20" }, "plugin-api-version": "2.3.0" }