chore: update dev dependencies #563
ci.yml
on: push
Code Quality
5m 46s
Matrix: Build PHP/TYPO3
Annotations
1 error and 10 warnings
Code Quality
Process completed with exit code 2.
|
Code Quality:
Classes/AdminPanel/TypesInformation.php#L78
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
/** @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#L79
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
{
/** @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#L79
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
/** @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#L79
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
/** @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#L79
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
/** @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/AdminPanel/TypesInformation.php#L79
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
{
/** @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/Cache/PagesCacheService.php#L31
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function getMarkupFromCache() : ?string
{
- $this->initialiseTypoScriptFrontendController();
+
return $this->cache->get($this->getCacheIdentifier()) ?: null;
}
private function getCacheIdentifier() : string
|
Code Quality:
Classes/Cache/PagesCacheService.php#L43
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function storeMarkupInCache(string $markup) : void
{
- $this->initialiseTypoScriptFrontendController();
+
if ($this->controller instanceof TypoScriptFrontendController) {
$this->cache->set($this->getCacheIdentifier(), $markup, \array_merge(['pageId_' . $this->controller->page['uid']], $this->controller->getPageCacheTags()), $this->controller->get_cache_timeout());
}
|
Code Quality:
Classes/Cache/PagesCacheService.php#L44
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
public function storeMarkupInCache(string $markup) : void
{
$this->initialiseTypoScriptFrontendController();
- if ($this->controller instanceof TypoScriptFrontendController) {
+ if (true) {
$this->cache->set($this->getCacheIdentifier(), $markup, \array_merge(['pageId_' . $this->controller->page['uid']], $this->controller->getPageCacheTags()), $this->controller->get_cache_timeout());
}
}
|
Code Quality:
Classes/Cache/PagesCacheService.php#L56
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
}
private function initialiseTypoScriptFrontendController() : void
{
- if (!$this->controller instanceof TypoScriptFrontendController) {
+ if (!true) {
$this->controller = $GLOBALS['TSFE'];
}
}
|