Skip to content

chore: migrate BreadcrumbViewHelper from renderStatic() to render() #667

chore: migrate BreadcrumbViewHelper from renderStatic() to render()

chore: migrate BreadcrumbViewHelper from renderStatic() to render() #667

Triggered via push September 19, 2024 08:14
Status Success
Total duration 8m 51s
Artifacts

ci.yml

on: push
Matrix: Build PHP/TYPO3
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Code Quality: Classes/AdminPanel/TypesInformation.php#L77
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ { /** @var StandaloneView $view */ $view = GeneralUtility::makeInstance(StandaloneView::class); - $view->setTemplatePathAndFilename('EXT:' . Extension::KEY . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); + return $view; } private function getLanguageService(): LanguageService
Code Quality: Classes/AdminPanel/TypesInformation.php#L78
Escaped Mutant for Mutator "Concat": @@ @@ { /** @var StandaloneView $view */ $view = GeneralUtility::makeInstance(StandaloneView::class); - $view->setTemplatePathAndFilename('EXT:' . Extension::KEY . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); + $view->setTemplatePathAndFilename(Extension::KEY . 'EXT:' . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); return $view; } private function getLanguageService(): LanguageService
Code Quality: Classes/AdminPanel/TypesInformation.php#L78
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ { /** @var StandaloneView $view */ $view = GeneralUtility::makeInstance(StandaloneView::class); - $view->setTemplatePathAndFilename('EXT:' . Extension::KEY . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); + $view->setTemplatePathAndFilename(Extension::KEY . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); return $view; } private function getLanguageService(): LanguageService
Code Quality: Classes/AdminPanel/TypesInformation.php#L78
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ { /** @var StandaloneView $view */ $view = GeneralUtility::makeInstance(StandaloneView::class); - $view->setTemplatePathAndFilename('EXT:' . Extension::KEY . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); + $view->setTemplatePathAndFilename('EXT:' . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); return $view; } private function getLanguageService(): LanguageService
Code Quality: Classes/AdminPanel/TypesInformation.php#L78
Escaped Mutant for Mutator "Concat": @@ @@ { /** @var StandaloneView $view */ $view = GeneralUtility::makeInstance(StandaloneView::class); - $view->setTemplatePathAndFilename('EXT:' . Extension::KEY . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); + $view->setTemplatePathAndFilename('EXT:' . '/Resources/Private/Templates/AdminPanel/TypesInformation.html' . Extension::KEY); return $view; } private function getLanguageService(): LanguageService
Code Quality: Classes/AdminPanel/TypesInformation.php#L78
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ { /** @var StandaloneView $view */ $view = GeneralUtility::makeInstance(StandaloneView::class); - $view->setTemplatePathAndFilename('EXT:' . Extension::KEY . '/Resources/Private/Templates/AdminPanel/TypesInformation.html'); + $view->setTemplatePathAndFilename('EXT:' . Extension::KEY); return $view; } private function getLanguageService(): LanguageService
Code Quality: Classes/Core/Model/BlankNodeIdentifier.php#L26
Escaped Mutant for Mutator "DecrementInteger": @@ @@ */ public function __construct(bool $resetCounter = false) { - static $counter = 0; + static $counter = -1; if ($resetCounter) { $counter = 0; }
Code Quality: Classes/Core/Model/BlankNodeIdentifier.php#L26
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ public function __construct(bool $resetCounter = false) { - static $counter = 0; + static $counter = 1; if ($resetCounter) { $counter = 0; }
Code Quality: Classes/Core/Model/MultipleType.php#L67
Escaped Mutant for Mutator "UnwrapArrayUnique": @@ @@ $propertyNames = \array_merge($propertyNames, $type->getPropertyNames()); } \sort($propertyNames); - self::$propertyNames = \array_unique($propertyNames); + self::$propertyNames = $propertyNames; } protected function addAdditionalProperties(): void {
Code Quality: Classes/Core/ViewHelpers/AbstractBaseTypeViewHelper.php#L111
Escaped Mutant for Mutator "IncrementInteger": @@ @@ private function checkIsMainEntityOfWebPage(): void { $isMainEntityOfWebPage = $this->arguments[static::ARGUMENT_IS_MAIN_ENTITY_OF_WEBPAGE] ?? 0; - $this->isMainEntityOfWebPage = $isMainEntityOfWebPage === 'true' ? 1 : (int) $isMainEntityOfWebPage; + $this->isMainEntityOfWebPage = $isMainEntityOfWebPage === 'true' ? 2 : (int) $isMainEntityOfWebPage; if ($this->isMainEntityOfWebPage < 0 || $this->isMainEntityOfWebPage > 2) { throw new Exception(\sprintf('The value of argument "%s" must be between 0 and 2, "%d" given (allowed: 0 = not a main entity, 1 = main entity, 2 = prioritised main entity', static::ARGUMENT_IS_MAIN_ENTITY_OF_WEBPAGE, $this->isMainEntityOfWebPage), 1636570950); }