chore: Code cleanup of Shopware\Components\Plugin\XmlReader namespace #733
tests-launcher.yml
on: pull_request
PHPStan and CSFixer
/
php
1m 59s
JsLinter and Jest tests
/
js
33s
Matrix: PHPUnit tests / mysql
Waiting for pending jobs
Matrix: PHPUnit tests / php
Waiting for pending jobs
Matrix: E2E / Mink
Waiting for pending jobs
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.
|