chore: reintroduce infection #650
ci.yml
on: push
Code Quality
5m 23s
Matrix: Build PHP/TYPO3
Annotations
19 warnings
Build PHP/TYPO3 (8.2, ^11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build PHP/TYPO3 (8.3, ^11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build PHP/TYPO3 (8.1, ^12)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build PHP/TYPO3 (8.1, ^11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build PHP/TYPO3 (8.2, ^13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build PHP/TYPO3 (8.2, ^12)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build PHP/TYPO3 (8.3, ^12)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build PHP/TYPO3 (8.3, ^13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Code Quality
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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#L47
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
public function initializeArguments(): void
{
- parent::initializeArguments();
+
$this->registerArgument(static::ARGUMENT_AS, 'string', 'Property name for a child node to merge under the parent node', false, '');
$this->registerArgument(static::ARGUMENT_ID, 'mixed', 'IRI or a node identifier to identify the node', false, '');
$this->registerArgument(static::ARGUMENT_IS_MAIN_ENTITY_OF_WEBPAGE, 'int', 'Set to true, if the type is the primary content of the web page', false, false);
|