diff --git a/.github/settings.yml b/.github/settings.yml index 0cce0e58..c156581c 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 94c793e8..2725be5c 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" @@ -76,7 +76,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -149,7 +149,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -203,7 +203,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -253,7 +253,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -313,7 +313,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -361,7 +361,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.1" dependencies: - "locked" @@ -418,7 +418,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 a5855b78..851c810e 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 d6760ead..9dc5e975 100644 --- a/.php-cs-fixer.fixture.php +++ b/.php-cs-fixer.fixture.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()), [ 'mb_str_functions' => false, 'psr_autoloading' => false, ]); diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index fed86ec2..42608feb 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()), [ 'mb_str_functions' => false, ]); diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ed05625..88f7614a 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 [`1.4.0...main`][1.4.0...main]. +### Changed + +- Dropped support for PHP 7.3 ([#1109]), by [@localheinz] + ## [`1.4.0`][1.4.0] For a full diff see [`1.3.0...1.4.0`][1.3.0...1.4.0]. @@ -323,6 +327,7 @@ For a full diff see [`fa9c564...0.1.0`][fa9c564...0.1.0]. [#947]: https://github.com/ergebnis/factory-bot/pull/947 [#948]: https://github.com/ergebnis/factory-bot/pull/948 [#1000]: https://github.com/ergebnis/factory-bot/pull/1000 +[#1109]: https://github.com/ergebnis/factory-bot/pull/1109 [@abenerd]: https://github.com/abenerd [@localheinz]: https://github.com/localheinz diff --git a/composer.json b/composer.json index 4f6ff345..02b6067a 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "source": "https://github.com/ergebnis/factory-bot" }, "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0", "doctrine/annotations": "^1.10.3 || ^2.0.0", "doctrine/collections": "^1.6.5 || ^2.0.0", "doctrine/dbal": "^2.12.0 || ^3.0.0", @@ -71,7 +71,7 @@ "phpstan/extension-installer": true }, "platform": { - "php": "8.0.25" + "php": "8.1.21" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index bf2f3cb3..4ed7cf57 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": "3549fbc141719ca071d3721fe823562e", + "content-hash": "ea3b5f7446120ac708ffc603ec079db8", "packages": [ { "name": "composer/package-versions-deprecated", @@ -8004,13 +8004,13 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0" }, "platform-dev": { "ext-pdo_sqlite": "*" }, "platform-overrides": { - "php": "8.0.25" + "php": "8.1.21" }, "plugin-api-version": "2.3.0" } diff --git a/rector.php b/rector.php index e1f603fe..9b82379b 100644 --- a/rector.php +++ b/rector.php @@ -26,7 +26,7 @@ __DIR__ . '/test/', ]); - $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_80); + $rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_81); $rectorConfig->sets([ PHPUnit\Set\PHPUnitSetList::PHPUNIT_91,