Skip to content

Commit e77e982

Browse files
committed
build: add support for PHP 7.3 and PHP 7.4
Add support for PHP versions 7.3-7.4 in code validators dependencies.
1 parent a9ae767 commit e77e982

File tree

1 file changed

+23
-27
lines changed

1 file changed

+23
-27
lines changed

composer.json

100644100755
Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,37 @@
11
{
2-
"name": "josantonius/json",
3-
"type": "library",
2+
"name": "josantonius/json",
43
"description": "PHP simple library for managing Json files.",
4+
"license": "MIT",
5+
"type": "library",
56
"keywords": [
6-
"JSON",
7-
"HHVM",
8-
"File to array",
9-
"Array to file",
10-
"JavaScript Object Notation",
11-
"JavaScript",
12-
"Data exchange",
7+
"JSON",
8+
"File to array",
9+
"Array to file",
10+
"JavaScript",
1311
"PHP"
1412
],
15-
"license": "MIT",
1613
"authors": [
1714
{
18-
"name": "Josantonius",
19-
"email": "hello@josantonius.com",
20-
"homepage": "https://josantonius.com",
21-
"role": "Developer"
15+
"name": "Josantonius",
16+
"email": "hello@josantonius.com",
17+
"homepage": "https://josantonius.dev",
18+
"role": "Developer"
2219
}
2320
],
2421
"support": {
2522
"issues": "https://github.com/josantonius/php-asset/issues",
26-
"forum": "http://stackoverflow.com/tags/josantonius/php-asset",
23+
"forum": "http://stackoverflow.com/tags/josantonius/php-asset",
2724
"source": "https://github.com/josantonius/php-asset"
2825
},
29-
"config": {
30-
"preferred-install": "dist"
31-
},
32-
"minimum-stability": "stable",
3326
"require": {
3427
"php": "^5.6 || ^7.0"
3528
},
3629
"require-dev": {
30+
"phpmd/phpmd": "^2.6",
3731
"phpunit/phpunit": "^5.7 || ^6.0",
38-
"squizlabs/php_codesniffer": "^3.0",
39-
"friendsofphp/php-cs-fixer": "^2.3 || ^2.8",
40-
"phpmd/phpmd": "^2.6"
32+
"squizlabs/php_codesniffer": "^3.6.2"
4133
},
34+
"minimum-stability": "stable",
4235
"autoload": {
4336
"psr-4": {
4437
"Josantonius\\Json\\": "src/"
@@ -49,24 +42,27 @@
4942
"Josantonius\\Json\\": "tests/"
5043
}
5144
},
45+
"config": {
46+
"preferred-install": "dist"
47+
},
5248
"extra": {
5349
"branch-alias": {
5450
"dev-master": "1.0-dev"
5551
}
5652
},
5753
"scripts": {
58-
"phpunit": "vendor/bin/phpunit --colors=always;",
59-
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');",
60-
"phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml",
54+
"coverage": "vendor/bin/phpunit --coverage-clover=coverage.xml",
6155
"fix": [
62-
"vendor/bin/php-cs-fixer fix -v",
6356
"vendor/bin/phpcbf src tests"
6457
],
58+
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');",
59+
"phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml",
60+
"phpunit": "vendor/bin/phpunit --colors=always;",
6561
"tests": [
6662
"clear",
6763
"@phpmd",
6864
"@phpcs",
6965
"@phpunit"
7066
]
7167
}
72-
}
68+
}

0 commit comments

Comments
 (0)