| Conditions | 3 |
| Paths | 4 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3.0175 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 1 | private function validateClass($class) |
|
| 40 | { |
||
| 41 | 1 | $reflectionClass = new \ReflectionClass($class); |
|
| 42 | 1 | $this->reader->getClassAnnotations($reflectionClass); |
|
| 43 | |||
| 44 | 1 | foreach ($reflectionClass->getMethods() as $reflectionMethod) { |
|
| 45 | $this->reader->getMethodAnnotations($reflectionMethod); |
||
| 46 | } |
||
| 47 | |||
| 48 | 1 | foreach ($reflectionClass->getProperties() as $reflectionProperty) { |
|
| 49 | 1 | $this->reader->getPropertyAnnotations($reflectionProperty); |
|
| 50 | } |
||
| 51 | 1 | } |
|
| 52 | } |
||
| 53 |