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 7e04b09 commit b3a2214
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 23 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: Run Tests
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 Taxes 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
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
}
],
"require": {
"php": "^8.0",
"konekt/concord": "^1.12",
"konekt/address": "^2.7",
"konekt/laravel-migration-compatibility": "^1.5",
"vanilo/contracts": "^3.6",
"vanilo/support": "^3.6",
"laravel/framework": "^9.2|^10.0"
"php": "^8.2",
"konekt/concord": "^1.13",
"konekt/address": "^2.8",
"konekt/laravel-migration-compatibility": "^1.6",
"vanilo/contracts": "^4.0",
"vanilo/support": "^4.0",
"laravel/framework": "^10.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"orchestra/testbench": "^7.0|^8.0"
"orchestra/testbench": "^8.0"
},
"autoload": {
"psr-4": { "Vanilo\\Taxes\\": "" }
Expand Down

0 comments on commit b3a2214

Please sign in to comment.