Skip to content
Snippets Groups Projects
  1. Nov 20, 2021
  2. Nov 15, 2021
  3. Nov 14, 2021
  4. Nov 12, 2021
  5. Nov 11, 2021
  6. Nov 10, 2021
  7. Nov 01, 2021
    • wn_'s avatar
      Address PHPStan warnings in 'classes/urlhelper.php'. · 9dac9c5a
      wn_ authored
      Intentionally skipping the line 66 one for now; adding an 'is_array' check clears the warning, but there's a larger topic of how to handle an invalid '' that doesn't result in an array.
      
      ------ ---------------------------------------------------------------------
      Line   classes/urlhelper.php
      ------ ---------------------------------------------------------------------
      66     Offset 'path' on array{scheme: string} in isset() does not exist.
      165    Parameter #2 $associative of function get_headers expects bool, int
              given.
      167    Parameter #2 $associative of function get_headers expects bool, int
              given.
      278    Negated boolean expression is always true.
      309    Negated boolean expression is always true.
      ------ ---------------------------------------------------------------------
      9dac9c5a
  8. Aug 23, 2021
  9. Jun 18, 2021
  10. Jun 16, 2021
  11. May 21, 2021
  12. May 07, 2021
  13. Mar 13, 2021
  14. Mar 06, 2021
    • ltGuillaume's avatar
      Fix "array offset on value of type null" for $error and $old_error · 825e362f
      ltGuillaume authored
      I tried applying to only $error and only $old_error, but both appear to be needed.
      
      Log entries:
      E_NOTICE (8) 	classes/urlhelper.php:464 	Trying to access array offset on value of type null
      1. classes/urlhelper.php(464): ttrss_error_handler(8, Trying to access array offset on value of type null, classes/urlhelper.php, 464, [)
      2. classes/rssutils.php(464): fetch([{"url":"https://some.url.rss","login":"","pass":"","timeout":15,"last_modified":"Sat, 31 Aug 2019 15:22:31 GMT"})
      3. update.php(235): update_rss_feed(732, 1)
      825e362f
  15. Mar 01, 2021
  16. Feb 28, 2021
  17. Feb 23, 2021
  18. Feb 22, 2021
  19. Feb 06, 2021
  20. Feb 05, 2021
  21. Dec 12, 2020
  22. Nov 14, 2020
  23. Sep 28, 2020
  24. Sep 22, 2020
Loading