From c93f7cf7b50af65227c3cfe02b3b549c8a50a85e Mon Sep 17 00:00:00 2001 From: Ash Allen Date: Mon, 29 Aug 2022 23:39:13 +0100 Subject: [PATCH 1/2] Run workflows using PHP 8.2. --- .github/workflows/ci-phpstan.yml | 2 +- .github/workflows/ci-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-phpstan.yml b/.github/workflows/ci-phpstan.yml index 82e6070..8d69d1b 100644 --- a/.github/workflows/ci-phpstan.yml +++ b/.github/workflows/ci-phpstan.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1] + php: [8.0, 8.1, 8.2] laravel: [8.*, 9.*] include: - laravel: 9.* diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 123583b..e83b555 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1] + php: [8.0, 8.1, 8.2] laravel: [8.*, 9.*] include: - laravel: 9.* From 2b1fa00c10d4080accac5ee7467f69b111ed77c5 Mon Sep 17 00:00:00 2001 From: Ash Allen Date: Mon, 17 Oct 2022 14:19:38 +0100 Subject: [PATCH 2/2] Allow "dev" so PHP 8.2 can be supported. --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index eabdb3d..7293796 100644 --- a/composer.json +++ b/composer.json @@ -50,5 +50,7 @@ "scripts": { "test": "vendor/bin/phpunit", "larastan": "vendor/bin/phpstan analyse" - } + }, + "minimum-stability": "dev", + "prefer-stable": true }