-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
136 lines (136 loc) · 4.27 KB
/
Copy pathcomposer.json
File metadata and controls
136 lines (136 loc) · 4.27 KB
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
{
"name": "zeroseven/pagebased",
"description": "The ultimate tool to create page based extensions",
"license": "GPL-2.0-only",
"type": "typo3-cms-extension",
"authors": [
{
"name": "zeroseven design studios GmbH",
"email": "typo3@zeroseven.de",
"homepage": "https://www.zeroseven.de/",
"role": "Company"
},
{
"name": "Raphael Thanner",
"role": "Developer"
}
],
"require": {
"php": "^8.2",
"ext-json": "*",
"ext-pdo": "*",
"symfony/property-access": "*",
"typo3/cms-core": "^12.4 || ^13.4"
},
"require-dev": {
"armin/editorconfig-cli": "^2.1",
"captainhook/captainhook": "^5.25",
"ergebnis/composer-normalize": "^2.48",
"friendsofphp/php-cs-fixer": "^3.0",
"phpmd/phpmd": "^2.13",
"phpunit/phpcov": "^9.0",
"phpunit/phpunit": "^10.1",
"ssch/typo3-rector": "2.15 || ^3.6",
"typo3/cms-install": "^12.4 || ^13.4",
"typo3/coding-standards": "^0.8.0",
"typo3/testing-framework": "^8.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Zeroseven\\Pagebased\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"Zeroseven\\Pagebased\\Tests\\": "Tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"bin-dir": ".build/bin",
"optimize-autoloader": true,
"sort-packages": true,
"vendor-dir": ".build/vendor"
},
"extra": {
"typo3/cms": {
"extension-key": "pagebased",
"web-dir": ".build/public"
}
},
"scripts": {
"post-install-cmd": "captainhook install --configuration captainhook.json --force --skip-existing",
"post-update-cmd": "captainhook install --configuration captainhook.json --force --skip-existing",
"post-autoload-dump": [
"TYPO3\\TestingFramework\\Composer\\ExtensionTestEnvironment::prepare"
],
"fix": [
"@fix:composer",
"@fix:editorconfig",
"@fix:php"
],
"fix:composer": "@composer normalize",
"fix:editorconfig": ".build/bin/ec --fix",
"fix:php": ".build/bin/php-cs-fixer fix",
"fix:rector": ".build/bin/rector process",
"lint": [
"@lint:composer",
"@lint:editorconfig",
"@lint:php",
"@lint:phpmd",
"@lint:rector"
],
"lint:composer": "@fix:composer --dry-run",
"lint:editorconfig": ".build/bin/ec",
"lint:php": "@fix:php --dry-run",
"lint:phpmd": ".build/bin/phpmd Classes/ ansi .phpmd.xml --exclude Tests/,vendor/",
"lint:rector": ".build/bin/rector process --dry-run",
"sca": [
"@sca:php"
],
"sca:php": ".build/bin/phpstan analyse -c phpstan.neon",
"test": [
"@test:functional",
"@test:unit"
],
"test:coverage": [
"@test:coverage:functional",
"@test:coverage:unit",
"@test:coverage:merge"
],
"test:coverage:functional": ".build/bin/phpunit -c phpunit.functional.xml",
"test:coverage:merge": ".build/bin/phpcov merge --html .build/coverage/html/_merged --clover .build/coverage/clover.xml --text php://stdout .build/coverage/php",
"test:coverage:unit": ".build/bin/phpunit -c phpunit.unit.xml",
"test:functional": "@test:coverage:functional --no-coverage",
"test:unit": "@test:coverage:unit --no-coverage"
},
"scripts-descriptions": {
"fix": "Fix all code style issues (composer, editorconfig, PHP)",
"fix:composer": "Normalize composer.json format",
"fix:editorconfig": "Apply EditorConfig fixes",
"fix:php": "Apply PHP-CS-Fixer code style fixes",
"fix:rector": "Apply Rector refactoring suggestions",
"lint": "Run all linters (composer, editorconfig, PHP, PHPMD, Rector)",
"lint:composer": "Validate composer.json format (dry-run)",
"lint:editorconfig": "Check EditorConfig compliance",
"lint:php": "Check PHP code style with PHP-CS-Fixer (dry-run)",
"lint:phpmd": "Run PHP Mess Detector",
"lint:rector": "Check Rector refactoring suggestions (dry-run)",
"sca": "Run all static code analysis",
"sca:php": "Run PHPStan static analysis",
"test": "Run all tests (functional and unit)",
"test:coverage": "Run all tests with coverage reports",
"test:coverage:functional": "Run functional tests with coverage",
"test:coverage:merge": "Merge coverage reports from functional and unit tests",
"test:coverage:unit": "Run unit tests with coverage",
"test:functional": "Run functional tests only",
"test:unit": "Run unit tests only"
}
}