Failed Conditions
Pull Request — master (#321)
by Anton
23:35 queued 08:33
created

modules/dashboard/controllers/index.php (2 issues)

Labels
Severity
1
<?php
2
/**
3
 * Default dashboard module/controller
4
 *
5
 * @return   \Closure
6
 * @author   Anton Shevchuk
7
 * @created  06.07.11 18:39
8
 */
9
10
/**
11
 * @namespace
12
 */
13
14
namespace Application;
15
16
use Bluz\Controller\Controller;
0 ignored issues
show
The type Bluz\Controller\Controller was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
17
use Bluz\Proxy\Layout;
18
19
/**
20
 * @privilege Dashboard
21
 *
22
 * @return void
23
 */
24
return function () {
25
    /**
26
     * @var Controller $this
27
     */
28 1
    Layout::breadCrumbs(
29
        [
30 1
            __('Dashboard'),
0 ignored issues
show
The function __ was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

30
            /** @scrutinizer ignore-call */ 
31
            __('Dashboard'),
Loading history...
31
        ]
32
    );
33 1
    Layout::setTemplate('dashboard.phtml');
34
};
35