-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
77 lines (77 loc) · 3.71 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
{
"name": "horstoeko/orderx",
"keywords": ["orderx","order-x","electronic","order"],
"description": "A library for creating and reading Order-X document",
"homepage": "https://github.com/horstoeko/orderx",
"type": "package",
"license": "MIT",
"prefer-stable": true,
"authors": [
{
"name": "Daniel Erling",
"email": "[email protected]",
"role": "lead"
}
],
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"psr-4": {
"horstoeko\\orderx\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"horstoeko\\orderx\\tests\\": "tests"
}
},
"require": {
"php": "^7.3|^7.4|^8",
"jms/serializer": "^3",
"adrienrn/php-mimetyper": "^0.2",
"goetas-webservices/xsd2php-runtime": "^0.2.13",
"ext-simplexml": "*",
"symfony/validator": "^5|^6|^7",
"smalot/pdfparser": "^0",
"setasign/fpdf": "^1",
"setasign/fpdi": "^2",
"symfony/yaml": "^5|^6",
"horstoeko/stringmanagement": "^1",
"horstoeko/mimedb": "^1"
},
"require-dev": {
"goetas-webservices/xsd2php": "^0",
"pdepend/pdepend": "^2",
"phploc/phploc": "^7",
"phpmd/phpmd": "^2",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9",
"sebastian/phpcpd": "^6",
"squizlabs/php_codesniffer": "^3"
},
"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"
]
}
}