Passed
Push — master ( 3290e5...035adb )
by Georgi
02:24
created

DashboardHomePage   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A link() 0 3 1
A caption() 0 3 1
1
<?php 
2
3
namespace Epesi\Base\Dashboard\Integration;
4
5
use Epesi\Core\HomePage\Integration\Joints\HomePageJoint;
0 ignored issues
show
Bug introduced by
The type Epesi\Core\HomePage\Inte...on\Joints\HomePageJoint 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...
6
7
class DashboardHomePage extends HomePageJoint
8
{
9
	public function caption()
10
	{
11
		return __('Dashboard');
12
	}
13
	
14
	public function link()
15
	{
16
		return 'view/dashboard';
17
	}
18
}