bluzphp /
skeleton
| 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
|
|||||||
| 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
Loading history...
|
|||||||
| 31 | ] |
||||||
| 32 | ); |
||||||
| 33 | 1 | Layout::setTemplate('dashboard.phtml'); |
|||||
| 34 | }; |
||||||
| 35 |
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