Completed
Push — master ( cc2765...340ff8 )
by Richard
08:19
created

Property   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
ccs 2
cts 2
cp 1
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A register_listeners() 0 2 1
1
<?php
2
/******************************************************************************
3
 * An implementation of dicto (scg.unibe.ch/dicto) in and for PHP.
4
 *
5
 * Copyright (c) 2016 Richard Klees <[email protected]>
6
 *
7
 * This software is licensed under The MIT License. You should have received
8
 * a copy of the license along with the code.
9
 */
10
11
namespace Lechimp\Dicto\Rules;
12
13
use Lechimp\Dicto\Definition as Def;
14
use Lechimp\Dicto\Indexer\ListenerRegistry;
15
16
/**
17
 * This is a rule that checks a property on an entity in the code. 
18
 */
19
abstract class Property extends Schema {
20
    /**
21
     * No listeners per default.
22
     *
23
     * @inheritdoc
24
     */
25 25
    public function register_listeners(ListenerRegistry $registry) {
26 25
    }
27
}
28