-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
81 lines (81 loc) · 3.18 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
{
"name": "ujamii/openimmo",
"description": "OpenImmo library for PHP8. Read and write OpenImmo xml format with JMS Serializer.",
"type": "library",
"license": "GPL-3.0-only",
"authors": [
{
"name": "Michael Grundkötter",
"email": "[email protected]",
"homepage": "https://www.ujamii.com",
"role": "Developer"
}
],
"require": {
"php": ">=8.1",
"ext-dom": "*",
"ext-simplexml": "*",
"jms/serializer": "^2.1 || ^3.5",
"doctrine/annotations": "^2.0"
},
"require-dev": {
"ext-json": "*",
"goetas-webservices/xsd-reader": "^0.4",
"phpunit/phpunit": ">=7.5 <10",
"phpstan/phpstan": "^1.0 || ^2.0",
"infection/infection": ">=0.16",
"friendsofphp/php-cs-fixer": "^3.0",
"rector/rector": ">=0.18",
"symfony/serializer": "^5.3 || ^6.0",
"nette/php-generator": "^4.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ujamii\\OpenImmo\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Ujamii\\OpenImmo\\Tests\\": "tests"
}
},
"scripts": {
"generate-api": [
"php -f ./generate-api.php",
"@php-cs-fixer"
],
"phpunit": "vendor/bin/phpunit -c build/config/phpunit.xml.dist",
"phpstan": "vendor/bin/phpstan --memory-limit=1G analyse -c build/config/phpstan.neon",
"phpstan-baseline": "vendor/bin/phpstan --memory-limit=1G analyse -c build/config/phpstan.neon -b build/config/phpstan-baseline.neon",
"rector": "vendor/bin/rector process src tests -c build/config/rector.php --xdebug",
"php-cs-fixer": "vendor/bin/php-cs-fixer fix --config build/config/cs.php",
"infection": "vendor/bin/infection --only-covered --configuration=./build/config/infection.json.dist --threads=8 --min-msi=99",
"infection-rebuild": [
"@infection",
"@generate-api"
],
"testall": [
"@generate-api",
"@phpunit",
"@phpstan",
"@infection-rebuild"
]
},
"scripts-descriptions": {
"generate-api": "Re-creates all the API classes. This tasks expects you have downloaded the xsd file (http://www.openimmo.de/go.php/p/24/download.htm)",
"phpunit": "Runs the unit tests in this package, configured in build/config/phpunit.xml.dist.",
"phpstan": "Runs static code analysis, configured in build/config/phpstan.neon.",
"rector": "Runs rector on the src and tests directories, configured in build/config/rector.php.",
"php-cs-fixer": "Applies code style rules (PSR-12 and some more) to src and tests as configured in build/config/cs.php.",
"infection": "Runs mutation testing, configured in build/config/infection.json.dist.",
"infection-rebuild": "Runs mutation testing and re-creates all API classes afterwards, as the folder gets wiped during mutation tests.",
"testall": "Runs the whole set of tests."
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
}
}