We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function getLibraryByUidAndPid($uid, $pid) { |
||
| 19 | // Get repository name and administrative contact. |
||
| 20 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
||
| 21 | ->getQueryBuilderForTable('tx_dlf_libraries'); |
||
| 22 | |||
| 23 | $result = $queryBuilder |
||
| 24 | ->select( |
||
| 25 | 'tx_dlf_libraries.oai_label AS oai_label', |
||
| 26 | 'tx_dlf_libraries.contact AS contact' |
||
| 27 | ) |
||
| 28 | ->from('tx_dlf_libraries') |
||
| 29 | ->where( |
||
| 30 | $queryBuilder->expr()->eq('tx_dlf_libraries.pid', intval($pid)), |
||
| 31 | $queryBuilder->expr()->eq('tx_dlf_libraries.uid', intval($uid)) |
||
| 32 | ) |
||
| 33 | ->setMaxResults(1) |
||
| 34 | ->execute(); |
||
| 35 | } |
||
| 38 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths