Code Duplication    Length = 15-15 lines in 3 locations

src/Renderer/Text/Blacklist.php 1 location

@@ 3-17 (lines=15) @@
1
<?php
2
3
class Kint_Renderer_Text_Blacklist extends Kint_Renderer_Text_Plugin
4
{
5
    public function render($o)
6
    {
7
        $out = '';
8
9
        if ($o->depth == 0) {
10
            $out .= $this->renderer->colorTitle($this->renderer->renderTitle($o)).PHP_EOL;
11
        }
12
13
        $out .= $this->renderer->renderHeader($o).' '.$this->renderer->colorValue('BLACKLISTED').PHP_EOL;
14
15
        return $out;
16
    }
17
}
18

src/Renderer/Text/DepthLimit.php 1 location

@@ 3-17 (lines=15) @@
1
<?php
2
3
class Kint_Renderer_Text_DepthLimit extends Kint_Renderer_Text_Plugin
4
{
5
    public function render($o)
6
    {
7
        $out = '';
8
9
        if ($o->depth == 0) {
10
            $out .= $this->renderer->colorTitle($this->renderer->renderTitle($o)).PHP_EOL;
11
        }
12
13
        $out .= $this->renderer->renderHeader($o).' '.$this->renderer->colorValue('DEPTH LIMIT').PHP_EOL;
14
15
        return $out;
16
    }
17
}
18

src/Renderer/Text/Recursion.php 1 location

@@ 3-17 (lines=15) @@
1
<?php
2
3
class Kint_Renderer_Text_Recursion extends Kint_Renderer_Text_Plugin
4
{
5
    public function render($o)
6
    {
7
        $out = '';
8
9
        if ($o->depth == 0) {
10
            $out .= $this->renderer->colorTitle($this->renderer->renderTitle($o)).PHP_EOL;
11
        }
12
13
        $out .= $this->renderer->renderHeader($o).' '.$this->renderer->colorValue('RECURSION').PHP_EOL;
14
15
        return $out;
16
    }
17
}
18