forked from totara/code-sniffer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
39 lines (39 loc) · 1.17 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
{
"name": "totara/codesniffer",
"description": "PHP Code Sniffer standard for Totara Coding Style.",
"type": "project",
"keywords": [
"phpcs",
"standards",
"totara"
],
"homepage": "https://git.totaralearning.com/projects/GENERAL/repos/code-sniffer/browse",
"license": "BSD-3-Clause",
"authors": [
{ "name": "Fabian Derschatta" }
],
"prefer-stable" : true,
"require": {
"squizlabs/php_codesniffer": "3.*",
"exussum12/coverage-checker": "*",
"phpcompatibility/php-compatibility": "*",
"php": ">=5.6.0"
},
"require-dev": {
"phpunit/phpunit": "^7.3"
},
"autoload": {
"psr-4": {
"Totara\\CodeSniffer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Totara\\CodeSniffer\\": "tests/"
}
},
"scripts": {
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths $PWD/src/Standards,$PWD/vendor/phpcompatibility/php-compatibility",
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths $PWD/src/Standards,$PWD/vendor/phpcompatibility/php-compatibility"
}
}