Skip to content

Commit 7f07021

Browse files
committedSep 25, 2022
Update .editorconfig and composer.json
Default .editorconfig was forcing composer.json with spaces to save as tabs. This should preserve the whitespace in the PR.
1 parent 46c381d commit 7f07021

File tree

2 files changed

+50
-50
lines changed

2 files changed

+50
-50
lines changed
 

‎.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ trim_trailing_whitespace = true
66
insert_final_newline = true
77
charset = utf-8
88

9-
[*.yml]
9+
[*.{json,yml}]
1010
indent_style = space
1111
indent_size = 2

‎composer.json

+49-49
Original file line numberDiff line numberDiff line change
@@ -1,51 +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-
"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-
}
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+
}
5151
}

0 commit comments

Comments
 (0)
Please sign in to comment.