Skip to content
Code-Schnipsel Gruppen Projekte
  1. Mär 04, 2025
    • Henning Leutz's avatar
      Merge branch 'next-3.x' into 'main' · 12da4391
      verfasst von Henning Leutz
      chore: update phpstan version and remove phpstan-baseline
      
      See merge request !36
      3.2.2
      12da4391
    • Henning Leutz's avatar
      fix(phpstan): enhance code readability and adopt safer practices · 78d9b1e2
      verfasst von Henning Leutz
      Several changes have been made across multiple files to enhance code readability and follow safer
      coding practices.
      
      1. Breakdown of long lines of attributes/code into multiple lines with added comments for better
      readability. This was done in Submenu.php
      
      2. Replaced '==' operation with 'empty()' function to check for empty strings in Submenu.php
      
      3. Safer checking of if method 'getCachePath' exists on 'getSite' to avoid potential errors &
      Ensure the last insert ID is always an integer in the database PDO in DropDownMenu.php and
      Factory.php
      
      4. Refactor conditions for more clear type hinting in multiple files; including
      Independent/Handler.php, Independent/Items/AbstractMenuItem.php, Independent/Items/Site.php,
      Independent/Menu.php, MegaMenu.php, and NavTabs.php
      
      The concept of safe concatenation or use of '|null|' has been introduced where needed across many
      files.
      
      Related: #38
      78d9b1e2
    • Henning Leutz's avatar
      chore: update phpstan version and remove phpstan-baseline · 6f309bd3
      verfasst von Henning Leutz
      This commit updates the version of phpstan specified in .phive/phars.xml file to 1.* and the
      current installed version to 1.12.13.
      
      Additionally, it removes all the previously ignored errors in phpstan-baseline.neon. The actions
      were taken possibly due to fixes to these errors or related update in the codebase causing them to
      be obsolete.
      
      Please ensure related checks/errors do not surface again due to the removed baseline ignores.
      6f309bd3
  2. Nov 23, 2024
  3. Okt 10, 2024
  4. Aug 05, 2024
  5. Aug 02, 2024
  6. Jun 09, 2024
  7. Jun 08, 2024
  8. Mai 08, 2024
  9. Mai 07, 2024
  10. Mai 06, 2024
  11. Mai 01, 2024
  12. Apr 30, 2024
  13. Apr 28, 2024
  14. Apr 26, 2024
  15. Apr 23, 2024