Skip to content

chore!: move file references logic from trait to helper class #43

chore!: move file references logic from trait to helper class

chore!: move file references logic from trait to helper class #43

Triggered via pull request September 5, 2024 13:55
Status Failure
Total duration 27s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
phpstan: Classes/DataProviding/Helpers/FileReferencesHelper.php#L24
Method Sinso\Webcomponents\DataProviding\Helpers\FileReferencesHelper::loadFileReferences() should return Iterator<mixed, TYPO3\CMS\Core\Resource\FileReference> but returns array.
phpstan: Classes/DataProviding/Helpers/FileReferencesHelper.php#L26
Cannot cast mixed to int.
phpstan: Classes/DataProviding/Helpers/FileReferencesHelper.php#L26
Method Sinso\Webcomponents\DataProviding\Helpers\FileReferencesHelper::loadFileReferences() should return Iterator<mixed, TYPO3\CMS\Core\Resource\FileReference> but returns array<TYPO3\CMS\Core\Resource\FileReference>.
phpstan: Classes/DataProviding/Helpers/FileReferencesHelper.php#L35
Variable $fileReferences in empty() always exists and is not falsy.
phpstan: Classes/DataProviding/Helpers/FileReferencesHelper.php#L38
Cannot access offset 0 on Iterator<mixed, TYPO3\CMS\Core\Resource\FileReference>.
phpstan
Process completed with exit code 1.
php-cs-fixer
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
rector
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/