From 8a40cb338c4ee4f238f05e3fb147a1261ed3d4f7 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Wed, 24 May 2023 20:46:11 +0300 Subject: [PATCH] Dropped PHP 8.0, 8.1 and Laravel 9 support --- .github/workflows/tests.yml | 17 ++--------------- Changelog.md | 8 ++++++++ composer.json | 12 ++++++------ 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 680d90b..90e8f66 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,11 +8,8 @@ jobs: timeout-minutes: 10 strategy: matrix: - php: ['8.0', '8.1', '8.2'] - laravel: ['9.2', '9.52', '10.0'] - exclude: - - php: '8.0' - laravel: '10.0' + php: ['8.2'] + laravel: ['10.0', '10.12'] name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} steps: - name: Checkout @@ -25,16 +22,6 @@ jobs: tools: composer:v2 - name: Lock Laravel Version run: composer require "illuminate/support:${{ matrix.laravel }}.*" --no-update -v && composer require "illuminate/console:${{ matrix.laravel }}.*" --no-update -v - - name: Testbench Version Adjustments - run: | - is_smaller_version() [[ $(echo -e "$1\n$2"|sort -V|head -1) != $2 ]] - is_smaller_version "${{ matrix.laravel }}" "9.36" && composer req "orchestra/testbench-core:7.10.2" --no-update - is_smaller_version "${{ matrix.laravel }}" "9.34" && composer req "orchestra/testbench-core:7.8.1" --no-update - is_smaller_version "${{ matrix.laravel }}" "9.32" && composer req "orchestra/testbench-core:7.7.1" --no-update - is_smaller_version "${{ matrix.laravel }}" "9.12" && composer req "orchestra/testbench-core:7.4.0" --no-update - is_smaller_version "${{ matrix.laravel }}" "9.7" && composer req "orchestra/testbench-core:7.3.0" --no-update - is_smaller_version "${{ matrix.laravel }}" "9.6" && composer req "orchestra/testbench-core:7.2.0" --no-update - is_smaller_version "${{ matrix.laravel }}" "9.5" && composer req "orchestra/testbench-core:7.1.0" --no-update || true - name: Composer Install run: composer install --prefer-dist --no-progress --no-interaction - name: Create SQLite Database diff --git a/Changelog.md b/Changelog.md index d3d6dc3..fb23956 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,13 @@ # Vanilo Links Module Changelog +## 4.x Series + +## Unreleased +##### 2023-XX-YY + +- Dropped PHP 8.0 & PHP 8.1 Support +- Dropped Laravel 9 Support + ## 3.x Series ## 3.8.0 diff --git a/composer.json b/composer.json index 36f6b6d..96c0a40 100644 --- a/composer.json +++ b/composer.json @@ -17,14 +17,14 @@ } ], "require": { - "php": "^8.0", - "cviebrock/eloquent-sluggable": "^9.0|^10.0", - "illuminate/support": "^9.2|^10.0", - "konekt/concord": "^1.12" + "php": "^8.2", + "cviebrock/eloquent-sluggable": "^10.0", + "illuminate/support": "^10.0", + "konekt/concord": "^1.13" }, "require-dev": { "phpunit/phpunit": "^9.0", - "orchestra/testbench": "^7.0|^8.0" + "orchestra/testbench": "^8.0" }, "autoload": { "psr-4": { @@ -35,7 +35,7 @@ ] }, "suggest": { - "vanilo/properties": "Allows setting the differing property between linked models (^3.0)" + "vanilo/properties": "Allows setting the differing property between linked models (^4.0)" }, "extra": { "branch-alias": {