chore: update rector to 1.0.0 #619
ci.yml
on: push
Code Quality
5m 18s
Matrix: Build PHP/TYPO3
Annotations
2 errors and 19 warnings
Code Quality:
Classes/Cache/PagesCacheService.php#L1
Ignored error pattern #^Offset 'uid' does not exist on array\|null\.$# in path /home/runner/work/schema/schema/Classes/Cache/PagesCacheService.php was not matched in reported errors.
|
Code Quality
Process completed with exit code 2.
|
Build PHP/TYPO3 (8.2, ^11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.3, ^12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.2, ^12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.1, ^12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.1, ^11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.2, ^13)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.3, ^11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.3, ^13)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code Quality
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code Quality:
Classes/AdminPanel/TypesInformation.php#L77
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#L78
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#L78
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#L78
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#L78
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/AdminPanel/TypesInformation.php#L78
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/Core/Model/BlankNodeIdentifier.php#L26
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
$propertyNames = \array_merge($propertyNames, $type->getPropertyNames());
}
\sort($propertyNames);
- self::$propertyNames = \array_unique($propertyNames);
+ self::$propertyNames = $propertyNames;
}
protected function addAdditionalProperties() : void
{
|
Code Quality:
Classes/EventListener/AddBreadcrumbList.php#L45
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
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);
|