Skip to content
Code-Schnipsel Gruppen Projekte

chore: update phpstan version and remove redundant error logs

Zusammengeführt Henning Leutz requested to merge next-2.x into main
  1. Mär 04, 2025
    • Henning Leutz's avatar
      fix(phpstan): update exception handling and class checking · 58156ac2
      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'.
      58156ac2
    • Henning Leutz's avatar
      fix(phpstan): enhance checks for method exists and type hinting` · 1ac7dc00
      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.
      1ac7dc00
    • Henning Leutz's avatar
      chore: update phpstan version and remove redundant error logs · b9db8919
      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.
      b9db8919
Lade