From 619368b4bf60313ea1d8425b1ec5769ebb7e96b4 Mon Sep 17 00:00:00 2001 From: Shift Date: Mon, 17 Feb 2025 00:51:48 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index c76b81c..58d41fa 100644 --- a/composer.json +++ b/composer.json @@ -24,16 +24,16 @@ "php": ">=8.1", "cviebrock/discourse-php": "^0.9.3", "guzzlehttp/guzzle": "^7.4.5", - "illuminate/auth": "~8|~9|~10|~11", - "illuminate/routing": "~8|~9|~10|~11", - "illuminate/support": "~8|~9|~10|~11" + "illuminate/auth": "~8|~9|~10|~11|^12.0", + "illuminate/routing": "~8|~9|~10|~11|^12.0", + "illuminate/support": "~8|~9|~10|~11|^12.0" }, "require-dev": { "laravel/sail": "^1.21", "mockery/mockery": "^1.5.1", "phpunit/phpunit": "^9.6.5", - "psy/psysh": "^0.11.1", - "symfony/var-dumper": "^6.2" + "psy/psysh": "^0.11.1|^0.12", + "symfony/var-dumper": "^6.2|^7.2" }, "autoload": { "psr-4": { From f5507354d9d4192a2d24d3659def7906a9a3fac8 Mon Sep 17 00:00:00 2001 From: Shift Date: Mon, 17 Feb 2025 00:51:48 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99ff50f..1ea6bf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,12 @@ on: jobs: tests: - runs-on: ubuntu-latest strategy: fail-fast: true matrix: - php: [7.2, 7.3, 7.4] + php: [7.2, 7.3, 7.4, '8.2', '8.3', '8.4'] stability: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.stability }} @@ -38,7 +37,7 @@ jobs: - name: PHP Security Checker uses: symfonycorp/security-checker-action@v2 - if: ${{ matrix.stability == 'prefer-stable' }} + if: "${{ matrix.stability == 'prefer-stable' }}" - name: Execute tests run: vendor/bin/phpunit --coverage-clover=coverage.clover --verbose