rector.php gets the codeQuality set: declare(strict_types=1) in the 85 files where Rector finds no call relying on scalar type juggling (mostly TCA and configuration, models, the content feed API and the import command), "or die" as "|| die", instanceof instead of null checks for object types, early returns and self:: in final classes. Hotel::setRooms() goes instead of getting the property Rector wanted to declare: nothing calls it, and there is no rooms column any more. Checked locally: cache warmup, the ep:* commands load, frontend crawl (~1,900 URLs) and the backchannel APIs render the same as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
34 lines
1.3 KiB
PHP
34 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider;
|
|
use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider;
|
|
|
|
return [
|
|
'content-ep_theme-ce' => [
|
|
'provider' => SvgIconProvider::class,
|
|
'source' => 'EXT:ep_theme/Resources/Public/images/logo.svg',
|
|
],
|
|
'tx_eptheme_gridelements_halves' => [
|
|
'provider' => BitmapIconProvider::class,
|
|
'source' => 'EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_halves.png',
|
|
],
|
|
'tx_eptheme_gridelements_thirds' => [
|
|
'provider' => BitmapIconProvider::class,
|
|
'source' => 'EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_thirds.png',
|
|
],
|
|
'tx_eptheme_gridelements_quarters' => [
|
|
'provider' => BitmapIconProvider::class,
|
|
'source' => 'EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_quarters.png',
|
|
],
|
|
'tx_eptheme_gridelements_half_and_two_quarters' => [
|
|
'provider' => BitmapIconProvider::class,
|
|
'source' => 'EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_half_and_two_quarters.png',
|
|
],
|
|
'tx_eptheme_gridelements_two_quarters_and_half' => [
|
|
'provider' => BitmapIconProvider::class,
|
|
'source' => 'EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_two_quarters_and_half.png',
|
|
],
|
|
];
|