Skip to content
This repository was archived by the owner on Oct 25, 2021. It is now read-only.

Commit 395d47c

Browse files
authored
Merge pull request #2 from wizaplace/fix-dependencies
Add symfony/options-resolver dependency, rename namespaces and fix code style
2 parents 1d2ca24 + d9a3eeb commit 395d47c

File tree

8 files changed

+226
-233
lines changed

8 files changed

+226
-233
lines changed

composer.json

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
{
2-
"name": "wizaplace/json-decoder",
3-
"description": "Throw an exception when json_decode() fails to decode a JSON",
4-
"type": "library",
5-
"homepage": "https://github.com/wizaplace/json-decoder",
6-
"require-dev": {
7-
"friendsofphp/php-cs-fixer": "^2.14",
8-
"phpstan/phpstan": "^0.11.2",
9-
"phpunit/phpunit": "^8.0"
10-
},
11-
"license": "MIT",
12-
"authors": [
13-
{
14-
"name": "Wizaplace",
15-
"email": "dev@wizaplace.com"
2+
"name": "wizaplace/json-decoder",
3+
"description": "Throw an exception when json_decode() fails to decode a JSON and validate decoded data.",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Wizaplace",
9+
"email": "dev@wizaplace.com"
10+
}
11+
],
12+
"require": {
13+
"php": "^7.1.3",
14+
"ext-json": "*",
15+
"symfony/options-resolver": "^3.0||^4.0"
16+
},
17+
"require-dev": {
18+
"friendsofphp/php-cs-fixer": "^2.14",
19+
"phpstan/phpstan": "^0.11.2",
20+
"phpunit/phpunit": "^8.0"
21+
},
22+
"autoload": {
23+
"psr-4": {
24+
"Wizaplace\\JsonDecoder\\": "src/"
25+
}
26+
},
27+
"autoload-dev": {
28+
"psr-4": {
29+
"Wizaplace\\JsonDecoder\\Test\\": "tests/"
30+
}
1631
}
17-
],
18-
"minimum-stability": "stable",
19-
"require": {
20-
"php": "^7.1.3",
21-
"ext-json": "*"
22-
},
23-
"autoload": {
24-
"psr-4": {
25-
"Wizaplace\\Json\\": "src/"
26-
}
27-
},
28-
"autoload-dev": {
29-
"psr-4": {
30-
"Wizaplace\\Test\\": "tests/"
31-
}
32-
}
33-
}
32+
}

0 commit comments

Comments
 (0)