Commit Graph

6 Commits

Author SHA1 Message Date
Kcchouette 062548f57a refactor: replace strpos with PHP 8.x string functions
- IRCClient: strpos(..., 'PONG') !== 0 → ! str_starts_with(...)
- IGDBService: strpos(, '//') === 0 → str_starts_with(...)
- Settings: strpos(, '.') !== false → str_contains(...)
- NntmuxCheckIndex: 3x strpos → str_contains

strpos with offset (YencService, MovieService, ReleaseRemoverService)
is left untouched as it is a legitimate use case.
2026-06-13 18:12:22 +02:00
DariusIII 01a96bbc43 Declare strict types in classes 2026-02-26 14:26:07 +01:00
DariusIII f4c444c9b0 Update phpstan level to 6 2026-02-11 14:02:26 +01:00
DariusIII c5e55dd562 Fix phpstan reported errors 2026-02-10 16:16:29 +01:00
DariusIII 0c6ce9974a CS fixes 2026-01-07 14:51:28 +01:00
DariusIII d4bf291d0b Move IRC client and scraper to services 2025-12-23 13:38:51 +01:00