build: upgrade PHPStan to level 9 and fix strict type errors

This commit is contained in:
Enes Yakıştır
2026-06-06 09:36:46 +03:00
parent 1ea2579d20
commit 75171c6f96
14 changed files with 124 additions and 77 deletions
+3 -1
View File
@@ -9,7 +9,8 @@ class StandardRuleSet
*/
public static function all(): array
{
return [
/** @var RuleInterface[] $rules */
$rules = [
new HtmlHasLang(),
new ImgAltText(),
new EmptyLink(),
@@ -24,5 +25,6 @@ class StandardRuleSet
new AriaRole(),
new IframeTitle(),
];
return $rules;
}
}