chore: configure PHPStan Level 6 and resolve strict-type warnings

This commit is contained in:
Enes Yakıştır
2026-05-31 23:00:56 +03:00
parent 873b4c4233
commit 1ea2579d20
8 changed files with 33 additions and 2 deletions
+1
View File
@@ -8,6 +8,7 @@ use YakNet\AccessibilityConsole\Core\WCAGStandard;
class AriaRole extends AbstractRule
{
/** @var array<int, string> */
private static array $validRoles = [
'alert', 'alertdialog', 'application', 'article', 'banner', 'button', 'cell', 'checkbox',
'columnheader', 'combobox', 'complementary', 'contentinfo', 'definition', 'dialog', 'directory',