Skip to content

Commit

Permalink
test against PHP 8.4 (#15)
Browse files Browse the repository at this point in the history
test against PHP 8.4
  • Loading branch information
mtmail authored Nov 21, 2024
1 parent 5e195af commit 3e6f38a
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 263 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI Tests
name: Tests

on:
push:
Expand All @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
# https://www.php.net/supported-versions.php
php-version: ['8.1', '8.2', '8.3']
php-version: ['8.2', '8.3', '8.4']

name: PHP OpenCage Geocode

Expand Down
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
3.3.1 -- Thu Nov 21 2024
=====================================================
- add testing against PHP 8.4

3.3.0 -- Mon Mar 11 2024
=====================================================
- add an HTTP header: User-Agent
Expand Down
6 changes: 5 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ Vagrant.configure("2") do |config|

# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "bento/ubuntu-22.04"
config.vm.box = "bento/ubuntu-24.04"
if RUBY_PLATFORM.include?('darwin') && RUBY_PLATFORM.include?('arm64')
# Apple Silicon/M processor
config.vm.box = 'gutehall/ubuntu24-04'
end

config.vm.synced_folder ".", "/home/vagrant/php-opencage-geocode"

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"php": ">=8.0"
},
"require-dev": {
"phpunit/phpunit": "~10.0",
"phpunit/phpunit": "~11.0",
"squizlabs/php_codesniffer": "^3.7",
"phpstan/phpstan": "^1.10"
"phpstan/phpstan": "^2.0.0"
},
"archive": {
"exclude": ["vendor", ".DS_Store"]
Expand Down
Loading

0 comments on commit 3e6f38a

Please sign in to comment.