-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
29 lines (29 loc) · 1.01 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "protonlabs/php-coding-standard",
"description": "ProtonLabs Coding Standard",
"type": "phpcodesniffer-standard",
"keywords": [
"protonlabs",
"php-codesniffer",
"coding-standard"
],
"homepage": "https://github.com/ProtonMail/php-coding-standard",
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"test-fix": "phpcs --standard=phpcs.xml --report=diff tests > tests/out.diff && diff tests/out.diff tests/expected.diff",
"test-print": "phpcs --standard=phpcs.xml --report=summary tests",
"test": "phpcs --standard=phpcs.xml --report=csv tests | sort -r | cut -f 2,3,4,6 -d ',' > tests/out.csv && diff tests/expected_csv.txt tests/out.csv"
},
"require": {
"php": "^8.0",
"slevomat/coding-standard": "^8.0",
"squizlabs/php_codesniffer": "^3.7"
},
"license": "MIT",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}