Completed
Push — master ( d47fd7...10fc86 )
by Igor
02:26
created

InterfaceGenerator::generate()   A

Complexity

Conditions 2
Paths 1

Size

Total Lines 14

Duplication

Lines 14
Ratio 100 %

Code Coverage

Tests 8
CRAP Score 2

Importance

Changes 0
Metric Value
dl 14
loc 14
ccs 8
cts 8
cp 1
rs 9.7998
c 0
b 0
f 0
cc 2
nc 1
nop 0
crap 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A InterfaceGenerator::generateProperties() 0 4 1
1
<?php
2
3
namespace Leaditin\Code\Generator;
4
5
/**
6
 * @package Leaditin\Code
7
 * @author Igor Vuckovic <[email protected]>
8
 * @license MIT
9
 */
10
class InterfaceGenerator extends ClassAwareGenerator
11
{
12
    /**
13
     * @inheritDoc
14
     */
15 4
    protected function getScope(): string
16
    {
17 4
        return 'interface';
18
    }
19
20
    /**
21
     * @inheritDoc
22
     */
23 4
    protected function generateProperties(): string
24
    {
25 4
        return '';
26
    }
27
}
28