-
Notifications
You must be signed in to change notification settings - Fork 38
/
composer.json
72 lines (72 loc) · 1.91 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "dancryer/php-docblock-checker",
"description": "A simple tool for checking that your PHP classes and methods use docblocks.",
"minimum-stability": "stable",
"type": "library",
"keywords": [
"php",
"phpci",
"testing",
"docblock",
"comment",
"checker",
"code quality"
],
"homepage": "https://www.phptesting.org/",
"license": "BSD-2-Clause",
"authors": [
{
"name": "Dan Cryer",
"email": "[email protected]",
"homepage": "http://www.block8.co.uk",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/dancryer/php-docblock-checker/issues",
"source": "https://github.com/dancryer/php-docblock-checker"
},
"require": {
"php": ">=5.5",
"nikic/php-parser": "3.*|4.*",
"symfony/console": "3.4.*|4.*",
"symfony/yaml": "3.4.*|4.*",
"ext-json": "*"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.8.*",
"phpstan/phpstan": "^0.11.5",
"squizlabs/php_codesniffer": "^3.4",
"phperf/xh-tool": "^1.1",
"phpunit/phpunit": "^4.8"
},
"bin": [
"bin/phpdoccheck"
],
"autoload": {
"psr-4": {
"PhpDocBlockChecker\\": "src"
}
},
"scripts": {
"lint": "parallel-lint -e php --exclude vendor --exclude tests/FileParser/TestClassPhp7.php .",
"test": "phpunit",
"doccheck": "./bin/phpdoccheck",
"phpcs": "phpcs --extensions=php --cache=.phpcs-cache",
"static": "phpstan analyse src --level=7",
"check": [
"@lint",
"@test",
"@phpcs",
"@static"
]
},
"scripts-descriptions": {
"lint": "Run the php linter to check for valid PHP",
"test": "Run the phpunit tests",
"doccheck": "Run the docblock checker on all files in the project",
"phpcs": "Run the code sniffer on all files in the project",
"static": "Run phpstan on the src directory",
"check": "Run the entire suite of checks (run on travis)"
}
}