Skip to content

Commit

Permalink
upgrade to PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
defro committed Sep 9, 2022
1 parent 4a2ade3 commit 8671f30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Read how to launch here: docs/docker.md

FROM php:7.4-apache
FROM php:8.1-apache

MAINTAINER Joël Gaujard <j.gaujard@gmail.com>

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": ">=7.2",
"php": ">=8.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class UnexpectedValueException extends \UnexpectedValueException
{
public function __construct(string $message, int $code = null, Throwable $previous = null)
public function __construct(string $message, int $code = 0, Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
Expand Down

0 comments on commit 8671f30

Please sign in to comment.