Skip to content

Commit

Permalink
Merge pull request #306 from spurwork/ss-1142-update-laravel-php
Browse files Browse the repository at this point in the history
Ss 1142 update laravel php
  • Loading branch information
stevespur authored Sep 25, 2024
2 parents f61b9c2 + 93592d5 commit b97b42b
Show file tree
Hide file tree
Showing 748 changed files with 4,166 additions and 3,734 deletions.
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: php
php:
- 8.2
- "8.3"
dist: focal
sudo: true
cache:
Expand All @@ -9,20 +9,25 @@ cache:
services:
- postgresql
addons:
postgresql: '12'
postgresql: "15"
apt:
packages:
- libonig5
- postgresql-12
- postgresql-client-12
- postgresql-12-postgis-3
- postgresql-15
- postgresql-client-15
- postgresql-15-postgis-3
env:
global:
- PGPORT=5433
- PGUSER=travis
- TEST_DB_PORT=5433
- TEST_DB_DATABASE=travis_ci_test
- TEST_DB_USERNAME=travis
- TEST_DB_PASSWORD=travis
before_install:
- sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf
- sudo pg_ctlcluster 12 main restart
- sudo systemctl stop postgresql@15-main
- sudo systemctl start postgresql@15-main
- sleep 1
- sudo mount -o remount,size=50% /var/ramfs
- phpenv config-rm xdebug.ini
Expand All @@ -32,6 +37,7 @@ install:
before_script:
- psql -U travis -c 'create database travis_ci_test'
- psql -U travis -c 'create extension postgis'
- psql -U travis -c "ALTER USER travis WITH PASSWORD 'travis';"
- php init_db.php
script:
- vendor/phpunit/phpunit/phpunit --stop-on-error --stop-on-failure
16 changes: 7 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@
}
],
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-bcmath": "*",
"doctrine/dbal": "^3.7",
"illuminate/database": "^8.83",
"mstaack/laravel-postgis": "^5.4",
"nesbot/carbon": "^2.72"
"illuminate/database": "^11.7",
"nesbot/carbon": "^2"
},
"require-dev": {
"orchestra/database": "^6.0",
"orchestra/testbench": "^6.40",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7"
"orchestra/testbench": "^9.0",
"phpunit/phpunit": "^10.5",
"robiningelbrecht/phpunit-pretty-print": "^1.3",
"squizlabs/php_codesniffer": "^3.9"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit b97b42b

Please sign in to comment.