-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcomposer.json
More file actions
157 lines (157 loc) · 4.94 KB
/
composer.json
File metadata and controls
157 lines (157 loc) · 4.94 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "mediadreams/md_saml",
"description": "SSO frontend or backend login with SAML authentication.",
"license": "GPL-2.0-or-later",
"type": "typo3-cms-extension",
"keywords": [
"TYPO3",
"TYPO3 CMS",
"extension",
"sso",
"saml",
"adfs"
],
"authors": [
{
"name": "Christoph Daecke",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/cdaecke/md_saml/issues",
"source": "https://github.com/cdaecke/md_saml"
},
"require": {
"php": ">=8.2",
"onelogin/php-saml": ">=4.3.1 <5.0",
"typo3/cms-backend": "^13.4",
"typo3/cms-core": "^13.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28.3",
"friendsofphp/php-cs-fixer": "^3.48.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"rector/rector": "^2.0",
"saschaegerer/phpstan-typo3": "^3.0",
"squizlabs/php_codesniffer": "^3.8.1",
"ssch/typo3-rector": "^3.0",
"tomasvotruba/type-coverage": "^2.0",
"typo3/cms-fluid": "^13.4",
"typo3/cms-frontend": "^13.4",
"typo3/coding-standards": "^0.8"
},
"autoload": {
"psr-4": {
"Mediadreams\\MdSaml\\": "Classes"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"bin-dir": ".Build/bin",
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"extra": {
"typo3/cms": {
"extension-key": "md_saml",
"web-dir": ".Build/Web"
}
},
"scripts": {
"build:cleanup": [
"@prepare-release",
"git reset --hard",
"git clean -xfd"
],
"build:ter:vendors": [
"(mkdir -p /tmp/vendors && cd /tmp/vendors && composer require onelogin/php-saml:^4.0)",
"mv /tmp/vendors/ ./Resources/Libraries",
"echo \"require \\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::extPath('$(composer config extra.typo3/cms.extension-key)') . 'Resources/Libraries/vendor/autoload.php';\" >> ext_localconf.php"
],
"ci:composer:normalize": "@composer normalize --no-check-lock --dry-run",
"ci:composer:psr-verify": "@composer dumpautoload --optimize --strict-psr --no-plugins",
"ci:php": [
"@ci:php:cs-fixer",
"@ci:php:lint",
"@ci:php:rector",
"@ci:php:sniff",
"@ci:php:stan"
],
"ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff",
"ci:php:lint": "find .*.php *.php Classes Configuration -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l",
"ci:php:rector": "./.Build/bin/rector process --config ./rector.php --dry-run",
"ci:php:sniff": "phpcs Classes Configuration",
"ci:php:stan": "phpstan --no-progress",
"ci:static": [
"@ci:composer:normalize",
"@ci:php:cs-fixer",
"@ci:php:lint",
"@ci:php:rector",
"@ci:php:sniff",
"@ci:php:stan"
],
"deploy:ter": [
"@build:cleanup",
"@deploy:ter:setup",
"@build:ter:vendors",
"@deploy:ter:upload"
],
"deploy:ter:setup": [
"@composer global require typo3/tailor"
],
"deploy:ter:upload": [
"composer global exec -v -- tailor ter:publish --comment \"$(git tag -l --format='%(contents)' $TAG)\" $TAG"
],
"fix:composer:normalize": "@composer normalize --no-check-lock",
"fix:php": [
"@fix:php:cs",
"@fix:php:rector",
"@fix:php:sniff"
],
"fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php",
"fix:php:rector": "./.Build/bin/rector process --config ./rector.php",
"fix:php:sniff": "phpcbf Classes Configuration",
"phpstan:baseline": ".Build/bin/phpstan --generate-baseline --allow-empty-baseline",
"prepare-release": [
"rm -rf .Build",
"rm -rf .ddev",
"rm -rf .github",
"rm .editorconfig",
"rm .gitattributes",
"rm .gitignore",
"rm .php-cs-fixer.php",
"rm phpcs.xml",
"rm phpstan-baseline.neon",
"rm phpstan.neon"
]
},
"scripts-descriptions": {
"ci:composer:normalize": "Checks the composer.json.",
"ci:composer:psr-verify": "Verifies PSR-4 namespace correctness.",
"ci:php": "Runs all static checks for the PHP files.",
"ci:php:cs-fixer": "Checks the code style with the PHP Coding Standards Fixer (PHP-CS-Fixer).",
"ci:php:lint": "Lints the PHP files for syntax errors.",
"ci:php:rector": "Checks the code with TYPO3-rector.",
"ci:php:sniff": "Checks the code style with PHP_CodeSniffer (PHPCS).",
"ci:php:stan": "Checks the PHP types using PHPStan.",
"ci:static": "Runs all static code checks (syntax, style, types).",
"fix:composer:normalize": "Normalizes composer.json file content.",
"fix:php": "Runs all fixers for the PHP code.",
"fix:php:cs": "Fixes the code style with PHP-CS-Fixer.",
"fix:php:rector": "Fixes the code with TYPO3-rector.",
"fix:php:sniff": "Fixes the code style with PHP_CodeSniffer.",
"phpstan:baseline": "Updates the PHPStan baseline file to match the code.",
"prepare-release": "Removes development-only files in preparation of a TER release."
}
}