PHPStan Level 5 Fehler
Beim Ausführen von PHPStan auf Level 5 gibt es die nachfolgenden Fehler.
Die Fehler wurden ersteinmal in die Baseline übernommen.
Bitte die Fehler sichten und die wichtigsten beheben.
Möglicherweise sind die Fehler nicht mehr aktuell, daher besser PHPStan ohne Baseline selbst ausführen.
-
ajax/categories/createProjectSite.php:20:Call to an undefined method QUI\Projects\Site::createChild().
-
ajax/categories/createProjectSite.php:33:Call to an undefined method QUI\Projects\Site::save().
-
ajax/categories/list.php:34:Call to an undefined method QUI\ERP\Products\Interfaces\CategoryInterface::getCustomDataEntry().
-
ajax/categories/list.php:66:Call to an undefined method QUI\ERP\Products\Interfaces\CategoryInterface::getPath().
-
ajax/categories/search.php:77:Parameter #2 $callback of function usort expects callable(non-empty-array, non-empty-array): int, Closure(mixed, mixed): bool given.
-
ajax/categories/update.php:51:Call to an undefined method QUI\ERP\Products\Interfaces\CategoryInterface::setCustomDataEntry().
-
ajax/fields/list.php:44:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getSuffix().
-
ajax/fields/list.php:45:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getPrefix().
-
ajax/fields/search.php:64:Parameter #2 $callback of function usort expects callable(non-empty-array, non-empty-array): int, Closure(mixed, mixed): bool given.
-
ajax/getInstalledProductPackages.php:20:Parameter #1 $package of static method QUI::getPackage() expects string, false given.
-
ajax/products/frontend/getProductByProductNo.php:19:Call to an undefined method QUI\ERP\Products\Interfaces\ProductTypeInterface::getView().
-
ajax/products/frontend/getVariant.php:108:Call to an undefined method QUI\ERP\Products\Product\Types\AbstractType::getVariantByVariantHash().
-
ajax/products/frontend/getVariant.php:117:Call to an undefined method QUI\ERP\Products\Product\Types\AbstractType::getVariants().
-
ajax/products/frontend/getVariant.php:174:Call to an undefined method QUI\ERP\Products\Product\Types\AbstractType::availableActiveFieldHashes().
-
ajax/products/list.php:51:Parameter #2 $callback of function usort expects callable(mixed, mixed): int, Closure(mixed, mixed): bool given.
-
ajax/products/update.php:124:Dead catch - Exception is never thrown in the try block.
-
src/QUI/ERP/Products/Category/Category.php:753:Negated boolean expression is always true.
-
src/QUI/ERP/Products/Category/Category.php:771:Parameter #1 $seconds of function set_time_limit expects int, string given.
-
src/QUI/ERP/Products/Console/GenerateProductCache.php:101:Parameter #1 $string of function mb_strlen expects string, int<0, max> given.
-
src/QUI/ERP/Products/Console/GenerateProductCache.php:101:Parameter #1 $string of function str_pad expects string, int<0, max> given.
-
src/QUI/ERP/Products/Console/UpdatePrices.php:86:Call to an undefined method QUI\ERP\Products\Interfaces\CategoryInterface::getCustomDataEntry().
-
src/QUI/ERP/Products/Controls/Category/ProductList.php:731:Call to an undefined method QUI\ERP\Products\Interfaces\CategoryInterface::getView().
-
src/QUI/ERP/Products/Controls/Category/ProductList.php:748:Call to an undefined method QUI\ERP\Products\Interfaces\CategoryInterface::getView().
-
src/QUI/ERP/Products/Controls/Category/ProductList.php:760:Parameter #1 $Site of class QUI\ERP\Products\Search\FrontendSearch constructor expects QUI\Projects\Site|null, QUI\Interfaces\Projects\Site given.
-
src/QUI/ERP/Products/Controls/Products/ChildrenSlider.php:151:Parameter #1 $fieldId of method QUI\ERP\Products\Interfaces\ProductInterface::getFieldValue() expects int, string given.
-
src/QUI/ERP/Products/Controls/Products/ChildrenSlider.php:152:Call to an undefined method QUI\ERP\Products\Interfaces\ProductInterface::getCalculatedPrice().
-
src/QUI/ERP/Products/Controls/Products/Product.php:227:Call to an undefined method QUI\ERP\Products\Interfaces\UniqueFieldInterface::getPrice().
-
src/QUI/ERP/Products/Controls/Search/Search.php:92:Parameter #1 $Site of class QUI\ERP\Products\Search\FrontendSearch constructor expects QUI\Projects\Site|null, QUI\Interfaces\Projects\Site given.
-
src/QUI/ERP/Products/Crons.php:45:Variable $Product in PHPDoc tag @var does not match any variable in the foreach loop: $ids, $id
-
src/QUI/ERP/Products/Crons.php:67:Parameter #1 $seconds of function set_time_limit expects int, string given.
-
src/QUI/ERP/Products/Crons.php:83:Variable $Product in PHPDoc tag @var does not match any variable in the foreach loop: $ids, $id
-
src/QUI/ERP/Products/Crons.php:117:Parameter #1 $seconds of function set_time_limit expects int, string given.
-
src/QUI/ERP/Products/EventHandling.php:129:Dead catch - Exception is never thrown in the try block.
-
src/QUI/ERP/Products/EventHandling.php:152:Dead catch - Exception is never thrown in the try block.
-
src/QUI/ERP/Products/EventHandling.php:199:Parameter #2 $key of method QUI\Config::set() expects array|string|null, int given.
-
src/QUI/ERP/Products/EventHandling.php:203:Parameter #2 $key of method QUI\Config::set() expects array|string|null, int given.
-
src/QUI/ERP/Products/EventHandling.php:826:Comparison operation ">" between (0|1|11|26|''|'InputMultiLang'|'text'|array{de: 'SEO Kurzbeschreibung', en: 'SEO Short…'}|array{maxLength: 255, minLength: 3}) and 1000 results in an error.
-
src/QUI/ERP/Products/EventHandling.php:1051:Call to an undefined method QUI\Interfaces\Projects\Site::getLocation().
-
src/QUI/ERP/Products/EventHandling.php:1319:Parameter $Order of method QUI\ERP\Products\EventHandling::onQuiqqerOrderSuccessful() has invalid type QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/EventHandling.php:1319:Parameter $Order of method QUI\ERP\Products\EventHandling::onQuiqqerOrderSuccessful() has invalid type QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/EventHandling.php:1321:Call to method getArticles() on an unknown class QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Field/Field.php:1275:Parameter #1 $string of function mb_strlen expects string, int given.
-
src/QUI/ERP/Products/Field/Types/AttributeGroup.php:380:Offset 0 on array{} in isset() does not exist.
-
src/QUI/ERP/Products/Field/Types/AttributeGroup.php:380:Offset 1 on *NEVER* in isset() always exists and is not nullable.
-
src/QUI/ERP/Products/Field/Types/AttributeGroup.php:380:Result of || is always true.
-
src/QUI/ERP/Products/Field/Types/AttributeGroup.php:384:Unreachable statement - code above always terminates.
-
src/QUI/ERP/Products/Field/Types/AttributeGroupFrontendView.php:139:Result of && is always false.
-
src/QUI/ERP/Products/Field/Types/AttributeGroupFrontendView.php:139:Result of && is always false.
-
src/QUI/ERP/Products/Field/Types/AttributeGroupFrontendView.php:139:Strict comparison using === between int|string and null will always evaluate to false.
-
src/QUI/ERP/Products/Field/Types/Folder.php:146:Comparison operation "<" between array|int and 1 results in an error.
-
src/QUI/ERP/Products/Field/Types/InputMultiLang.php:99:Call to function is_string() with mixed will always evaluate to false.
-
src/QUI/ERP/Products/Field/Types/MultilangFrontendView.php:30:Variable $Field in PHPDoc tag @var does not match assigned variable $value.
-
src/QUI/ERP/Products/Field/Types/Price.php:238:Parameter #1 $string of function mb_strlen expects string, int given.
-
src/QUI/ERP/Products/Field/Types/ProductAttributeList.php:427:Offset 0 on array{} in isset() does not exist.
-
src/QUI/ERP/Products/Field/Types/ProductAttributeList.php:427:Offset 1 on *NEVER* in isset() always exists and is not nullable.
-
src/QUI/ERP/Products/Field/Types/ProductAttributeList.php:427:Result of || is always true.
-
src/QUI/ERP/Products/Field/Types/ProductAttributeList.php:431:Unreachable statement - code above always terminates.
-
src/QUI/ERP/Products/Field/Types/TimePeriod.php:68:PHPDoc tag @param has invalid value (mixed< $value): Unexpected token "$value", expected type at offset 101
-
src/QUI/ERP/Products/Field/Types/VatFrontendView.php:35:Comparison operation ">=" between array|string and 0 results in an error.
-
src/QUI/ERP/Products/Field/UniqueField.php:551:Method QUI\ERP\Products\Field\UniqueField::getValueText() should return string but returns mixed.
-
src/QUI/ERP/Products/Field/UniqueField.php:551:Method QUI\ERP\Products\Field\UniqueField::getValueText() should return string but returns mixed.
-
src/QUI/ERP/Products/Field/UniqueField.php:558:Offset string on *NEVER* in isset() always exists and is not nullable.
-
src/QUI/ERP/Products/Field/UniqueField.php:564:Method QUI\ERP\Products\Field\UniqueField::getValueText() should return string but returns false.
-
src/QUI/ERP/Products/Field/UniqueField.php:564:Method QUI\ERP\Products\Field\UniqueField::getValueText() should return string but returns false.
-
src/QUI/ERP/Products/Handler/Categories.php:86:Class QUI\Database\Exception referenced with incorrect case: QUI\DataBase\Exception.
-
src/QUI/ERP/Products/Handler/Categories.php:401:Class QUI\Database\Exception referenced with incorrect case: QUI\DataBase\Exception.
-
src/QUI/ERP/Products/Handler/Fields.php:708:Call to an undefined method DOMNode::getAttribute().
-
src/QUI/ERP/Products/Handler/Fields.php:709:Call to an undefined method DOMNode::getAttribute().
-
src/QUI/ERP/Products/Handler/Fields.php:710:Call to an undefined method DOMNode::getAttribute().
-
src/QUI/ERP/Products/Handler/Fields.php:717:Call to an undefined method DOMNode::getElementsByTagName().
-
src/QUI/ERP/Products/Handler/Fields.php:1046:Left side of || is always false.
-
src/QUI/ERP/Products/Handler/Fields.php:1046:Right side of || is always false.
-
src/QUI/ERP/Products/Handler/Fields.php:1072:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getType().
-
src/QUI/ERP/Products/Handler/Products.php:107:Static property QUI\ERP\Products\Handler\Products::$productUrls is never read, only written.
-
src/QUI/ERP/Products/Handler/Products.php:644:Parameter #1 $Category of method QUI\ERP\Products\Product\Product::setMainCategory() expects int|QUI\ERP\Products\Category\Category, QUI\ERP\Products\Interfaces\CategoryInterface|null given.
-
src/QUI/ERP/Products/Product/JsonLd.php:163:If condition is always true.
-
src/QUI/ERP/Products/Product/JsonLd.php:317:Left side of && is always true.
-
src/QUI/ERP/Products/Product/JsonLd.php:321:Left side of && is always true.
-
src/QUI/ERP/Products/Product/Model.php:505:Parameter #1 $name of method QUI\Projects\Media\Folder::childWithNameExists() expects string, int<min, -1>|int<1, max>|true given.
-
src/QUI/ERP/Products/Product/Model.php:506:Parameter #1 $filename of method QUI\Projects\Media\Folder::getChildByName() expects string, int<min, -1>|int<1, max>|true given.
-
src/QUI/ERP/Products/Product/Model.php:508:Parameter #1 $foldername of method QUI\Projects\Media\Folder::createFolder() expects string, int<min, -1>|int<1, max>|true given.
-
src/QUI/ERP/Products/Product/Model.php:517:Parameter #1 $filename of method QUI\Projects\Media\Folder::getChildByName() expects string, int<min, -1>|int<1, max>|true given.
-
src/QUI/ERP/Products/Product/Model.php:546:Parameter #1 $name of method QUI\Projects\Media\Folder::childWithNameExists() expects string, int given.
-
src/QUI/ERP/Products/Product/Model.php:547:Parameter #1 $filename of method QUI\Projects\Media\Folder::getChildByName() expects string, int given.
-
src/QUI/ERP/Products/Product/Model.php:549:Parameter #1 $foldername of method QUI\Projects\Media\Folder::createFolder() expects string, int given.
-
src/QUI/ERP/Products/Product/Model.php:558:Parameter #1 $filename of method QUI\Projects\Media\Folder::getChildByName() expects string, int given.
-
src/QUI/ERP/Products/Product/Model.php:745:Call to an undefined method QUI\Interfaces\Projects\Site::getUrlRewrittenWithHost().
-
src/QUI/ERP/Products/Product/Model.php:968:PHPDoc tag @return with type QUI\ERP\Products\Field\UniqueField|false is not subtype of native type QUI\ERP\Products\Interfaces\UniqueFieldInterface.
-
src/QUI/ERP/Products/Product/Model.php:1393:Parameter #1 $Product of static method QUI\ERP\Products\Utils\Products::getInheritedFieldIdsForProduct() expects null, $this(QUI\ERP\Products\Product\Model)&QUI\ERP\Products\Product\Types\VariantChild given.
-
src/QUI/ERP/Products/Product/Model.php:1396:Parameter #1 $Product of static method QUI\ERP\Products\Utils\Products::getEditableFieldIdsForProduct() expects null, $this(QUI\ERP\Products\Product\Model)&QUI\ERP\Products\Product\Types\VariantChild given.
-
src/QUI/ERP/Products/Product/Model.php:2061:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getType().
-
src/QUI/ERP/Products/Product/Model.php:2728:Parameter #2 $string of function explode expects string, float given.
-
src/QUI/ERP/Products/Product/ProductList.php:101:Property QUI\ERP\Products\Product\ProductList::$Order has unknown class QUI\ERP\Order\AbstractOrder as its type.
-
src/QUI/ERP/Products/Product/ProductList.php:101:Property QUI\ERP\Products\Product\ProductList::$Order has unknown class QUI\ERP\Order\AbstractOrder as its type.
-
src/QUI/ERP/Products/Product/ProductList.php:296:Call to an undefined method QUI\ERP\Products\Interfaces\ProductInterface::getQuantity().
-
src/QUI/ERP/Products/Product/ProductList.php:336:Call to an undefined method QUI\ERP\Products\Interfaces\ProductInterface::createUniqueProduct().
-
src/QUI/ERP/Products/Product/ProductList.php:639:Parameter $Order of method QUI\ERP\Products\Product\ProductList::setOrder() has invalid type QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Product/ProductList.php:639:Parameter $Order of method QUI\ERP\Products\Product\ProductList::setOrder() has invalid type QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Product/ProductList.php:647:Method QUI\ERP\Products\Product\ProductList::getOrder() has invalid return type QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Product/ProductList.php:647:Method QUI\ERP\Products\Product\ProductList::getOrder() has invalid return type QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Product/ProductListBackendView.php:87:Call to an undefined method QUI\ERP\Products\Interfaces\ProductInterface::getPriceFactors().
-
src/QUI/ERP/Products/Product/ProductListFrontendView.php:94:Call to an undefined method QUI\ERP\Products\Interfaces\ProductInterface::getPriceFactors().
-
src/QUI/ERP/Products/Product/Types/Product.php:24:PHPDoc tag @return with type mixed is not subtype of native type string.
-
src/QUI/ERP/Products/Product/Types/Product.php:37:PHPDoc tag @return with type mixed is not subtype of native type string.
-
src/QUI/ERP/Products/Product/Types/VariantChild.php:68:Parameter #1 $Product of static method QUI\ERP\Products\Utils\Products::getInheritedFieldIdsForProduct() expects null, $this(QUI\ERP\Products\Product\Types\VariantChild) given.
-
src/QUI/ERP/Products/Product/Types/VariantChild.php:71:Parameter #1 $Product of static method QUI\ERP\Products\Utils\Products::getEditableFieldIdsForProduct() expects null, $this(QUI\ERP\Products\Product\Types\VariantChild) given.
-
src/QUI/ERP/Products/Product/Types/VariantChild.php:448:Parameter #1 $name of method QUI\Projects\Media\Folder::childWithNameExists() expects string, int given.
-
src/QUI/ERP/Products/Product/Types/VariantChild.php:449:Parameter #1 $filename of method QUI\Projects\Media\Folder::getChildByName() expects string, int given.
-
src/QUI/ERP/Products/Product/Types/VariantChild.php:451:Parameter #1 $foldername of method QUI\Projects\Media\Folder::createFolder() expects string, int given.
-
src/QUI/ERP/Products/Product/Types/VariantChild.php:460:Parameter #1 $filename of method QUI\Projects\Media\Folder::getChildByName() expects string, int given.
-
src/QUI/ERP/Products/Product/Types/VariantChild.php:579:Parameter #1 $Product of static method QUI\ERP\Products\Utils\Products::getInheritedFieldIdsForProduct() expects null, $this(QUI\ERP\Products\Product\Types\VariantChild) given.
-
src/QUI/ERP/Products/Product/Types/VariantParent.php:116:PHPDoc tag @return with type mixed is not subtype of native type string.
-
src/QUI/ERP/Products/Product/Types/VariantParent.php:129:PHPDoc tag @return with type mixed is not subtype of native type string.
-
src/QUI/ERP/Products/Product/Types/VariantParent.php:556:Parameter #1 $Product of static method QUI\ERP\Products\Utils\Products::getEditableFieldIdsForProduct() expects null, $this(QUI\ERP\Products\Product\Types\VariantParent) given.
-
src/QUI/ERP/Products/Product/Types/VariantParent.php:557:Parameter #1 $Product of static method QUI\ERP\Products\Utils\Products::getInheritedFieldIdsForProduct() expects null, $this(QUI\ERP\Products\Product\Types\VariantParent) given.
-
src/QUI/ERP/Products/Product/Types/VariantParent.php:1049:Strict comparison using !== between 'AttributeGroup' and 'AttributeGroup' will always evaluate to false.
-
src/QUI/ERP/Products/Product/Types/VariantParent.php:1336:Call to an undefined method QUI\ERP\Products\Field\Field::getCalculationData().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:180:PHPDoc tag @var has invalid value (): Unexpected token "\n ", expected type at offset 73
-
src/QUI/ERP/Products/Product/UniqueProduct.php:271:Call to an undefined method QUI\ERP\Products\Interfaces\UniqueFieldInterface::getParentClass().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:287:Call to an undefined method QUI\ERP\Products\Interfaces\UniqueFieldInterface::getOptions().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:531:PHPDoc tag @return with type QUI\ERP\Products\Product\UniqueProduct is not subtype of native type static(QUI\ERP\Products\Product\UniqueProduct).
-
src/QUI/ERP/Products/Product/UniqueProduct.php:605:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getType().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:606:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getType().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:607:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getType().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:774:Call to an undefined method QUI\Interfaces\Projects\Media\File::getImages().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:864:Call to an undefined method QUI\ERP\Products\Interfaces\UniqueFieldInterface::getType().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:1089:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::isCustomField().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:1222:Call to an undefined method QUI\ERP\Products\Interfaces\UniqueFieldInterface::getPrice().
-
src/QUI/ERP/Products/Product/UniqueProduct.php:1346:Call to an undefined method QUI\ERP\Products\Field\Field::getTitleByValue().
-
src/QUI/ERP/Products/Product/UniqueProductFrontendView.php:98:Parameter #1 $price of class QUI\ERP\Money\Price constructor expects float|int|null, string given.
-
src/QUI/ERP/Products/Product/UniqueProductFrontendView.php:107:Parameter #1 $price of class QUI\ERP\Money\Price constructor expects float|int|null, string given.
-
src/QUI/ERP/Products/Product/UniqueProductFrontendView.php:122:Parameter #1 $price of class QUI\ERP\Money\Price constructor expects float|int|null, string given.
-
src/QUI/ERP/Products/Product/UniqueProductFrontendView.php:131:Parameter #1 $price of class QUI\ERP\Money\Price constructor expects float|int|null, string given.
-
src/QUI/ERP/Products/Product/UniqueProductFrontendView.php:174:Parameter #1 $price of class QUI\ERP\Money\Price constructor expects float|int|null, string given.
-
src/QUI/ERP/Products/Product/UniqueProductFrontendView.php:183:Parameter #1 $price of class QUI\ERP\Money\Price constructor expects float|int|null, string given.
-
src/QUI/ERP/Products/Product/ViewBackend.php:26:PHPDoc tag @var has invalid value (Model|Product<): Unexpected token "*/", expected type at offset 36
-
src/QUI/ERP/Products/Product/ViewBackend.php:293:Call to an undefined method QUI\ERP\Products\Product\Model::calc().
-
src/QUI/ERP/Products/Product/ViewBackend.php:301:Call to an undefined method QUI\ERP\Products\Product\Model::resetCalculation().
-
src/QUI/ERP/Products/Product/ViewFrontend.php:223:Parameter #1 $price of class QUI\ERP\Money\Price constructor expects float|int|null, string given.
-
src/QUI/ERP/Products/Utils/Calc.php:216:Call to method getDeliveryAddress() on an unknown class QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Utils/Calc.php:218:Call to method getDeliveryAddress() on an unknown class QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Utils/Calc.php:243:Call to method getDeliveryAddress() on an unknown class QUI\ERP\Order\AbstractOrder.
-
src/QUI/ERP/Products/Utils/Calc.php:284:Call to an undefined method QUI\ERP\Products\Interfaces\ProductInterface::recalculation().
-
src/QUI/ERP/Products/Utils/Calc.php:287:Parameter #1 $Product of method QUI\ERP\Products\Utils\Calc::getProductPrice() expects QUI\ERP\Products\Product\UniqueProduct, QUI\ERP\Products\Interfaces\ProductInterface given.
-
src/QUI/ERP/Products/Utils/Calc.php:341:Parameter #1 $value of method QUI\ERP\Products\Interfaces\PriceFactorInterface::setValueText() expects string, int given.
-
src/QUI/ERP/Products/Utils/Calc.php:342:Call to an undefined method QUI\ERP\Products\Interfaces\PriceFactorInterface::setVat().
-
src/QUI/ERP/Products/Utils/Calc.php:351:Call to an undefined method QUI\ERP\Products\Interfaces\PriceFactorInterface::getVat().
-
src/QUI/ERP/Products/Utils/Calc.php:390:Call to an undefined method QUI\ERP\Products\Interfaces\PriceFactorInterface::hasValueText().
-
src/QUI/ERP/Products/Utils/Calc.php:453:Call to an undefined method QUI\ERP\Products\Interfaces\PriceFactorInterface::setVat().
-
src/QUI/ERP/Products/Utils/Calc.php:465:Left side of && is always true.
-
src/QUI/ERP/Products/Utils/Calc.php:469:Right side of && is always true.
-
src/QUI/ERP/Products/Utils/Calc.php:500:Parameter #1 $vat of static method QUI\ERP\Accounting\Calc::getVatText() expects float, string given.
-
src/QUI/ERP/Products/Utils/Calc.php:514:Offset 0 on array<string, mixed> in isset() does not exist.
-
src/QUI/ERP/Products/Utils/Calc.php:518:Offset 0 on array<string, mixed> in isset() does not exist.
-
src/QUI/ERP/Products/Utils/Calc.php:540:Binary operation "/" between string and 100 results in an error.
-
src/QUI/ERP/Products/Utils/Calc.php:750:Parameter #1 $value of method QUI\ERP\Products\Utils\Calc::round() expects string, float given.
-
src/QUI/ERP/Products/Utils/Calc.php:794:Call to an undefined method QUI\ERP\Products\Interfaces\PriceFactorInterface::hasValueText().
-
src/QUI/ERP/Products/Utils/Calc.php:818:Parameter #1 $value of method QUI\ERP\Products\Utils\Calc::round() expects string, float given.
-
src/QUI/ERP/Products/Utils/Calc.php:821:Parameter #1 $value of method QUI\ERP\Products\Utils\Calc::round() expects string, float given.
-
src/QUI/ERP/Products/Utils/Calc.php:839:Parameter #1 $value of method QUI\ERP\Products\Utils\Calc::round() expects string, float given.
-
src/QUI/ERP/Products/Utils/Calc.php:841:Parameter #1 $value of method QUI\ERP\Products\Utils\Calc::round() expects string, float given.
-
src/QUI/ERP/Products/Utils/Calc.php:945:Parameter #1 $value of method QUI\ERP\Products\Utils\Calc::round() expects string, float given.
-
src/QUI/ERP/Products/Utils/Calc.php:985:Elseif branch is unreachable because previous condition is always true.
-
src/QUI/ERP/Products/Utils/Calc.php:985:Instanceof between *NEVER* and QUI\ERP\Tax\TaxEntry will always evaluate to false.
-
src/QUI/ERP/Products/Utils/Calc.php:987:Else branch is unreachable because previous condition is always true.
-
src/QUI/ERP/Products/Utils/Calc.php:1044:Elseif branch is unreachable because previous condition is always true.
-
src/QUI/ERP/Products/Utils/Calc.php:1044:Instanceof between *NEVER* and QUI\ERP\Tax\TaxEntry will always evaluate to false.
-
src/QUI/ERP/Products/Utils/Calc.php:1046:Else branch is unreachable because previous condition is always true.
-
src/QUI/ERP/Products/Utils/Fields.php:530:Call to an undefined method DOMNode::getAttribute().
-
src/QUI/ERP/Products/Utils/Fields.php:533:Call to an undefined method DOMNode::getElementsByTagName().
-
src/QUI/ERP/Products/Utils/Fields.php:540:Call to an undefined method DOMNode::getElementsByTagName().
-
src/QUI/ERP/Products/Utils/Fields.php:548:Call to an undefined method DOMNode::getElementsByTagName().
-
src/QUI/ERP/Products/Utils/Fields.php:638:Call to an undefined method DOMNode::getAttribute().
-
src/QUI/ERP/Products/Utils/PriceFactor.php:424:PHPDoc tag @param for parameter $value with type mixed is not subtype of native type float|int|string.
-
src/QUI/ERP/Products/Utils/Products.php:93:Comparison operation "!=" between 0|0.0|''|'0'|array{}|false|null and 0 results in an error.
-
src/QUI/ERP/Products/Utils/Products.php:380:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::hideEntries().
-
src/QUI/ERP/Products/Utils/Products.php:381:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::disableEntries().
-
src/QUI/ERP/Products/Utils/Products.php:383:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::getOptions().
-
src/QUI/ERP/Products/Utils/Products.php:409:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::showEntry().
-
src/QUI/ERP/Products/Utils/Products.php:412:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::enableEntry().
-
src/QUI/ERP/Products/Utils/Products.php:417:Call to an undefined method QUI\ERP\Products\Interfaces\FieldInterface::enableEntry().
-
types/category.php:234:Parameter #1 $Project of method QUI\ERP\Products\Product\Model::getUrlRewrittenWithHost() expects null, QUI\Projects\Project given.
-
types/productList.php:21:Parameter #1 $pid of static method QUI\ERP\Products\Handler\Products::getProduct() expects int, string given.