Completed
Push — trunk ( e8681e...314ee9 )
by SuperNova.WS
13:57
created

Entity   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 1
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 1 1
1
<?php
2
/**
3
 * Created by Gorlum 08.01.2018 14:47
4
 */
5
6
namespace Core;
7
8
/**
9
 * Class Entity
10
 *
11
 * Represents base in-game entity
12
 *
13
 * @package Core
14
 */
15
16
class Entity {
17
18
  public function __construct() {
19
    // Abstract class - just to remember
20
    // $this->_activeRecord = new ActiveRecord();
0 ignored issues
show
Unused Code Comprehensibility introduced by
47% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
21
  }
22
23
}
24