Skip to content

Commit

Permalink
Merge pull request #24 from tarfin-labs/update-php-version
Browse files Browse the repository at this point in the history
add php 8.2 support
  • Loading branch information
frkcn committed May 11, 2023
2 parents 90add24 + 0ab65aa commit a68b379
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2]
laravel: [8.*, 9.*, 10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
php: ['8.0', 8.1, 8.2]
laravel: [8, 9, 10]
exclude:
- php: '8.0'
laravel: 10
- php: '8.2'
laravel: 8

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand All @@ -40,10 +37,12 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer install --no-progress --no-ansi --profile --no-interaction --no-scripts --prefer-dist
run: composer update --prefer-dist --no-interaction --no-progress

- name: Start database server
run: sudo /etc/init.d/mysql start
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to `laravel-spatial` will be documented in this file

## 1.7.0 - 2023-05-11
- PHP 8.2 support added.

## 1.6.1 - 2023-04-04
- Changed `toGeomFromTextString()` to `toGeomFromText()` in Readme.
- Fixed `with_wkt_options` configuration.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
}
],
"require": {
"php": "^8.0|^8.1",
"php": "^8.0|^8.1|^8.2",
"illuminate/support": "^8.0|^9.0|^10.0"
},
"require-dev": {
"doctrine/dbal": "^3.3",
"orchestra/testbench": "^6.0|^7.0",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"phpunit/phpunit": "^9.0"
},
"autoload": {
Expand Down

0 comments on commit a68b379

Please sign in to comment.