1
0
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:
Witold Wasiczko 2020-11-03 14:33:07 +01:00
parent 4f9b0e9da9
commit 6ca6d12fd3
No known key found for this signature in database
GPG Key ID: 018185A24DB71DCD
3 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ php:
- 7.2 - 7.2
- 7.3 - 7.3
- 7.4 - 7.4
- nightly
install: install:
- composer update - composer update

View File

@ -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": "*"
}, },

View File

@ -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.");
} }