Skip to content
Code-Schnipsel Gruppen Projekte
  1. Feb 22, 2025
    • Henning Leutz's avatar
      fix: update phpstan config and add condition to package setup in src/QUI/ERP/Coupons/Events.php · 749db82c
      verfasst von Henning Leutz
      This commit includes a minor modification in the `phpstan.dist.neon` file where the `excludePaths`
      value has been updated. Besides, a conditional check has been added in the `onPackageSetup`
      function, under `Events.php` in the `src/QUI/ERP/Coupons` directory, to only proceed if the package
      name is 'quiqqer/coupons'. This additional check generally improves the efficiency and correctness
      of the package setup process.
      749db82c
    • Henning Leutz's avatar
      refactor(phpstand): update coupon code and physical coupon product · 6ca95f6b
      verfasst von Henning Leutz
      This commit modifies the `src/QUI/ERP/Coupons/CouponCode.php` by removing an unexplained variable
      annotation.
      In `src/QUI/ERP/Coupons/Products/PhysicalCouponProductType.php`, it introduces an import statement
      for `QUI\\Locale` and updated the `Locale` parameter type definition in `getTypeDescription`
      function. This change improves code readability and consistency.
      6ca95f6b
    • Henning Leutz's avatar
      fix(phpstan): code improvements and resolve warnings · 2833ed98
      verfasst von Henning Leutz
      Reviewed code and made several improvements which provide better error handling, code quality, and
      resolved warnings. The changes include:
      - Syntax modifications for better readability,
      - Ensured variable type checks before using methods,
      - Resolved warning instances in phpstan,
      - Adapted code to comply with modern PHP nullable type indicator.
      
      Alongside, made version update in phive/phars.xml. Also, unnecessary comments or instances are
      removed for a cleaner code.
      
      Related: #16
      2833ed98
  2. Dez 02, 2024
  3. Okt 31, 2024
  4. Jul 04, 2024
  5. Mai 10, 2024
  6. Mai 07, 2024
  7. Mai 06, 2024
  8. Mai 01, 2024
  9. Apr 29, 2024
  10. Apr 27, 2024
  11. Apr 24, 2024
  12. Dez 28, 2023
  13. Sep 21, 2023
  14. Sep 23, 2022
  15. Sep 22, 2022
  16. Jun 24, 2022
  17. Mai 16, 2022
  18. Jul 06, 2021
  19. Jul 05, 2021
  20. Jul 01, 2021
  21. Jun 30, 2021
  22. Jun 29, 2021
  23. Jun 23, 2021
  24. Jun 22, 2021
  25. Jun 16, 2021
  26. Jun 09, 2021
  27. Jun 08, 2021
  28. Jun 07, 2021
  29. Mär 30, 2021