fix(phpstan): resolve 6 pre-existing type errors + 2 cs-fixer nits

- AdminAuth: drop dead password_hash() === false check (PHP 8 returns string)
- ExportController: remove redundant !== null after isset() on duration fields
- SystemController: $def['json'] is always present, drop ?? false
- TfeController: simplify always-true type guard when sorting TFE files
- validate-file-fragment: AV 5GB override condition was always true, apply unconditionally
- tests: single-quote string, sort use statements (php-cs-fixer)
This commit is contained in:
Pontoporeia
2026-09-18 16:41:26 +02:00
parent 5228196165
commit 622aac5e58
8 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
<?php
use PHPUnit\Framework\TestCase;
use League\CommonMark\CommonMarkConverter;
use League\CommonMark\Extension\HeadingPermalink\HeadingPermalinkExtension;
use PHPUnit\Framework\TestCase;
/**
* MarkdownHelperTest — TOC extraction from markdown headings.