Conditions | 4 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
40 | public function load() |
||
41 | { |
||
42 | $items = []; |
||
43 | foreach ($this->take('binaries')->getItems() as $binary) { |
||
44 | if ($vcsignore = $binary->getVcsignore()) { |
||
45 | $items[$vcsignore] = 'Binaries'; |
||
46 | } |
||
47 | } |
||
48 | unset($items['git.phar']); |
||
49 | $this->setItems($items); |
||
50 | $items = $this->getFile()->load() ?: []; |
||
51 | $this->setItems($items); |
||
52 | } |
||
54 |