Skip to content
Code-Schnipsel Gruppen Projekte
Commit ab8fc62b erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

chore(phpstan): update erroneous return type message in phpstan-baseline

This commit changes the incorrect return type message found in the phpstan-baseline.neon file.
Return type of method ShippingTimePeriod::getFrontendView() has been correctly aligned to match
that of TimePeriod::getFrontendView(). This ensures clear and accurate type error messages that
adhere to the standard format.
Übergeordneter b5ad037d
Branches next-3.x
No related tags found
2 Merge Requests!46Update 'next-3.x' with latest changes from 'main',!45fix(phpstan): allow null as parameter in various functions
Pipeline #15596 bestanden mit Phase
in 2 Minuten und 29 Sekunden
......@@ -58,5 +58,5 @@ parameters:
message: "#^Call to method update\\(\\) on an unknown class QUI\\\\ERP\\\\SalesOrders\\\\SalesOrder\\.$#"
path: src/QUI/ERP/Shipping/EventHandler.php
-
message: "#^Return type \\(QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimeFrontendView\\) of method QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimePeriod::getFrontendView\\(\\) should be compatible with return type \\(QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\UnitSelectFrontendView\\) of method QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\TimePeriod::getFrontendView\\(\\)\\s+🪪\\s+method\\.childReturnType$#"
message: "#^Return type \\(QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimeFrontendView\\) of method QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimePeriod::getFrontendView\\(\\) should be compatible with return type \\(QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\UnitSelectFrontendView\\) of method QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\TimePeriod::getFrontendView\\(\\)\\s*$#"
path: src/QUI/ERP/Shipping/Products/Fields/ShippingTimePeriod.php
\ No newline at end of file
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren