TestAspect   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A aspectAdvice() 0 3 1
1
<?php
2
3
namespace Go\Zend\Framework\Tests\Aspect;
4
5
use Go\Aop\Aspect;
6
use Go\Aop\Intercept\MethodInvocation;
7
use Go\Lang\Annotation\Around;
8
9
/**
10
 * @package Go\Zend\Framework\Tests\Aspect
11
 */
12
class TestAspect implements Aspect
13
{
14
    /**
15
     * @param MethodInvocation $invocation
16
     * @Around("execution(public Go\Zend\Framework\Tests\Advice\TestAdvice->get*(*))")
17
     */
18
    public function aspectAdvice(MethodInvocation $invocation)
0 ignored issues
show
Unused Code introduced by
The parameter $invocation is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
19
    {
20
    }
21
}