Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Laravel 11.x Compatibility #188

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
php: [8.1 8.0 7.4]
php: ['8.1 8.0 7.4', '8.2']
release: [stable, lowest]

services:
Expand All @@ -26,16 +26,20 @@ jobs:

steps:
- uses: actions/checkout@v1

- uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: pecl
extensions: mbstring, dom, fileinfo, pgsql, intl
coverage: ${{ matrix.coverage }}

- run: composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-${{ matrix.release }}

- run: |
vendor/bin/phpunit
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"description": "Postgis extensions for laravel. Aims to make it easy to work with geometries from laravel models",
"require": {
"php": ">=7.1",
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"geo-io/wkb-parser": "^1.0",
"jmikola/geojson": "^1.0",
"bosnadev/database": "^0.21|dev-master"
},
"require-dev": {
"illuminate/pagination": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/pagination": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"phpunit/phpunit": ">=8.5.23",
"mockery/mockery": "^1.3"
},
Expand Down
Loading