-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
43 lines (43 loc) · 1.23 KB
/
composer.json
File metadata and controls
43 lines (43 loc) · 1.23 KB
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
{
"name": "dailex/dlx-testing",
"type": "library",
"description": "Testing example crate for Dailex.",
"homepage": "https://github.com/dailex/dlx-testing",
"license": "MPL-2.0",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": "^7.2"
},
"require-dev": {
"phpunit/phpunit": "^7.4",
"sebastian/phpcpd": "^4.1",
"squizlabs/php_codesniffer": "^3.3"
},
"autoload": {
"psr-4": {
"Dlx\\Testing\\": "lib/"
}
},
"archive": {
"exclude": [
"/build",
"/vendor"
]
},
"scripts": {
"build": [ "@sniff", "@tests" ],
"code-sniffer-autofix": "phpcbf --standard=PSR2 -d tabWidth=4 lib/",
"code-sniffer": "phpcs -p -s --extensions=php --standard='PSR1,PSR2' lib/",
"copy-paste-detector": "phpcpd lib/ || true",
"sniff": [
"@code-sniffer",
"@copy-paste-detector",
"@validate-json"
],
"test": "phpunit --no-coverage",
"tests": "phpunit",
"validate-deps": "composer validate --with-dependencies --strict",
"validate-json": "composer validate --no-check-all --no-check-lock"
}
}