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

refactor(phpstan): enhance type enforcement and error handling in shipping rules

This commit enhances the type enforcement in the Shipping module by explicitly checking for method
existence before calls on variable types. In addition, it enforces argument type checks for several
function and method declarations to avoid type-related errors. Moreover, the error handling in
different functions has been improved by catching potential exceptions and logging them for debug
purposes. The commit also optimizes a PHP sorting function by leveraging the spaceship operator
instead of using conventional comparisons.

Related: #55
Übergeordneter e5ed940a
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 #15590 fehlgeschlagen mit Phase
in 2 Minuten und 30 Sekunden
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