Skip to content

wip: introduce TypeFactorySubstitute #730

wip: introduce TypeFactorySubstitute

wip: introduce TypeFactorySubstitute #730

Triggered via push February 15, 2025 17:53
Status Failure
Total duration 3m 49s
Artifacts

ci.yml

on: push
Matrix: Build PHP/TYPO3
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 32 warnings
Code Quality
Process completed with exit code 2.
Code Quality
Process completed with exit code 2.
Code Quality: Classes/Testing/TypeFactorySubstitute.php#L45
Parameter #1 $types of method Brotkrueml\Schema\Testing\TypeFactorySubstitute::createMultiple() expects list<string>, non-empty-array<int|string, string> given.
Code Quality: Classes/Testing/TypeFactorySubstitute.php#L48
Method Brotkrueml\Schema\Testing\TypeFactorySubstitute::createSingle() has parameter $type with no type specified.
Code Quality: Classes/Type/TypeFactory.php#L34
Parameter #1 $types of method Brotkrueml\Schema\Type\TypeFactory::createMultiple() expects list<string>, non-empty-array<int|string, string> given.
Code Quality
Process completed with exit code 2.
Build PHP/TYPO3 (8.3, ^11)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.2, ^11)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.2, ^11)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.3, ^12)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.3, ^12)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.1, ^12)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.1, ^12)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.4, ^12)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.4, ^12)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.4, ^11)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.4, ^11)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.4, ^13)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.4, ^13)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.3, ^13)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.3, ^13)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.2, ^12)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.2, ^12)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.2, ^13)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.2, ^13)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Build PHP/TYPO3 (8.1, ^11)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build PHP/TYPO3 (8.1, ^11)
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-
Code Quality: Classes/AdminPanel/SchemaModule.php#L29
Escaped Mutant for Mutator "Concat": @@ @@ { public function __construct(private readonly PagesCacheService $pagesCacheService) { - if (\is_callable(\get_parent_class($this) . '::__construct')) { + if (\is_callable('::__construct' . \get_parent_class($this))) { // Call to parent constructor can be removed when minimum TYPO3 version is set to v12 LTS // @phpstan-ignore-next-line Call to an undefined static method TYPO3\CMS\Adminpanel\ModuleApi\AbstractModule::__construct() parent::__construct();
Code Quality: Classes/AdminPanel/SchemaModule.php#L29
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ { public function __construct(private readonly PagesCacheService $pagesCacheService) { - if (\is_callable(\get_parent_class($this) . '::__construct')) { + if (\is_callable('::__construct')) { // Call to parent constructor can be removed when minimum TYPO3 version is set to v12 LTS // @phpstan-ignore-next-line Call to an undefined static method TYPO3\CMS\Adminpanel\ModuleApi\AbstractModule::__construct() parent::__construct();
Code Quality: Classes/AdminPanel/SchemaModule.php#L29
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ { public function __construct(private readonly PagesCacheService $pagesCacheService) { - if (\is_callable(\get_parent_class($this) . '::__construct')) { + if (\is_callable(\get_parent_class($this))) { // Call to parent constructor can be removed when minimum TYPO3 version is set to v12 LTS // @phpstan-ignore-next-line Call to an undefined static method TYPO3\CMS\Adminpanel\ModuleApi\AbstractModule::__construct() parent::__construct();
Code Quality: Classes/AdminPanel/SchemaModule.php#L57
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; }
Code Quality: 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
Code Quality: 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
Code Quality: 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
Code Quality: 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
Code Quality: 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
Code Quality: 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
Code Quality
Cache not found for keys: Linux-composer-1a879c12b1d1b02bfdce26dfd5ba8d4feaffa5f0d67314db1d6c99c45992e22a, Linux-composer-