-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcomposer.json
82 lines (82 loc) · 2.85 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
73
74
75
76
77
78
79
80
81
82
{
"name": "php-parallel-lint/php-console-color",
"description": "Simple library for creating colored console ouput.",
"license": "BSD-2-Clause",
"authors": [
{
"name": "Jakub Onderka",
"email": "[email protected]"
},
{
"name" : "Contributors",
"homepage" : "https://github.com/php-parallel-lint/PHP-Console-Color/graphs/contributors"
}
],
"autoload": {
"psr-4": {"PHP_Parallel_Lint\\PhpConsoleColor\\": "src/"}
},
"autoload-dev": {
"psr-4": {"PHP_Parallel_Lint\\PhpConsoleColor\\Test\\": "tests/"}
},
"require": {
"php": ">=5.3.2"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.1",
"php-parallel-lint/php-parallel-lint": "^1.0",
"php-parallel-lint/php-var-dump-check": "0.*",
"php-parallel-lint/php-code-style": "^2.0"
},
"replace": {
"jakub-onderka/php-console-color": "*"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"lock": false
},
"scripts" : {
"phplint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"vardumpcheck": [
"@php ./vendor/php-parallel-lint/php-var-dump-check/var-dump-check . --exclude vendor --exclude .git"
],
"phpcs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report-full --report-checkstyle=./build/logs/checkstyle.xml"
],
"fixcs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"phpunit": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"phpunit10": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit10.xml.dist --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"coverage10": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit10.xml.dist"
],
"build": [
"@phplint",
"@vardumpcheck",
"@phpcs",
"@phpunit"
]
},
"scripts-descriptions": {
"phplint": "Check syntax errors in PHP files",
"vardumpcheck": "Check PHP files for forgotten variable dumps",
"phpcs": "Check PHP code style",
"fixcs": "Auto-fix PHP code style",
"phpunit": "Run the unit tests on PHPUnit 4.x - 9.x without code coverage.",
"phpunit10": "Run the unit tests on PHPUnit 10.x without code coverage.",
"coverage": "Run the unit tests on PHPUnit 4.x - 9.x with code coverage.",
"coverage10": "Run the unit tests on PHPUnit 10.x with code coverage.",
"build": "Run all checks"
}
}