Explicitly require ext-json

Makes phpstorm happier; take or leave
This commit is contained in:
Ian Littman 2019-05-11 13:37:22 -05:00
parent 42df2d9c47
commit 3fdfbe11f6
No known key found for this signature in database
GPG Key ID: 55488EB78A0AFBE3
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@ The following versions of PHP are supported:
* PHP 7.1
* PHP 7.2
The `openssl` extension is also required.
The `openssl` and `json` extensions are also required.
All HTTP messages passed to the server should be [PSR-7 compliant](https://www.php-fig.org/psr/psr-7/). This ensures interoperability with other packages and frameworks.

View File

@ -9,7 +9,8 @@
"league/event": "^2.1",
"lcobucci/jwt": "^3.2.2",
"psr/http-message": "^1.0.1",
"defuse/php-encryption": "^2.1"
"defuse/php-encryption": "^2.1",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^6.3 || ^7.0",