Skip to content

Commit 46c381d

Browse files
committed
Update composer.json
Needed `allow-plugins` for build breaking during `composer install`
1 parent 3294a4c commit 46c381d

File tree

1 file changed

+49
-46
lines changed

1 file changed

+49
-46
lines changed

composer.json

Lines changed: 49 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,51 @@
11
{
2-
"name": "mf2/mf2",
3-
"type": "library",
4-
"description": "A pure, generic microformats2 parser — makes HTML as easy to consume as a JSON API",
5-
"keywords": ["microformats", "microformats 2", "parser", "semantic", "html"],
6-
"authors" : [
7-
{
8-
"name": "Barnaby Walters",
9-
"homepage": "http://waterpigs.co.uk"
10-
}
11-
],
12-
"bin": ["bin/fetch-mf2", "bin/parse-mf2"],
13-
"require": {
14-
"php": ">=5.6.0"
15-
},
16-
"config": {
17-
"platform": {
18-
}
19-
},
20-
"require-dev": {
21-
"mf2/tests": "dev-master#e9e2b905821ba0a5b59dab1a8eaf40634ce9cd49",
22-
"squizlabs/php_codesniffer": "^3.6.2",
23-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
24-
"phpcompatibility/php-compatibility": "^9.3",
25-
"yoast/phpunit-polyfills": "^1.0"
26-
},
27-
"scripts": {
28-
"cs-check": "phpcs",
29-
"tests": "XDEBUG_MODE=coverage ./vendor/bin/phpunit tests --coverage-text --whitelist Mf2",
30-
"test-mf1": "./vendor/bin/phpunit --group microformats/tests/mf1",
31-
"check-and-test": [
32-
"@cs-check",
33-
"@tests"
34-
],
35-
"check-and-test-all": [
36-
"@check-and-test",
37-
"@test-mf1"
38-
]
39-
},
40-
"autoload": {
41-
"files": ["Mf2/Parser.php"]
42-
},
43-
"license": "CC0-1.0",
44-
"suggest": {
45-
"barnabywalters/mf-cleaner": "To more easily handle the canonical data php-mf2 gives you",
46-
"masterminds/html5": "Alternative HTML parser for PHP, for better HTML5 support."
47-
}
2+
"name": "mf2/mf2",
3+
"type": "library",
4+
"description": "A pure, generic microformats2 parser — makes HTML as easy to consume as a JSON API",
5+
"keywords": ["microformats", "microformats 2", "parser", "semantic", "html"],
6+
"authors" : [
7+
{
8+
"name": "Barnaby Walters",
9+
"homepage": "http://waterpigs.co.uk"
10+
}
11+
],
12+
"bin": ["bin/fetch-mf2", "bin/parse-mf2"],
13+
"require": {
14+
"php": ">=5.6.0"
15+
},
16+
"config": {
17+
"platform": {
18+
},
19+
"allow-plugins": {
20+
"dealerdirect/phpcodesniffer-composer-installer": true
21+
}
22+
},
23+
"require-dev": {
24+
"mf2/tests": "dev-master#e9e2b905821ba0a5b59dab1a8eaf40634ce9cd49",
25+
"squizlabs/php_codesniffer": "^3.6.2",
26+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
27+
"phpcompatibility/php-compatibility": "^9.3",
28+
"yoast/phpunit-polyfills": "^1.0"
29+
},
30+
"scripts": {
31+
"cs-check": "phpcs",
32+
"tests": "XDEBUG_MODE=coverage ./vendor/bin/phpunit tests --coverage-text --whitelist Mf2",
33+
"test-mf1": "./vendor/bin/phpunit --group microformats/tests/mf1",
34+
"check-and-test": [
35+
"@cs-check",
36+
"@tests"
37+
],
38+
"check-and-test-all": [
39+
"@check-and-test",
40+
"@test-mf1"
41+
]
42+
},
43+
"autoload": {
44+
"files": ["Mf2/Parser.php"]
45+
},
46+
"license": "CC0-1.0",
47+
"suggest": {
48+
"barnabywalters/mf-cleaner": "To more easily handle the canonical data php-mf2 gives you",
49+
"masterminds/html5": "Alternative HTML parser for PHP, for better HTML5 support."
50+
}
4851
}

0 commit comments

Comments
 (0)