Skip to content

Commit

Permalink
Adjust PHPStan
Browse files Browse the repository at this point in the history
`DocumentRepository::findSolrByCollections` is available in Kitodo 4.1, but this repository still uses 4.0 - this is going to be changed soon
  • Loading branch information
beatrycze-volk committed Mar 26, 2024
1 parent f42f575 commit 77e1955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:
- '#Call to an undefined method Kitodo\\Dlf\\Domain\\Repository\\[a-zA-Z]+Repository::findByIsListed\(\)\.#'
- '#Call to an undefined method Kitodo\\Dlf\\Domain\\Repository\\[a-zA-Z]+Repository::findByIsSortable\(\)\.#'
- '#Parameter \#1 \$uids of method Kitodo\\Dlf\\Domain\\Repository\\CollectionRepository::findAllByUids\(\) expects string, array\<int\> given\.#'
- '#Parameter \#1 \$collection of method Kitodo\\Dlf\\Domain\\Repository\\DocumentRepository::findSolrByCollection\(\) expects Kitodo\\Dlf\\Domain\\Model\\Collection\|TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QueryResult, TYPO3\\CMS\\Extbase\\Persistence\\QueryResultInterface given\.#'
- '#Call to an undefined method Kitodo\\Dlf\\Domain\\Repository\\DocumentRepository::findSolrByCollections\(\)\.#'
level: 5
paths:
- ../Classes/
Expand Down

0 comments on commit 77e1955

Please sign in to comment.