Skip to content

chore: Code cleanup of Shopware\Components\Plugin\XmlReader namespace #733

chore: Code cleanup of Shopware\Components\Plugin\XmlReader namespace

chore: Code cleanup of Shopware\Components\Plugin\XmlReader namespace #733

Triggered via pull request May 27, 2024 07:00
Status Failure
Total duration 2m 10s
Artifacts

tests-launcher.yml

on: pull_request
PHPStan and CSFixer  /  php
1m 59s
PHPStan and CSFixer / php
JsLinter and Jest tests  /  js
33s
JsLinter and Jest tests / js
Matrix: PHPUnit tests / mysql
Waiting for pending jobs
Matrix: PHPUnit tests / php
Waiting for pending jobs
PHPUnit tests  /  Code-Coverage
PHPUnit tests / Code-Coverage
PHPUnit tests  /  es
PHPUnit tests / es
Matrix: E2E / Mink
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan and CSFixer / php: engine/Shopware/Bundle/ContentTypeBundle/Services/XmlReader/ContentTypesReader.php#L262
Method Shopware\Bundle\ContentTypeBundle\Services\XmlReader\ContentTypesReader::xmlToArray() should return array but returns array<string, array|string|null>|string|null.
PHPStan and CSFixer / php: engine/Shopware/Components/Plugin/XmlReader/XmlPluginReader.php#L106
Cannot assign offset non-falsy-string to array<string, array<int, string|null>>|string.
PHPStan and CSFixer / php: engine/Shopware/Components/Plugin/XmlReader/XmlPluginReader.php#L106
Cannot assign offset string to array<string, array<string, array<int, string|null>>|string>|string.
PHPStan and CSFixer / php: engine/Shopware/Components/Plugin/XmlReader/XmlReaderBase.php#L67
Method Shopware\Components\Plugin\XmlReader\XmlReaderBase::parseTranslatableNodeList() has parameter $list with generic class DOMNodeList but does not specify its types: TNode
PHPStan and CSFixer / php: engine/Shopware/Components/Plugin/XmlReader/XmlReaderBase.php#L161
Method Shopware\Components\Plugin\XmlReader\XmlReaderBase::parseStoreNodeList() has parameter $list with generic class DOMNodeList but does not specify its types: TNode
PHPStan and CSFixer / php: engine/Shopware/Components/Plugin/XmlReader/XmlReaderBase.php#L180
Method Shopware\Components\Plugin\XmlReader\XmlReaderBase::parseOptionsNodeList() has parameter $optionsList with generic class DOMNodeList but does not specify its types: TNode
PHPStan and CSFixer / php: tests/Unit/Components/Plugin/XmlReader/StoreValueParser/StoreExtjsValueParserTest.php#L54
Property Shopware\Tests\Unit\Components\Plugin\XmlReader\StoreValueParser\StoreExtjsValueParserTest::$parser (Shopware\Components\Plugin\XmlReader\StoreValueParser\StoreXmlValueParser) does not accept Shopware\Components\Plugin\XmlReader\StoreValueParser\StoreValueParserInterface.
PHPStan and CSFixer / php: tests/Unit/Components/Plugin/XmlReader/StoreValueParser/StoreExtjsValueParserTest.php#L92
Method Shopware\Tests\Unit\Components\Plugin\XmlReader\StoreValueParser\StoreExtjsValueParserTest::getStoreElement() should return DOMElement but returns DOMNode|null.
PHPStan and CSFixer / php: tests/Unit/Components/Plugin/XmlReader/StoreValueParser/StoreXmlValueParserTest.php#L43
Method Shopware\Tests\Unit\Components\Plugin\XmlReader\StoreValueParser\StoreXmlValueParserTest::__construct() has parameter $data with no value type specified in iterable type array.
PHPStan and CSFixer / php: tests/Unit/Components/Plugin/XmlReader/StoreValueParser/StoreXmlValueParserTest.php#L43
Method Shopware\Tests\Unit\Components\Plugin\XmlReader\StoreValueParser\StoreXmlValueParserTest::__construct() has parameter $name with no type specified.