chore: replace GeneralUtility::getIndpEnv('TYPO3_SITE_URL') with site… #802
Annotations
10 warnings
Classes/Core/Model/AbstractType.php#L66
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
$callingClass = $backtrace[$i + 1]['class'] ?? '';
if ($calledClass === self::class && $callingClass !== TypeFactory::class) {
$file = $backtrace[$i]['file'] ?? 'unknown';
- $line = $backtrace[$i]['line'] ?? 0;
+ $line = $backtrace[$i]['line'] ?? 1;
break;
}
}
|
Classes/Core/Model/AbstractType.php#L66
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
$callingClass = $backtrace[$i + 1]['class'] ?? '';
if ($calledClass === self::class && $callingClass !== TypeFactory::class) {
$file = $backtrace[$i]['file'] ?? 'unknown';
- $line = $backtrace[$i]['line'] ?? 0;
+ $line = $backtrace[$i]['line'] ?? -1;
break;
}
}
|
Classes/Core/Model/AbstractType.php#L65
Escaped Mutant for Mutator "Coalesce":
@@ @@
$calledClass = $backtrace[$i]['class'] ?? '';
$callingClass = $backtrace[$i + 1]['class'] ?? '';
if ($calledClass === self::class && $callingClass !== TypeFactory::class) {
- $file = $backtrace[$i]['file'] ?? 'unknown';
+ $file = 'unknown' ?? $backtrace[$i]['file'];
$line = $backtrace[$i]['line'] ?? 0;
break;
}
|
Classes/AdminPanel/TypesInformation.php#L80
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
|
Classes/AdminPanel/TypesInformation.php#L80
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
|
Classes/AdminPanel/TypesInformation.php#L80
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
|
Classes/AdminPanel/TypesInformation.php#L80
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
|
Classes/AdminPanel/TypesInformation.php#L80
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
|
Classes/AdminPanel/TypesInformation.php#L79
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
|
Classes/AdminPanel/SchemaModule.php#L51
Escaped Mutant for Mutator "UnwrapStrReplace":
@@ @@
$jsonLd = $this->pagesCacheService->getMarkupFromCache() ?? '';
$numberOfTypes = 0;
if ($jsonLd !== '') {
- $jsonLd = \str_replace(\explode('%s', Extension::JSONLD_TEMPLATE), '', $jsonLd);
+ $jsonLd = $jsonLd;
$decodedJsonLd = \json_decode($jsonLd, true, flags: \JSON_THROW_ON_ERROR);
$numberOfTypes = isset($decodedJsonLd['@graph']) ? \count($decodedJsonLd['@graph']) : 1;
}
|
The logs for this run have expired and are no longer available.
Loading