Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public static function deleteTrack($params) { |
||
31 | |||
32 | $view = \OC\Files\Filesystem::getView(); |
||
33 | $node = $view->getFileInfo($params['path']); |
||
34 | |||
35 | #$this->logger->debug('Hook delete id: '.$node->getId(), array('app' => 'audioplayer')); |
||
36 | if ($node->getType() === FileInfo::TYPE_FILE) { |
||
37 | $app = new \OCA\audioplayer\AppInfo\Application(); |
||
38 | $container = $app->getContainer(); |
||
39 | $container->query(\OCA\audioplayer\Controller\DbController::class)->deleteFromDB($node->getId()); |
||
40 | } |
||
43 |
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