chore: apply rector rules #681
Annotations
10 warnings
Run mutation tests:
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
|
Run mutation tests:
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
|
Run mutation tests:
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
|
Run mutation tests:
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
|
Run mutation tests:
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
|
Run mutation tests:
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
|
Run mutation tests:
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;
}
|
Run mutation tests:
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;
}
|
Run mutation tests:
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
{
|
Run mutation tests:
Classes/EventListener/AddBreadcrumbList.php#L45
Escaped Mutant for Mutator "LogicalAnd":
@@ @@
if (!$this->configuration->automaticBreadcrumbSchemaGeneration) {
return;
}
- if ($event->isBreadcrumbListAlreadyDefined() && $this->configuration->allowOnlyOneBreadcrumbList) {
+ if ($event->isBreadcrumbListAlreadyDefined() || $this->configuration->allowOnlyOneBreadcrumbList) {
return;
}
$doktypesToExclude = \array_merge(self::DEFAULT_DOKTYPES_TO_EXCLUDE, $this->configuration->automaticBreadcrumbExcludeAdditionalDoktypes);
|
Loading