这是indexloc提供的服务,不要输入任何密码
Skip to content

FileList: fix property type annotation #670

FileList: fix property type annotation

FileList: fix property type annotation #670

Triggered via push August 9, 2025 23:42
Status Failure
Total duration 6m 59s
Artifacts

cs.yml

on: push
Basic CS and QA checks
43s
Basic CS and QA checks
XML Code style
58s
XML Code style
phpstan  /  PHPStan
17s
phpstan / PHPStan
Lint Markdown  /  Lint Markdown
5s
Lint Markdown / Lint Markdown
QA Markdown  /  QA Markdown
55s
QA Markdown / QA Markdown
Lint Yaml  /  Lint Yaml
6s
Lint Yaml / Lint Yaml
Lint Yaml  /  Check GHA workflows
4s
Lint Yaml / Check GHA workflows
Fit to window
Zoom out
Zoom in

Annotations

5 errors
phpstan / PHPStan
Process completed with exit code 1.
phpstan / PHPStan: Scripts/FileList.php#L92
Method PHPCSDevTools\Scripts\FileList::getIterator() should return RegexIterator<mixed, mixed, Traversable<mixed, mixed>> but returns RegexIterator<mixed, mixed, Traversable<PHPCSDevTools\Scripts\TKey, PHPCSDevTools\Scripts\TValue>>.
phpstan / PHPStan: Scripts/FileList.php#L82
Property PHPCSDevTools\Scripts\FileList::$fileIterator (RegexIterator<mixed, mixed, Traversable<PHPCSDevTools\Scripts\TKey, PHPCSDevTools\Scripts\TValue>>) does not accept RegexIterator<mixed, mixed, Traversable<TKey, TValue>>.
phpstan / PHPStan: Scripts/FileList.php#L52
Property PHPCSDevTools\Scripts\FileList::$fileIterator has unknown class PHPCSDevTools\Scripts\TValue as its type.
phpstan / PHPStan: Scripts/FileList.php#L52
Property PHPCSDevTools\Scripts\FileList::$fileIterator has unknown class PHPCSDevTools\Scripts\TKey as its type.