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