Passed
Push — master ( 7a981c...2773c2 )
by stéphane
04:34
created

NodeList::__debugInfo()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Dallgoot\Yaml;
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
4
use Dallgoot\Yaml as Y;
5
6
/**
0 ignored issues
show
Coding Style introduced by
Doc comment is empty
Loading history...
7
 *
8
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
9
class NodeList extends \SplDoublyLinkedList
10
{
11
    public function __construct()
0 ignored issues
show
Coding Style introduced by
Missing function doc comment
Loading history...
12
    {
13
        //do nothing
14
    }
15
16
    public function __debugInfo():array
0 ignored issues
show
Coding Style introduced by
Missing function doc comment
Loading history...
17
    {
18
        return ['type' => Y::getName($this->type) , "dllist" => $this->dllist];
0 ignored issues
show
Bug Best Practice introduced by
The property type does not exist on Dallgoot\Yaml\NodeList. Did you maybe forget to declare it?
Loading history...
Bug Best Practice introduced by
The property dllist does not exist on Dallgoot\Yaml\NodeList. Did you maybe forget to declare it?
Loading history...
19
    }
20
}