From e11eecbb7ed0caafbaf1c305afd6b3f413e5b6cb Mon Sep 17 00:00:00 2001 From: Swapnil Sarwe Date: Thu, 3 Feb 2022 20:27:43 +0530 Subject: [PATCH] Added support for laravel 9 (#4) * added support laravel9 --- .github/workflows/tests.yml | 10 +++++++--- composer.json | 10 +++++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5e943c9..9fc21aa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,8 +11,11 @@ jobs: strategy: fail-fast: true matrix: - php: [7.4, 8.0] - laravel: [^8.0] + php: [7.4, '8.0', 8.1] + laravel: [8, 9] + exclude: + - php: 7.4 + laravel: 9 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -30,7 +33,8 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update + composer require "illuminate/contracts=^${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update composer update --prefer-dist --no-interaction --no-progress + - name: Execute tests run: vendor/bin/phpunit --verbose diff --git a/composer.json b/composer.json index 4fc8361..55813b5 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ ], "require": { "php": "^7.4|^8.0", - "blade-ui-kit/blade-icons": "^1.0", - "illuminate/support": "^8.0" + "blade-ui-kit/blade-icons": "^1.1", + "illuminate/support": "^8.0|^9.0" }, "require-dev": { - "codeat3/blade-icon-generation-helpers": "dev-poc", - "codeat3/phpcs-styles": "dev-main", - "orchestra/testbench": "^6.0", + "codeat3/blade-icon-generation-helpers": "^0.1", + "codeat3/phpcs-styles": "^1.0", + "orchestra/testbench": "^6.0|^7.0", "phpunit/phpunit": "^9.0" }, "autoload": {