/
composer.json
41 lines (41 loc) · 1.46 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
{
"name": "object-calisthenics/phpcs-calisthenics-rules",
"description": "PHP CodeSniffer Object Calisthenics rules/sniffs",
"license": "MIT",
"type": "phpcodesniffer-standard",
"homepage": "https://github.com/object-calisthenics/phpcs-calisthenics-rules",
"authors": [
{ "name": "Guilherme Blanco", "email": "guilhermeblanco@hotmail.com" },
{ "name": "Tomas Votruba", "email": "info@tomasvotruba.cz" }
],
"require": {
"php": "^7.0",
"squizlabs/php_codesniffer": "^2.4"
},
"require-dev": {
"phpunit/phpunit": "^5.6",
"fabpot/php-cs-fixer": "^1.12"
},
"autoload": {
"psr-4": {
"ObjectCalisthenics\\": "src/ObjectCalisthenics"
}
},
"autoload-dev": {
"psr-4": {
"ObjectCalisthenics\\Tests\\": "tests"
}
},
"scripts": {
"check-cs": [
"vendor/bin/php-cs-fixer fix src --diff --dry-run -v --level=symfony",
"vendor/bin/php-cs-fixer fix tests --diff --dry-run -v --level=symfony",
"vendor/bin/phpcs src tests --colors -p -s --extensions=php --standard=src/ObjectCalisthenics/ruleset.xml"
],
"fix-cs": [
"vendor/bin/php-cs-fixer fix src -v --level=symfony",
"vendor/bin/php-cs-fixer fix tests -v --level=symfony",
"vendor/bin/phpcs src tests --colors -p -s --extensions=php --standard=src/ObjectCalisthenics/ruleset.xml"
]
}
}