From 0a2a8df33fed370105a26b6f9678883b07b92fe5 Mon Sep 17 00:00:00 2001 From: Norby Baruani Date: Wed, 9 Oct 2024 16:27:41 +0200 Subject: [PATCH] Fix CI tests and drop Laravel 8 support (#27) * Fix ci tests * test * fix test * fix test * fix L8 min version * fix * revert * drop L8 support --- .github/workflows/main.yml | 12 ++---------- .styleci.yml | 2 -- composer.json | 4 ++-- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6fcd2fd..4add4ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,16 +17,9 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1] - laravel: [8.*, 9.*, 10.*] + php: [8.0, 8.1, 8.2] + laravel: [9.*, 10.*] dependency-version: [prefer-lowest, prefer-stable] - include: - - dbal: ignore - - laravel: 8.* - testbench: ^6.0 - dbal: install - - laravel: 9.* - dbal: install exclude: - laravel: 10.* php: 8.0 @@ -54,7 +47,6 @@ jobs: - name: Install Composer dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update - if [[ ${{matrix.dbal}} = 'install' ]]; then composer require doctrine/dbal; fi composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Run PHPUnit tests diff --git a/.styleci.yml b/.styleci.yml index 60b81a2..9c21065 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -2,7 +2,6 @@ preset: psr12 version: 8 enabled: - alpha_ordered_imports - - binary_operator_spaces - blank_line_before_return - cast_spaces - hash_to_slash_comment @@ -55,5 +54,4 @@ enabled: - trim_array_spaces - unalign_double_arrow - unalign_equals - - unary_operator_spaces - whitespace_after_comma_in_array diff --git a/composer.json b/composer.json index 07758fa..5254692 100644 --- a/composer.json +++ b/composer.json @@ -20,8 +20,8 @@ ], "require": { "php": "^8.0", - "illuminate/events": "^8|^9|^10.0", - "illuminate/support": "^8|^9|^10.0", + "illuminate/events": "^9.52|^10.0", + "illuminate/support": "^9.52|^10.0", "symfony/event-dispatcher": "^5.1", "symfony/workflow": "^5.1", "symfony/property-access": "^5.1"