Skip to content
Code-Schnipsel Gruppen Projekte
  1. Mär 04, 2025
    • 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
  2. Okt 10, 2024
  3. Jun 08, 2024
  4. Apr 30, 2024
  5. Apr 28, 2024
  6. Apr 26, 2024
  7. Apr 23, 2024
  8. Apr 21, 2024
  9. Apr 16, 2024
  10. Dez 04, 2023
  11. Jul 19, 2023
  12. Jun 09, 2023
  13. Mai 23, 2023
  14. Mai 22, 2023
  15. Mai 06, 2023
  16. Mär 28, 2023
  17. Mär 27, 2023
  18. Mär 26, 2023
  19. Mär 25, 2023
  20. Mär 23, 2023
  21. Mär 17, 2023
  22. Mär 14, 2023
  23. Mär 09, 2023
  24. Mär 07, 2023
  25. Mär 03, 2023
  26. Feb 24, 2023
  27. Feb 23, 2023
  28. Feb 22, 2023
  29. Feb 21, 2023
  30. Feb 20, 2023
  31. Feb 05, 2023
Lade