Skip to content

Commit 3e6f38a

Browse files
authored
test against PHP 8.4 (#15)
test against PHP 8.4
1 parent 5e195af commit 3e6f38a

File tree

6 files changed

+276
-263
lines changed

6 files changed

+276
-263
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI Tests
1+
name: Tests
22

33
on:
44
push:
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
# https://www.php.net/supported-versions.php
17-
php-version: ['8.1', '8.2', '8.3']
17+
php-version: ['8.2', '8.3', '8.4']
1818

1919
name: PHP OpenCage Geocode
2020

CHANGES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
3.3.1 -- Thu Nov 21 2024
2+
=====================================================
3+
- add testing against PHP 8.4
4+
15
3.3.0 -- Mon Mar 11 2024
26
=====================================================
37
- add an HTTP header: User-Agent

Vagrantfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ Vagrant.configure("2") do |config|
88

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

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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"php": ">=8.0"
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "~10.0",
21+
"phpunit/phpunit": "~11.0",
2222
"squizlabs/php_codesniffer": "^3.7",
23-
"phpstan/phpstan": "^1.10"
23+
"phpstan/phpstan": "^2.0.0"
2424
},
2525
"archive": {
2626
"exclude": ["vendor", ".DS_Store"]

0 commit comments

Comments
 (0)