chore: update phpstan version and remove redundant error logs
- Mär 04, 2025
-
-
verfasst von Henning Leutz
This commit adds safeguard checks to ensure specific classes ('QUI\\ERP\\Order\\Exception' and 'QUI\\REST\\ResponseFactory') exist before proceeding in 'src/QUI/FrontendUsers/Controls/Address/Address.php' and 'src/QUI/FrontendUsers/Rest/Routes/GetRegisterRequiredFields.php'. If these classes are not found, the new code logs an error message and throws a general 'QUI\\Exception'.
-
verfasst von Henning Leutz
- Introduced checks for 'setAttribute' and 'getTitle' method existence in FrontendUsers controls. - Improved type hinting across multiple files. - Fixed @phpstan-ignore-line. - Code clean up and tidy in various files.
-
verfasst von Henning Leutz
This commit updates the phpstan version in the .phive/phars.xml file from 1.11.8 to 1.12.13 and sets its copy attribute to false. It also removes all errors in the phpstan-baseline.neon file as they are no longer relevant or have been fixed.
-