-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcomposer.json
56 lines (56 loc) · 1.49 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "fig-r/psr2r-sniffer",
"license": "MIT",
"description": "Code-Sniffer, Auto-Fixer and Tokenizer for PSR2-R",
"type": "phpcodesniffer-standard",
"keywords": ["cs", "codesniffer", "static analysis"],
"authors": [
{
"name": "Mark Scherer",
"homepage": "https://www.dereuromark.de",
"role": "Contributor"
}
],
"require": {
"php": ">=8.1",
"php-collective/code-sniffer": "^0.2.6",
"slevomat/coding-standard": "^8.3.0",
"squizlabs/php_codesniffer": "^3.7.0"
},
"require-dev": {
"phpunit/phpunit": "^10.3",
"phpstan/phpstan": "^1.0.0"
},
"autoload": {
"psr-4": {
"PSR2R\\": "PSR2R/"
}
},
"autoload-dev": {
"psr-4": {
"PSR2R\\Test\\": "tests/"
}
},
"prefer-stable": true,
"minimum-stability": "stable",
"bin": [
"bin/tokenize",
"bin/sniff"
],
"scripts": {
"docs": "php docs/generate.php",
"docs-listing": "phpcs -e --standard=PSR2R/ruleset.xml",
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit",
"test-coverage": "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml",
"lowest": "validate-prefer-lowest",
"lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json",
"stan": "phpstan analyse"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}