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. Apr 23, 2024
  3. Apr 16, 2024
  4. Dez 04, 2023
  5. Jul 19, 2023
  6. Mai 22, 2023
  7. Mär 28, 2023
  8. Mär 26, 2023
  9. Mär 25, 2023
  10. Mär 23, 2023
  11. Mär 17, 2023
  12. Mär 03, 2023
  13. Feb 05, 2023
  14. Nov 29, 2022
  15. Nov 27, 2022
  16. Okt 18, 2022
  17. Mai 09, 2022
  18. Mai 04, 2022
  19. Apr 28, 2022
  20. Apr 26, 2022
  21. Feb 02, 2021
  22. Jul 14, 2020
  23. Jul 09, 2020
  24. Apr 01, 2020
  25. Mär 16, 2020
  26. Feb 25, 2020
  27. Feb 18, 2020
  28. Nov 21, 2019
  29. Feb 28, 2017
  30. Jan 26, 2017
  31. Dez 22, 2016
  32. Dez 21, 2016
  33. Nov 14, 2016
  34. Sep 22, 2016