From dcd8547f25c4804ed8b3d4e6fc002f1116cd4369 Mon Sep 17 00:00:00 2001 From: MGatner Date: Wed, 12 Jan 2022 15:27:35 +0000 Subject: [PATCH 1/2] Shuffle PHP versions --- src/.github/workflows/phpcsfixer.yml | 2 +- src/.github/workflows/phpstan.yml | 2 +- src/.github/workflows/phpunit.yml | 2 +- src/.github/workflows/rector.yml | 2 +- src/phpunit.xml.dist | 2 +- src/rector.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/.github/workflows/phpcsfixer.yml b/src/.github/workflows/phpcsfixer.yml index 0792dc4..6dd670f 100644 --- a/src/.github/workflows/phpcsfixer.yml +++ b/src/.github/workflows/phpcsfixer.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['7.3', '7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] steps: - name: Checkout diff --git a/src/.github/workflows/phpstan.yml b/src/.github/workflows/phpstan.yml index 1fda161..38300b9 100644 --- a/src/.github/workflows/phpstan.yml +++ b/src/.github/workflows/phpstan.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['7.3', '7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] steps: - name: Checkout diff --git a/src/.github/workflows/phpunit.yml b/src/.github/workflows/phpunit.yml index 61da51d..e1ba40e 100644 --- a/src/.github/workflows/phpunit.yml +++ b/src/.github/workflows/phpunit.yml @@ -25,7 +25,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]')" strategy: matrix: - php-versions: ['7.3', '7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] steps: - name: Checkout diff --git a/src/.github/workflows/rector.yml b/src/.github/workflows/rector.yml index a516446..fff0208 100644 --- a/src/.github/workflows/rector.yml +++ b/src/.github/workflows/rector.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['7.3', '7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] steps: - name: Checkout diff --git a/src/phpunit.xml.dist b/src/phpunit.xml.dist index 4c08914..a407044 100644 --- a/src/phpunit.xml.dist +++ b/src/phpunit.xml.dist @@ -1,6 +1,6 @@ import(SetList::DEAD_CODE); - $containerConfigurator->import(LevelSetList::UP_TO_PHP_73); + $containerConfigurator->import(LevelSetList::UP_TO_PHP_74); $containerConfigurator->import(PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD); $containerConfigurator->import(PHPUnitSetList::PHPUNIT_80); From 73c9eec51038376f4e2636c39d97d0e119646f8f Mon Sep 17 00:00:00 2001 From: MGatner Date: Wed, 12 Jan 2022 15:35:20 +0000 Subject: [PATCH 2/2] Clean up --- composer.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/composer.json b/composer.json index dd446bb..8135121 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "php": "^7.3 || ^8.0", + "php": "^7.4 || ^8.0", "codeigniter/coding-standard": "^1.1", "fakerphp/faker": "^1.9", "mikey179/vfsstream": "^1.6", @@ -34,15 +34,6 @@ "phpunit/phpunit": "^9.3", "roave/security-advisories": "dev-latest" }, - "require-dev": { - "codeigniter4/codeigniter4": "dev-develop" - }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/codeigniter4/CodeIgniter4" - } - ], "minimum-stability": "dev", "prefer-stable": true }