-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
87 lines (87 loc) · 3.89 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
83
84
85
86
87
{
"name": "horstoeko/zugferdmail",
"keywords": [],
"description": "A library",
"homepage": "https://github.com/horstoeko/zugferdmail",
"type": "package",
"license": "MIT",
"prefer-stable": true,
"authors": [
{
"name": "Daniel Erling",
"email": "daniel@erling.com.de",
"role": "lead"
}
],
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"psr-4": {
"horstoeko\\zugferdmail\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"horstoeko\\zugferdmail\\tests\\": "tests"
}
},
"require": {
"php": ">=7.3",
"horstoeko/mimedb": "^1",
"horstoeko/stringmanagement": "^1.0",
"horstoeko/zugferd": "^1",
"horstoeko/zugferdublbridge": "^1",
"swaggest/json-schema": "^0.12.42",
"symfony/console": "^5|^6|^7",
"symfony/mime": "^5|^6|^7",
"vlucas/phpdotenv": "^5",
"webklex/php-imap": "^4|^5"
},
"require-dev": {
"nette/php-generator": "*",
"pdepend/pdepend": "^2",
"phpdocumentor/reflection-docblock": "^5.3",
"phploc/phploc": "^7",
"phpmd/phpmd": "^2",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9",
"sebastian/phpcpd": "^6",
"squizlabs/php_codesniffer": "^3"
},
"bin": [
"src/bin/ZugferdMailConsole"
],
"scripts": {
"tests": "./vendor/bin/phpunit ./tests/",
"testsreal": "./vendor/bin/phpunit --configuration ./build/phpunit.xml",
"phpcs": "./vendor/bin/phpcs --standard=./build/phpcsrules.xml --extensions=php --ignore=autoload.php ./src ./tests",
"phpcs12": "./vendor/bin/phpcs --standard=./build/phpcsrules_psr12.xml --extensions=php --ignore=autoload.php ./src ./tests",
"phpcbf": "./vendor/bin/phpcbf -q ./src ./tests",
"phpcbf1": "./vendor/bin/phpcbf --standard=./build/phpcsrules_psr1.xml -q ./src ./tests",
"phpcbf2": "./vendor/bin/phpcbf --standard=./build/phpcsrules_psr2.xml -q ./src ./tests",
"phpcbf12": "./vendor/bin/phpcbf --standard=./build/phpcsrules_psr12.xml -q ./src ./tests",
"phpcbfsq": "./vendor/bin/phpcbf --standard=./build/phpcsrules_squiz.xml -q ./src ./tests",
"phpstan": "./vendor/bin/phpstan analyze -c ./build/phpstan.neon --autoload-file=vendor/autoload.php --no-interaction --no-progress --xdebug",
"phpstan_cs": "./vendor/bin/phpstan analyze -c ./build/phpstan.neon --autoload-file=vendor/autoload.php --no-interaction --no-progress --error-format=checkstyle --xdebug",
"makedoc": "phing -f ./build.xml projectdoc",
"checkstyle": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phploc --count-tests --log-csv build/logs/phploc.csv --log-xml build/logs/phploc.xml src tests",
"vendor/bin/pdepend --jdepend-xml=build/logs/jdepend.xml --jdepend-chart=build/pdepend/dependencies.svg --overview-pyramid=build/pdepend/overview-pyramid.svg src",
"vendor/bin/phpmd src xml build/phpmd.xml --reportfile build/logs/pmd.xml --exclude src/entities/",
"vendor/bin/phpcs --report=checkstyle --report-file=build/logs/checkstyle.xml --standard=build/phpcsrules.xml --extensions=php --ignore=autoload.php src tests",
"vendor/bin/phpstan analyze -c build/phpstan.neon --autoload-file=vendor/autoload.php --no-interaction --no-progress --error-format=checkstyle > build/logs/checkstyle_phpstan.xml",
"vendor/bin/phpcpd --log-pmd build/logs/pmd-cpd.xml --exclude src/entities/ src"
],
"gitco": [
"@testsreal @no_additional_args",
"@phpcbf @no_additional_args",
"@checkstyle @no_additional_args",
"git add . @no_additional_args",
"git commit -m",
"git push @no_additional_args"
]
}
}