mirror of
https://github.com/halaxa/json-machine.git
synced 2025-01-29 10:28:09 +01:00
Test on PHP8 env
This commit is contained in:
parent
4f9b0e9da9
commit
6ca6d12fd3
@ -7,6 +7,7 @@ php:
|
||||
- 7.2
|
||||
- 7.3
|
||||
- 7.4
|
||||
- nightly
|
||||
|
||||
install:
|
||||
- composer update
|
||||
|
@ -12,7 +12,7 @@
|
||||
"php": ">=5.6"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7",
|
||||
"phpunit/phpunit": "^5.7.27",
|
||||
"guzzlehttp/guzzle": "^6",
|
||||
"ext-json": "*"
|
||||
},
|
||||
|
@ -4,7 +4,7 @@ namespace JsonMachine\Exception;
|
||||
|
||||
class SyntaxError extends \RuntimeException
|
||||
{
|
||||
public function __construct($message = "", $position)
|
||||
public function __construct($message, $position)
|
||||
{
|
||||
parent::__construct($message." At position $position.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user