diff --git a/Configuration/SiteConfiguration/Overrides/sites.php b/Configuration/SiteConfiguration/Overrides/sites.php deleted file mode 100644 index 2c644b4..0000000 --- a/Configuration/SiteConfiguration/Overrides/sites.php +++ /dev/null @@ -1,27 +0,0 @@ - [ - 'thuecat_api_key' => [ - 'label' => $languagePath . 'thuecat_api_key', - 'config' => [ - 'type' => 'input', - ], - ], - ], - 'types' => [ - '0' => [ - 'showitem' => $GLOBALS['SiteConfiguration']['site']['types']['0']['showitem'] - . ', ' . implode(',', [ - '--div--;' . $languagePath . 'div.thuecat', - 'thuecat_api_key', - ]), - ], - ], - ]); -})(\WerkraumMedia\ThueCat\Extension::EXTENSION_KEY, 'site'); diff --git a/Documentation/Changelog/1.3.0.rst b/Documentation/Changelog/1.3.0.rst index 168c670..6635986 100644 --- a/Documentation/Changelog/1.3.0.rst +++ b/Documentation/Changelog/1.3.0.rst @@ -19,7 +19,9 @@ Nothing Tasks ----- -Nothing +Removed API Key from site configuration. +The key was already moved to extension configuration as documented. +Still we extended the site configuration, which is now cleaned up, see: https://github.com/werkraum-media/thuecat/issues/55 Deprecation ----------- diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 0ac867c..72cf78f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -284,11 +284,6 @@ parameters: count: 1 path: Classes/Frontend/DataProcessing/ResolveEntities.php - - - message: "#^Right side of \\|\\| is always false\\.$#" - count: 1 - path: Configuration/SiteConfiguration/Overrides/sites.php - - message: "#^Right side of \\|\\| is always false\\.$#" count: 1