Skip to content

PHPStan level 1

Update code to pass PHPStan level 1 https://phpstan.org/user-guide/rule-levels

And a bit of code cleaning

As part of a new command to scan all FreshRSS extensions (https://github.com/FreshRSS/Extensions/pull/228), this extension was the only one not passing Level 0, which is the baseline I am using (and Level 9 for the extensions on https://github.com/FreshRSS/Extensions) so here is it fixed :-)

Merge request reports