-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
163 lines (163 loc) · 4.31 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "digedag/rn-base",
"description": "A base library for extensions. Uses MVC design principles and domain driven development for TYPO3 extension development.",
"type": "typo3-cms-extension",
"keywords": [
"TYPO3 CMS",
"mvc"
],
"homepage": "http://www.system25.de/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "René Nitzsche",
"email": "[email protected]",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"source": "https://github.com/digedag/rn_base",
"issues": "https://github.com/digedag/rn_base/issues"
},
"replace": {
"typo3-ter/rn-base": "self.version"
},
"require": {
"php": ">=7.1.0",
"ext-curl": "*",
"ext-dom": "*",
"ext-iconv": "*",
"ext-json": "*",
"ext-simplexml": "*",
"ext-zip": "*",
"doctrine/common": "*",
"doctrine/dbal": "*",
"typo3/cms-core": "^8.7 || ^9.5 || ^10.4 || ^11.5 || ^12.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpcompatibility/php-compatibility": "^9.3.5",
"jangregor/phpstan-prophecy": "^1.0.0",
"mikey179/vfsstream": "^1.6.10",
"typo3/testing-framework": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0",
"phpstan/phpstan": "^1.2.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.0 || ^9.0",
"saschaegerer/phpstan-typo3": "^1.0",
"phpspec/prophecy-phpunit": "^1.0 || ^2.0",
"typo3/cms-backend": "^8.7 || ^9.5 || ^10.4 || ^11.5 || ^12.4",
"typo3/cms-frontend": "^8.7 || ^9.5 || ^10.4 || ^11.5 || ^12.4",
"typo3/cms-scheduler": "^8.7 || ^9.5 || ^10.4 || ^11.5 || ^12.4"
},
"suggest": {
"ext-mysql": "*",
"ext-mysqli": "*",
"ext-mssql": "*",
"typo3/cms-scheduler": "*"
},
"autoload": {
"classmap": [
"Legacy/"
],
"files": [
"Classes/class.tx_rnbase.php",
"Classes/Constants.php",
"Classes/Testing/ProphecyTrait.php"
],
"psr-4": {
"Sys25\\RnBase\\": "Classes",
"Contrib\\": "Resources/Private/Php/Contrib"
}
},
"autoload-dev": {
"psr-4": {
"Sys25\\RnBase\\": "tests/Classes",
"TYPO3\\CMS\\Core\\Tests\\": ".Build/vendor/typo3/cms/typo3/sysext/core/Tests/",
"TYPO3\\CMS\\Fluid\\Tests\\": ".Build/vendor/typo3/cms/typo3/sysext/fluid/Tests/"
},
"classmap": [
"tests/"
]
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"sort-packages": true,
"preferred-install": {
"*": "dist"
},
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"phpstan:baseline": ".Build/bin/phpstan --generate-baseline=phpstan-baseline.neon",
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/rn_base ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/rn_base"
],
"test:phplint": ".github/bin/php_lint.sh Classes Legacy Migrations tests",
"test:phpcompat": [
".github/bin/php_compat.sh "
],
"test:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update",
".Build/bin/php-cs-fixer fix -v --dry-run --diff"
],
"test:phpstan": ".Build/bin/phpstan --no-progress",
"test:phpunit": [
"[ -e .Build/bin/phpunit ] || composer update",
"export TYPO3_PATH_WEB=$PWD/.Build/Web && .Build/bin/phpunit"
],
"test": [
"@test:phplint",
"@test:phpcs",
"@test:phpcompat 7.1",
"@test:phpcompat 7.2",
"@test:phpcompat 7.3",
"@test:phpcompat 7.4",
"@test:phpcompat 8.0",
"@test:phpcompat 8.1",
"@test:phpcompat 8.2",
"@test:phpstan",
"@test:phpunit"
],
"fix:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update",
".Build/bin/php-cs-fixer fix -v"
],
"fix": [
"@fix:phpcs"
],
"prepare-release": [
"rm -rf tests",
"rm phpunit.xml",
"rm sonar-project.properties"
]
},
"scripts-descriptions": {
"phpstan:baseline": "Updates the PHPStan baseline file to match the code.",
"test:phplint": "Checks all PHP files for syntax errors.",
"test:phpstan": "Checks the types with PHPStan.",
"prepare-release": "Clean project before release"
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "rn_base",
"web-dir": ".Build/Web",
"app-dir": ".Build"
},
"typo3/class-alias-loader": {
"class-alias-maps": [
"Migrations/Code/ClassAliasMap.php"
]
},
"branch-alias": {
"dev-master": "1.19.x-dev"
}
}
}