Skip to content

Commit

Permalink
Dropped PHP 8.0, 8.1 and Laravel 9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed May 24, 2023
1 parent 38ba99e commit 1a2998f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 25 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Vanilo Order 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
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
}
],
"require": {
"php": "^8.0",
"konekt/address": "^2.5.1",
"konekt/concord": "^1.12",
"konekt/enum": "^3.1.1 | ^4.0",
"konekt/laravel-migration-compatibility": "^1.5",
"konekt/user": "^2.4",
"laravel/framework": "^9.2|^10.0",
"vanilo/contracts": "^3.4",
"vanilo/support": "^3.4"
"php": "^8.2",
"konekt/address": "^2.8",
"konekt/concord": "^1.13",
"konekt/enum": "^3.1.1|^4.0",
"konekt/laravel-migration-compatibility": "^1.6",
"konekt/user": "^2.7",
"laravel/framework": "^10.0",
"vanilo/contracts": "^4.0",
"vanilo/support": "^4.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"orchestra/testbench": "^7.0|^8.0",
"orchestra/testbench": "^8.0",
"laravel/legacy-factories": "^1.0"
},
"autoload": {
Expand Down

0 comments on commit 1a2998f

Please sign in to comment.