Skip to content

Commit

Permalink
dependency changes L11, PHP 8.0-8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
filasik committed Nov 29, 2024
1 parent d432ec4 commit 95fbc9c
Show file tree
Hide file tree
Showing 7 changed files with 3,634 additions and 2,589 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,18 @@ on: [push, pull_request]

jobs:
build-and-test:
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1]
laravel: [8.*, 9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 8.*
testbench: 6.*
collision: 5.*
- laravel: 9.*
testbench: 7.*
collision: 6.*
exclude:
- laravel: 8.*
stability: prefer-lowest

php: [8.1, 8.2, 8.3, 8.4]
laravel: [11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
collision: 8.*

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -51,4 +45,4 @@ jobs:
with:
token: ${{ secrets.CODE_COV_TOKEN }}
files: .coverage/clover.xml
verbose: true
verbose: true
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Laracaché is an InterSystems Caché database driver package for [Laravel](http:

## Quick Installation

PHP >= 8 and Laravel >= 8
PHP >= 8.1 and Laravel >= 11

(dont use)
```bash
composer require jeandormehl/laracache
```
Expand Down
25 changes: 12 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,33 @@
}
],
"require": {
"php": "^8.0|^8.1",
"illuminate/database": "^8.0|^9.0",
"illuminate/support": "^8.0|^9.0"
"php": "^8.0|^8.1|^8.2|^8.3|^8.4",
"illuminate/database": "^11.0",
"illuminate/support": "^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.11",
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^6.3",
"orchestra/testbench": "^7.7",
"pestphp/pest": "^1.22",
"phpunit/phpunit": "^9.5"
"friendsofphp/php-cs-fixer": "^3.16",
"mockery/mockery": "^1.5",
"nunomaduro/collision": "^8.1",
"orchestra/testbench": "^9.0",
"phpunit/phpunit": "^11.0"
},
"autoload": {
"psr-4": {
"Laracache\\": "src/"
}
},
"scripts": {
"test": "pest",
"test:coverage": "php -d pcov.enabled=1 ./vendor/bin/pest --coverage --coverage-clover=.coverage/clover.xml --coverage-html=.coverage",
"test": "pest --compact",
"test:coverage": "php -d pcov.enabled=1 ./vendor/bin/pest --coverage --compact",
"post-autoload-dump": [
"@php ./vendor/bin/testbench package:discover --ansi"
]
},
"extra": {
"branch-alias": {
"dev-master": "v2.0-dev"
},
"dev-master": "mls-dev"
},
"laravel": {
"providers": [
"Laracache\\Cache\\ServiceProvider"
Expand Down
Loading

0 comments on commit 95fbc9c

Please sign in to comment.