Skip to content
Code-Schnipsel Gruppen Projekte
  1. Feb 12, 2025
  2. Feb 11, 2025
  3. Feb 10, 2025
    • Henning Leutz's avatar
      fix(phpstan): remove unnecessary newline in utils.php · 40cf4b1f
      verfasst von Henning Leutz
      This commit removes an unnecessary newline in the 'src/QUI/TemplateCologne/Utils.php' file to
      maintain code cleanliness and readability. It also includes a minor change to spacing for
      formatting consistency.
      40cf4b1f
    • Henning Leutz's avatar
      refactor(phpstan): update type declaration format and add reflection for Shipping class · 942e123c
      verfasst von Henning Leutz
      - Modified format for return types in declaration of functions `getAvatar`, `getConfig`, and
      `getSetting` for increased readability.
      - Added `ReflectionClass` usage to check for constant in `QUI\ERP\Shipping\Shipping` in
      `getShippingTimeFrontendView` function, enhancing maintainability and robustness of the code.
      - Adjusted the fail-safe condition inside `getShippingTimeFrontendView` to check for the existence
      of the class 'Shipping' before checking for defined constant, reducing chance of errors.
      - Imported `ReflectionClass` at the top of the file.
      942e123c
    • Henning Leutz's avatar
      fix(phpstan): add checks for undefined constant in utils.php · 704e4892
      verfasst von Henning Leutz
      A fix has been applied in the src/QUI/TemplateCologne/Utils.php file. A condition has been added to
      check whether the PRODUCT_FIELD_SHIPPING_TIME constant is defined. If not, the function will return
      false to prevent any potential errors.
      704e4892
    • Henning Leutz's avatar
      fix(phpstan): resolve method and class checks · 8773c99f
      verfasst von Henning Leutz
      Several changes have been made, primarily around checking the existence of methods and classes and
      removing unnecessary comments.
      
      - Method checks have been introduced to ensure the `getCachePath()` method exists before calling it.
      - Removed invalid phpDocs, e.g., @var $Site Site and @var $Project Project
      - Fixed typing to align return types and updated a factory method to check class existence.
      - Added variable definition comments in the settings.css.php file for clarity.
      
      Related: #114
      8773c99f
  4. Nov 04, 2024
  5. Okt 24, 2024
  6. Okt 17, 2024
  7. Okt 16, 2024
  8. Sep 19, 2024
  9. Aug 10, 2024
  10. Aug 09, 2024
  11. Aug 06, 2024
  12. Aug 02, 2024
  13. Jul 29, 2024
  14. Jul 16, 2024
  15. Jul 09, 2024
  16. Jul 02, 2024
  17. Mai 08, 2024
  18. Mai 07, 2024