-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
146 lines (146 loc) · 3.99 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name" : "dmk/mkcleaner",
"description" : "Cleans files by removing any metadata with the help of mat2, exiftool and qpdf according to BSI guidelines.",
"type" : "typo3-cms-extension",
"keywords" : [
"TYPO3 CMS",
"mat2",
"exiftool",
"qpdf",
"BSI",
"metadata",
"cleaner",
"security"
],
"homepage" : "http://www.dmk-ebusiness.de/",
"license": "GPL-2.0-or-later",
"authors" : [{
"name" : "Hannes Bochmann",
"email" : "dev@dmk-ebusiness.com",
"role" : "Developer"
}
],
"support": {
"email": "dev@dmk-ebusiness.de",
"source": "https://github.com/DMKEBUSINESSGMBH/typo3-mkcleaner",
"issues": "https://github.com/DMKEBUSINESSGMBH/typo3-mkcleaner"
},
"require": {
"typo3/cms-core": "^11.5 || ^12.4",
"php": "^8.1 || ^8.2 || ^8.3"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.3",
"sebastian/phpcpd": "^4.0 || ^5.0 || ^6.0",
"friendsofphp/php-cs-fixer": "^3.4",
"phpcompatibility/php-compatibility": "^9.3.5",
"phpmd/phpmd": "^2.13",
"phpstan/phpstan": "^1.9",
"phpstan/extension-installer": "^1.3",
"saschaegerer/phpstan-typo3": "^1.8",
"typo3/testing-framework": "^6.0 | ^7.0",
"ssch/typo3-rector": "^2.5",
"rector/rector": "^1.0"
},
"autoload": {
"psr-4": {
"DMK\\Mkcleaner\\" : "Classes"
}
},
"autoload-dev": {
"psr-4": {
"DMK\\Mkcleaner\\Tests\\" : "Tests"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"preferred-install": {
"*": "dist"
},
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"phpstan/extension-installer": true
}
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "mkcleaner",
"web-dir": ".Build/Web",
"app-dir": ".Build"
}
},
"scripts": {
"runqa": [
"@fix",
"@lint",
"@test"
],
"lint:php": [
"[ -e .Build/bin/parallel-lint ] || composer update",
".Build/bin/parallel-lint ./Classes"
],
"lint": [
"@lint:php"
],
"test:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update --ansi",
".Build/bin/php-cs-fixer fix -v --dry-run --diff --ansi"
],
"test:rector": [
"[ -e .Build/bin/rector ] || composer update --ansi",
".Build/bin/rector process --dry-run"
],
"test:phpcompatibility": [
"@test:phpcompatibility:8.1",
"@test:phpcompatibility:8.2",
"@test:phpcompatibility:8.3"
],
"test:phpcompatibility:8.1": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,Resources/Private/PHP/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1"
],
"test:phpcompatibility:8.2": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,Resources/Private/PHP/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2"
],
"test:phpcompatibility:8.3": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,Resources/Private/PHP/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.3"
],
"test:phpmd": [
"[ -e .Build/bin/phpmd ] || composer update --ansi",
".Build/bin/phpmd ./Classes/ text phpmd.xml"
],
"test:phpstan": [
"[ -e .Build/bin/phpstan ] || composer update --ansi",
".Build/bin/phpstan analyse -c phpstan.neon --memory-limit=512M --ansi"
],
"test:phpunit": [
"[ -e .Build/bin/phpunit ] || composer update --ansi",
"export TYPO3_PATH_WEB=$PWD/.Build/Web && .Build/bin/phpunit --colors=always"
],
"test": [
"@test:phpcs",
"@test:rector",
"@test:phpcompatibility",
"@test:phpmd",
"@test:phpstan",
"@test:phpunit"
],
"fix:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update --ansi",
".Build/bin/php-cs-fixer fix -v"
],
"fix:rector": [
"[ -e .Build/bin/rector ] || composer update --ansi",
".Build/bin/rector process"
],
"fix": [
"@fix:rector",
"@fix:phpcs"
]
}
}