forked from sveneisenschmidt/bmecat
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcomposer.json
68 lines (68 loc) · 2.7 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
{
"name": "naugrim/bmecat",
"type": "library",
"description": "Allows to build BMEcat documents from PHP and converts them to xml",
"keywords": ["bmecat", "document", "serialization", "xml"],
"homepage": "https://github.com/naugrimm/bmecat",
"license": "MIT",
"authors": [
{
"name": "Erik Anders",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2",
"ext-dom": "*",
"ext-libxml": "*",
"jms/serializer": "^3.30",
"symfony/expression-language": "^5|^6|^7",
"webmozart/assert": "^1.11"
},
"autoload": {
"psr-4": {
"Naugrim\\BMEcat\\Tests\\": "tests/",
"Naugrim\\BMEcat\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Utils\\Rector\\": "utils/rector/src",
"Utils\\Rector\\Tests\\": "utils/rector/tests"
}
},
"scripts": {
"phpcs": "test -f ./tools/phpcompatibility/vendor/bin/phpcs || composer --working-dir=tools/phpcompatibility install && php -dmemory_limit=2G ./tools/phpcompatibility/vendor/bin/phpcs --runtime-set testVersion 7.4- --standard=./tools/phpcompatibility/vendor/phpcompatibility/php-compatibility/PHPCompatibility --ignore=\"vendor/*,node_modules/*,tools/*,css/*,js/*,public/*,resources/views/*\"",
"fix-dry": [
"test -f ./tools/php-cs-fixer/vendor/bin/php-cs-fixer || composer --working-dir=tools/php-cs-fixer install && ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run -- "
],
"fix": [
"test -f ./tools/php-cs-fixer/vendor/bin/php-cs-fixer || composer --working-dir=tools/php-cs-fixer install && ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix -- "
],
"rector": [
"test -f ./tools/rector/vendor/bin/rector || composer --working-dir=tools/rector install && ./tools/rector/vendor/bin/rector --autoload-file=vendor/autoload.php "
],
"phpunit": [
"@php -dxdebug.mode=coverage vendor/bin/phpunit"
],
"post-autoload-dump": [
"git config gitflow.path.hooks .githooks && git config core.hooksPath .githooks"
]
},
"require-dev": {
"phpunit/phpunit": "^10",
"rector/rector": "^1.1",
"phpstan/phpstan": "^1.11",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-strict-rules": "^1.6",
"phpstan/phpstan-deprecation-rules": "^1.2",
"symplify/easy-coding-standard": "^12.2",
"tomasvotruba/type-coverage": "^0.3.0",
"goetas/jms-serializer-phpstan-extension": "^1.0"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}