File tree 5 files changed +7
-8
lines changed
5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function process(string $html): string
32
32
}
33
33
}
34
34
35
- ksort ($ config [$ section ], SORT_NATURAL ); // for safety only
35
+ ksort ($ config [$ section ], \ SORT_NATURAL ); // for safety only
36
36
}
37
37
38
38
if (\TYPO3 \CMS \Core \Core \Environment::getContext ()->isDevelopment ()) {
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ declare (strict_types=1 );
4
+
3
5
return [
4
6
'frontend ' => [
5
7
'html/sourceopt/clean-html ' => [
Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ composer install jweiland/replacer
137
137
``` bash
138
138
composer install jweiland/replacer
139
139
```
140
- & replace ` plugin.fereplace.pairs ` to ` config.tx_replacer ` .. ah .. and one
141
-
142
- regex replace ` (\n\s*)(\d+)(?:{\s+|\.)old\s*=\s*([^\n]+).+?new\s*=\s*([^\n]+) ` to ` $1search.$2 = $3$1replace.$2 = $4 `
140
+ & replace ` plugin.fereplace.pairs ` to ` config.tx_replacer ` .. ah .. and one regex
141
+ - search ` (\n\s*)(\d+)(?:{\s+|\.)old\s*=\s*([^\n]+).+?new\s*=\s*([^\n]+) `
142
+ - replace ` $1search.$2 = $3\n $1replace.$2 = $4 `
143
143
144
144
</details >
145
145
<details ><summary >
Original file line number Diff line number Diff line change 40
40
"extra" : {
41
41
"typo3/cms" : {
42
42
"extension-key" : " sourceopt" ,
43
- "cms-package-dir" : " {$vendor-dir}/typo3/cms" ,
44
43
"web-dir" : " .Build/Web"
45
44
}
46
45
},
Original file line number Diff line number Diff line change 1
- <?php
2
-
3
- defined ('TYPO3_MODE ' ) || defined ('TYPO3 ' ) || die ();
1
+ <?php defined ('TYPO3_MODE ' ) || defined ('TYPO3 ' ) || die ();
4
2
5
3
// SvgStore Cache
6
4
if (!isset ($ GLOBALS ['TYPO3_CONF_VARS ' ]['SYS ' ]['caching ' ]['cacheConfigurations ' ]['svgstore ' ])) {
You can’t perform that action at this time.
0 commit comments