Skip to content
Code-Schnipsel Gruppen Projekte
  1. Feb 14, 2025
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · b2cfe1cc
      verfasst von Henning Leutz
      fix(phpstan): improved method validity checks and reduced error handling
      
      See merge request !12
      2.0.3
      b2cfe1cc
    • Henning Leutz's avatar
      refactor(phpstan): change order interface to erp entity interface in Discount · e8c4d77c
      verfasst von Henning Leutz
      Updated the 'canUsedInOrder' function in Discount.php to accept ERP Entity Interface arguments
      instead of Order Interfaces for better flexibility and compatibility. Added checks to ensure that
      the provided entity is an instance of the Order Interface, increasing robustness.
      e8c4d77c
    • Henning Leutz's avatar
      fix(phpstan): improved method validity checks and reduced error handling · 6100708f
      verfasst von Henning Leutz
      This commit fixes several issues in different PHP files.
      - Added `method_exists` checks for `isActive` method in `activate.php`, `deactivate.php` and
      `toggle.php` to prevent calls to an undefined method.
      - Similar check added for `getTitle` method in `get.php`.
      - Fixed sorting functionality in `search.php` by using `strcmp` instead of greater than comparison.
      - Removed a large number of ignored errors in `phpstan-baseline.neon`, indicating reduced error
      handling.
      - Corrected the `implode` parameters order in `Discount.php` and typecasted variable to string
      before using `explode` in `PriceFactor.php`.
      - Updated `getTitle` & `toPriceFactor` method parameters in `Discount.php` to use union types for
      compatibility with different data types.
      
      Related: #18
      6100708f
  2. Aug 05, 2024
  3. Aug 02, 2024
  4. Jul 17, 2024
  5. Mai 10, 2024
  6. Mai 06, 2024
  7. Mai 01, 2024
  8. Apr 25, 2024
    • Henning Leutz's avatar
      feat!: quiqqer v2 · 8a72957f
      verfasst von Henning Leutz
      BREAKING CHANGE: quiqqer v2 has been renamed to quiqqer/core. a new major version will be created here so that we can still develop for both versions.
      8a72957f
  9. Apr 24, 2024
  10. Apr 18, 2024
  11. Feb 24, 2022