forked from daniert/censor-code-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
38 lines (38 loc) · 963 Bytes
/
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
{
"name": "uptodown/censor-code-test",
"description": "A simple exercise in PHP",
"autoload": {
"psr-4": {
"Censor\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "*",
"phpunit/phpunit": "*",
"friendsofphp/php-cs-fixer": "*",
"php-di/php-di": "^6.0"
},
"scripts": {
"syntax-check": [
"parallel-lint src",
"parallel-lint tests"
],
"phpunit": [
"phpunit --configuration phpunit.xml tests"
],
"style-fixer": [
"php-cs-fixer fix --config=php_cs_config.php_cs src",
"php-cs-fixer fix --config=php_cs_config.php_cs tests"
],
"ci": [
"composer syntax-check",
"composer phpunit",
"composer style-fixer"
]
}
}