Skip to content

Commit

Permalink
Add support for laravel 11 and php 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Báfica committed Nov 22, 2024
1 parent 85a4045 commit 0e85c21
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PHP_VERSION="8.2"
ARG PHP_VERSION="8.3"

FROM php:${PHP_VERSION}-cli

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
strategy:
matrix:
php: [ "8.2" ]
php: [ "8.3" ]
runs-on: ubuntu-latest

steps:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PHP_VERSION ?= 8.2
PHP_VERSION ?= 8.3
PHP ?= bin/php -d "xdebug.mode=off"
COMPOSER ?= bin/composer

.PHONY: setup
setup:
DOCKER_BUILDKIT=1 docker build -f .docker/Dockerfile -t laravel-prometheus-exporter:8.2 --build-arg PHP_VERSION=8.2 .
DOCKER_BUILDKIT=1 docker build -f .docker/Dockerfile -t laravel-prometheus-exporter:8.3 --build-arg PHP_VERSION=8.3 .

.PHONY: vendor
vendor:
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
}
],
"require": {
"php": "^8.0 || ^8.1 || ^8.2",
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3",
"guzzlehttp/guzzle": "^7.4.2",
"illuminate/routing": "^10.0",
"illuminate/support": "^10.0",
"illuminate/routing": "^11.0",
"illuminate/support": "^11.0",
"promphp/prometheus_client_php": "^2.6.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5.20",
"phpunit/phpunit": "^11.0.0",
"mockery/mockery": "^1.5.0",
"orchestra/testbench": "^8.5"
"orchestra/testbench": "^9.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 0e85c21

Please sign in to comment.