Completed
Branch master (cd0f1c)
by Michael
03:21
created

__TwigTemplate_de488507538fec809c29e6ee3b5350f920ba8dbe034069bea41bbe3743e02266   F

Complexity

Total Complexity 162

Size/Duplication

Total Lines 821
Duplicated Lines 21.92 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 162
c 1
b 0
f 1
lcom 0
cbo 0
dl 180
loc 821
rs 1.263

23 Methods

Rating   Name   Duplication   Size   Complexity  
B __construct() 0 26 1
A doGetParent() 0 4 1
A doDisplay() 0 7 1
A block_title() 0 6 2
A block_body_class() 0 4 1
A block_page_id() 0 4 2
B block_below_menu() 0 25 6
D block_page_content() 43 119 25
C block_class_signature() 20 66 21
C block_method_signature() 15 36 13
A block_method_parameters_signature() 0 11 3
B block_parameters() 0 35 5
A block_return() 0 17 4
B block_exceptions() 0 29 4
B block_see() 14 29 3
B block_constants() 0 35 5
C block_properties() 6 63 9
C block_methods() 28 84 12
C block_methods_details() 12 46 7
D block_method() 42 121 34
A getTemplateName() 0 4 1
A isTraitable() 0 4 1
A getDebugInfo() 0 4 1

How to fix   Duplicated Code    Complexity   

Duplicated Code

Duplicate code is one of the most pungent code smells. A rule that is often used is to re-structure code once it is duplicated in three or more places.

Common duplication problems, and corresponding solutions are:

Complex Class

 Tip:   Before tackling complexity, make sure that you eliminate any duplication first. This often can reduce the size of classes significantly.

Complex classes like __TwigTemplate_de488507538fec809c29e6ee3b5350f920ba8dbe034069bea41bbe3743e02266 often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.

Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.

While breaking up the class, it is a good idea to analyze how other classes use __TwigTemplate_de488507538fec809c29e6ee3b5350f920ba8dbe034069bea41bbe3743e02266, and based on these observations, apply Extract Interface, too.

1
<?php
2
3
/* class.twig */
4
class __TwigTemplate_de488507538fec809c29e6ee3b5350f920ba8dbe034069bea41bbe3743e02266 extends Twig_Template
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
Coding Style introduced by
This class is not in CamelCase format.

Classes in PHP are usually named in CamelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.

Thus the name database provider becomes DatabaseProvider.

Loading history...
5
{
6
    public function __construct(Twig_Environment $env)
7
    {
8
        parent::__construct($env);
9
10
        // line 1
11
        $this->parent = $this->loadTemplate("layout/layout.twig", "class.twig", 1);
12
        $this->blocks = array(
13
            'title' => array($this, 'block_title'),
14
            'body_class' => array($this, 'block_body_class'),
15
            'page_id' => array($this, 'block_page_id'),
16
            'below_menu' => array($this, 'block_below_menu'),
17
            'page_content' => array($this, 'block_page_content'),
18
            'class_signature' => array($this, 'block_class_signature'),
19
            'method_signature' => array($this, 'block_method_signature'),
20
            'method_parameters_signature' => array($this, 'block_method_parameters_signature'),
21
            'parameters' => array($this, 'block_parameters'),
22
            'return' => array($this, 'block_return'),
23
            'exceptions' => array($this, 'block_exceptions'),
24
            'see' => array($this, 'block_see'),
25
            'constants' => array($this, 'block_constants'),
26
            'properties' => array($this, 'block_properties'),
27
            'methods' => array($this, 'block_methods'),
28
            'methods_details' => array($this, 'block_methods_details'),
29
            'method' => array($this, 'block_method'),
30
        );
31
    }
32
33
    protected function doGetParent(array $context)
34
    {
35
        return "layout/layout.twig";
36
    }
37
38
    protected function doDisplay(array $context, array $blocks = array())
39
    {
40
        // line 2
41
        $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"] = $this->loadTemplate("macros.twig", "class.twig", 2);
42
        // line 1
43
        $this->parent->display($context, array_merge($this->blocks, $blocks));
44
    }
45
46
    // line 3
47
    public function block_title($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
48
    {
49
        echo (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"));
50
        echo " | ";
51
        $this->displayParentBlock("title", $context, $blocks);
52
    }
53
54
    // line 4
55
    public function block_body_class($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
56
    {
57
        echo "class";
58
    }
59
60
    // line 5
61
    public function block_page_id($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
62
    {
63
        echo twig_escape_filter($this->env, ("class:" . twig_replace_filter($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "name", array()), array("\\" => "_"))), "html", null, true);
64
    }
65
66
    // line 7
67
    public function block_below_menu($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
68
    {
69
        // line 8
70
        echo "    ";
71
        if ($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "namespace", array())) {
72
            // line 9
73
            echo "        <div class=\"namespace-breadcrumbs\">
74
            <ol class=\"breadcrumb\">
75
                <li><span class=\"label label-default\">";
76
            // line 11
77
            echo $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "categoryName", array());
78
            echo "</span></li>
79
                ";
80
            // line 12
81
            echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getbreadcrumbs($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "namespace", array()));
82
            echo "
83
                <li>";
84
            // line 13
85
            echo $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortname", array());
86
            echo "</li>
87
            </ol>
88
        </div>
89
    ";
90
        }
91
    }
92
93
    // line 19
94
    public function block_page_content($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
95
    {
96
        // line 20
97
        echo "
98
    <div class=\"page-header\">
99
        <h1>
100
            ";
101
        // line 23
102
        echo twig_last($this->env, twig_split_filter($this->env, $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "name", array()), "\\"));
103
        echo "
104
            ";
105
        // line 24
106
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getdeprecated((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
107
        echo "
108
        </h1>
109
    </div>
110
111
    <p>";
112
        // line 28
113
        $this->displayBlock("class_signature", $context, $blocks);
114
        echo "</p>
115
116
    ";
117
        // line 30
118
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getdeprecations((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
119
        echo "
120
121
    ";
122
        // line 32
123 View Code Duplication
        if (($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortdesc", array()) || $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "longdesc", array()))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
124
            // line 33
125
            echo "        <div class=\"description\">
126
            ";
127
            // line 34
128
            if ($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortdesc", array())) {
129
                // line 35
130
                echo "<p>";
131
                echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
132
                echo "</p>";
133
            }
134
            // line 37
135
            echo "            ";
136
            if ($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "longdesc", array())) {
137
                // line 38
138
                echo "<p>";
139
                echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "longdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
140
                echo "</p>";
141
            }
142
            // line 40
143
            echo "        </div>
144
    ";
145
        }
146
        // line 42
147
        echo "
148
    ";
149
        // line 43
150
        if ((isset($context["traits"]) ? $context["traits"] : $this->getContext($context, "traits"))) {
151
            // line 44
152
            echo "        <h2>Traits</h2>
153
154
        ";
155
            // line 46
156
            echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getrender_classes((isset($context["traits"]) ? $context["traits"] : $this->getContext($context, "traits")));
157
            echo "
158
    ";
159
        }
160
        // line 48
161
        echo "
162
    ";
163
        // line 49
164 View Code Duplication
        if ((isset($context["constants"]) ? $context["constants"] : $this->getContext($context, "constants"))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
165
            // line 50
166
            echo "        <h2>Constants</h2>
167
168
        ";
169
            // line 52
170
            $this->displayBlock("constants", $context, $blocks);
171
            echo "
172
    ";
173
        }
174
        // line 54
175
        echo "
176
    ";
177
        // line 55
178 View Code Duplication
        if ((isset($context["properties"]) ? $context["properties"] : $this->getContext($context, "properties"))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
179
            // line 56
180
            echo "        <h2>Properties</h2>
181
182
        ";
183
            // line 58
184
            $this->displayBlock("properties", $context, $blocks);
185
            echo "
186
    ";
187
        }
188
        // line 60
189
        echo "
190
    ";
191
        // line 61
192
        if ((isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods"))) {
193
            // line 62
194
            echo "        <h2>Methods</h2>
195
196
        ";
197
            // line 64
198
            $this->displayBlock("methods", $context, $blocks);
199
            echo "
200
201
        <h2>Details</h2>
202
203
        ";
204
            // line 68
205
            $this->displayBlock("methods_details", $context, $blocks);
206
            echo "
207
    ";
208
        }
209
        // line 70
210
        echo "
211
";
212
    }
213
214
    // line 73
215
    public function block_class_signature($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
216
    {
217
        // line 74
218 View Code Duplication
        if (( !$this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "interface", array()) && $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "abstract", array()))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
219
            echo "abstract ";
220
        }
221
        // line 75
222
        echo "    ";
223
        echo $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "categoryName", array());
224
        echo "
225
    <strong>";
226
        // line 76
227
        echo $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortname", array());
228
        echo "</strong>";
229
        // line 77
230 View Code Duplication
        if ($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "parent", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
231
            // line 78
232
            echo "        extends ";
233
            echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getclass_link($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "parent", array()));
234
        }
235
        // line 80
236
        if ((twig_length_filter($this->env, $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "interfaces", array())) > 0)) {
237
            // line 81
238
            echo "        implements
239
        ";
240
            // line 82
241
            $context['_parent'] = $context;
242
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "interfaces", array()));
243
            $context['loop'] = array(
244
              'parent' => $context['_parent'],
245
              'index0' => 0,
246
              'index'  => 1,
247
              'first'  => true,
248
            );
249 View Code Duplication
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
250
                $length = count($context['_seq']);
251
                $context['loop']['revindex0'] = $length - 1;
252
                $context['loop']['revindex'] = $length;
253
                $context['loop']['length'] = $length;
254
                $context['loop']['last'] = 1 === $length;
255
            }
256
            foreach ($context['_seq'] as $context["_key"] => $context["interface"]) {
0 ignored issues
show
Bug introduced by
The expression $context['_seq'] of type array|object<Countable> is not guaranteed to be traversable. How about adding an additional type check?

There are different options of fixing this problem.

  1. If you want to be on the safe side, you can add an additional type-check:

    $collection = json_decode($data, true);
    if ( ! is_array($collection)) {
        throw new \RuntimeException('$collection must be an array.');
    }
    
    foreach ($collection as $item) { /** ... */ }
    
  2. If you are sure that the expression is traversable, you might want to add a doc comment cast to improve IDE auto-completion and static analysis:

    /** @var array $collection */
    $collection = json_decode($data, true);
    
    foreach ($collection as $item) { /** .. */ }
    
  3. Mark the issue as a false-positive: Just hover the remove button, in the top-right corner of this issue for more options.

Loading history...
257
                // line 83
258
                echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getclass_link($context["interface"]);
259
                // line 84
260
                if ( !$this->getAttribute($context["loop"], "last", array())) {
261
                    echo ", ";
262
                }
263
                ++$context['loop']['index0'];
264
                ++$context['loop']['index'];
265
                $context['loop']['first'] = false;
266 View Code Duplication
                if (isset($context['loop']['length'])) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
267
                    --$context['loop']['revindex0'];
268
                    --$context['loop']['revindex'];
269
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
270
                }
271
            }
272
            $_parent = $context['_parent'];
273
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['interface'], $context['_parent'], $context['loop']);
274
            $context = array_intersect_key($context, $_parent) + $_parent;
275
        }
276
        // line 87
277
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getsource_link((isset($context["project"]) ? $context["project"] : $this->getContext($context, "project")), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
278
        echo "
279
";
280
    }
281
282
    // line 90
283
    public function block_method_signature($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
284
    {
285
        // line 91
286 View Code Duplication
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "final", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
287
            echo "final";
288
        }
289
        // line 92
290
        echo "    ";
291 View Code Duplication
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "abstract", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
292
            echo "abstract";
293
        }
294
        // line 93
295
        echo "    ";
296 View Code Duplication
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "static", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
297
            echo "static";
298
        }
299
        // line 94
300
        echo "    ";
301 View Code Duplication
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "protected", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
302
            echo "protected";
303
        }
304
        // line 95
305
        echo "    ";
306 View Code Duplication
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "private", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
307
            echo "private";
308
        }
309
        // line 96
310
        echo "    ";
311
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->gethint_link($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "hint", array()));
312
        echo "
313
    <strong>";
314
        // line 97
315
        echo $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "name", array());
316
        echo "</strong>";
317
        $this->displayBlock("method_parameters_signature", $context, $blocks);
318
    }
319
320
    // line 100
321
    public function block_method_parameters_signature($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
322
    {
323
        // line 101
324
        $context["__internal_e53da55c84a7bf0c66230d4a441c4e6705dcc9cf42220bdf71e3d540138e9e2d"] = $this->loadTemplate("macros.twig", "class.twig", 101);
325
        // line 102
326
        echo $context["__internal_e53da55c84a7bf0c66230d4a441c4e6705dcc9cf42220bdf71e3d540138e9e2d"]->getmethod_parameters_signature((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")));
327
        echo "
328
    ";
329
        // line 103
330
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getdeprecated((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")));
331
    }
332
333
    // line 106
334
    public function block_parameters($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
335
    {
336
        // line 107
337
        echo "    <table class=\"table table-condensed\">
338
        ";
339
        // line 108
340
        $context['_parent'] = $context;
341
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "parameters", array()));
342
        foreach ($context['_seq'] as $context["_key"] => $context["parameter"]) {
343
            // line 109
344
            echo "            <tr>
345
                <td>";
346
            // line 110
347
            if ($this->getAttribute($context["parameter"], "hint", array())) {
348
                echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->gethint_link($this->getAttribute($context["parameter"], "hint", array()));
349
            }
350
            echo "</td>
351
                <td>\$";
352
            // line 111
353
            echo $this->getAttribute($context["parameter"], "name", array());
354
            echo "</td>
355
                <td>";
356
            // line 112
357
            echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute($context["parameter"], "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
358
            echo "</td>
359
            </tr>
360
        ";
361
        }
362
        $_parent = $context['_parent'];
363
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['parameter'], $context['_parent'], $context['loop']);
364
        $context = array_intersect_key($context, $_parent) + $_parent;
0 ignored issues
show
Unused Code introduced by
$context is not used, you could remove the assignment.

This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.

$myVar = 'Value';
$higher = false;

if (rand(1, 6) > 3) {
    $higher = true;
} else {
    $higher = false;
}

Both the $myVar assignment in line 1 and the $higher assignment in line 2 are dead. The first because $myVar is never used and the second because $higher is always overwritten for every possible time line.

Loading history...
365
        // line 115
366
        echo "    </table>
367
";
368
    }
369
370
    // line 118
371
    public function block_return($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
372
    {
373
        // line 119
374
        echo "    <table class=\"table table-condensed\">
375
        <tr>
376
            <td>";
377
        // line 121
378
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->gethint_link($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "hint", array()));
379
        echo "</td>
380
            <td>";
381
        // line 122
382
        echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "hintDesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
383
        echo "</td>
384
        </tr>
385
    </table>
386
";
387
    }
388
389
    // line 127
390
    public function block_exceptions($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
391
    {
392
        // line 128
393
        echo "    <table class=\"table table-condensed\">
394
        ";
395
        // line 129
396
        $context['_parent'] = $context;
397
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "exceptions", array()));
398
        foreach ($context['_seq'] as $context["_key"] => $context["exception"]) {
399
            // line 130
400
            echo "            <tr>
401
                <td>";
402
            // line 131
403
            echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getclass_link($this->getAttribute($context["exception"], 0, array(), "array"));
404
            echo "</td>
405
                <td>";
406
            // line 132
407
            echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute($context["exception"], 1, array(), "array"), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
408
            echo "</td>
409
            </tr>
410
        ";
411
        }
412
        $_parent = $context['_parent'];
413
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['exception'], $context['_parent'], $context['loop']);
414
        $context = array_intersect_key($context, $_parent) + $_parent;
0 ignored issues
show
Unused Code introduced by
$context is not used, you could remove the assignment.

This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.

$myVar = 'Value';
$higher = false;

if (rand(1, 6) > 3) {
    $higher = true;
} else {
    $higher = false;
}

Both the $myVar assignment in line 1 and the $higher assignment in line 2 are dead. The first because $myVar is never used and the second because $higher is always overwritten for every possible time line.

Loading history...
415
        // line 135
416
        echo "    </table>
417
";
418
    }
419
420
    // line 138
421
    public function block_see($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
422
    {
423
        // line 139
424
        echo "    <table class=\"table table-condensed\">
425
        ";
426
        // line 140
427
        $context['_parent'] = $context;
428
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "tags", array(0 => "see"), "method"));
429 View Code Duplication
        foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
430
            // line 141
431
            echo "            <tr>
432
                <td>";
433
            // line 142
434
            echo $this->getAttribute($context["tag"], 0, array(), "array");
435
            echo "</td>
436
                <td>";
437
            // line 143
438
            echo twig_join_filter(twig_slice($this->env, $context["tag"], 1, null), " ");
439
            echo "</td>
440
            </tr>
441
        ";
442
        }
443
        $_parent = $context['_parent'];
444
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
445
        $context = array_intersect_key($context, $_parent) + $_parent;
0 ignored issues
show
Unused Code introduced by
$context is not used, you could remove the assignment.

This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.

$myVar = 'Value';
$higher = false;

if (rand(1, 6) > 3) {
    $higher = true;
} else {
    $higher = false;
}

Both the $myVar assignment in line 1 and the $higher assignment in line 2 are dead. The first because $myVar is never used and the second because $higher is always overwritten for every possible time line.

Loading history...
446
        // line 146
447
        echo "    </table>
448
";
449
    }
450
451
    // line 149
452
    public function block_constants($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
453
    {
454
        // line 150
455
        echo "    <table class=\"table table-condensed\">
456
        ";
457
        // line 151
458
        $context['_parent'] = $context;
459
        $context['_seq'] = twig_ensure_traversable((isset($context["constants"]) ? $context["constants"] : $this->getContext($context, "constants")));
460
        foreach ($context['_seq'] as $context["_key"] => $context["constant"]) {
461
            // line 152
462
            echo "            <tr>
463
                <td>";
464
            // line 153
465
            echo $this->getAttribute($context["constant"], "name", array());
466
            echo "</td>
467
                <td class=\"last\">
468
                    <p><em>";
469
            // line 155
470
            echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute($context["constant"], "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
471
            echo "</em></p>
472
                    <p>";
473
            // line 156
474
            echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute($context["constant"], "longdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
475
            echo "</p>
476
                </td>
477
            </tr>
478
        ";
479
        }
480
        $_parent = $context['_parent'];
481
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['constant'], $context['_parent'], $context['loop']);
482
        $context = array_intersect_key($context, $_parent) + $_parent;
0 ignored issues
show
Unused Code introduced by
$context is not used, you could remove the assignment.

This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.

$myVar = 'Value';
$higher = false;

if (rand(1, 6) > 3) {
    $higher = true;
} else {
    $higher = false;
}

Both the $myVar assignment in line 1 and the $higher assignment in line 2 are dead. The first because $myVar is never used and the second because $higher is always overwritten for every possible time line.

Loading history...
483
        // line 160
484
        echo "    </table>
485
";
486
    }
487
488
    // line 163
489
    public function block_properties($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
490
    {
491
        // line 164
492
        echo "    <table class=\"table table-condensed\">
493
        ";
494
        // line 165
495
        $context['_parent'] = $context;
496
        $context['_seq'] = twig_ensure_traversable((isset($context["properties"]) ? $context["properties"] : $this->getContext($context, "properties")));
497
        foreach ($context['_seq'] as $context["_key"] => $context["property"]) {
498
            // line 166
499
            echo "            <tr>
500
                <td class=\"type\" id=\"property_";
501
            // line 167
502
            echo $this->getAttribute($context["property"], "name", array());
503
            echo "\">
504
                    ";
505
            // line 168
506
            if ($this->getAttribute($context["property"], "static", array())) {
507
                echo "static";
508
            }
509
            // line 169
510
            echo "                    ";
511
            if ($this->getAttribute($context["property"], "protected", array())) {
512
                echo "protected";
513
            }
514
            // line 170
515
            echo "                    ";
516
            if ($this->getAttribute($context["property"], "private", array())) {
517
                echo "private";
518
            }
519
            // line 171
520
            echo "                    ";
521
            echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->gethint_link($this->getAttribute($context["property"], "hint", array()));
522
            echo "
523
                </td>
524
                <td>\$";
525
            // line 173
526
            echo $this->getAttribute($context["property"], "name", array());
527
            echo "</td>
528
                <td class=\"last\">";
529
            // line 174
530
            echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute($context["property"], "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
531
            echo "</td>
532
                <td>";
533
            // line 176
534 View Code Duplication
            if ( !($this->getAttribute($context["property"], "class", array()) === (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
535
                // line 177
536
                echo "<small>from&nbsp;";
537
                echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getproperty_link($context["property"], false, true);
538
                echo "</small>";
539
            }
540
            // line 179
541
            echo "</td>
542
            </tr>
543
        ";
544
        }
545
        $_parent = $context['_parent'];
546
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['property'], $context['_parent'], $context['loop']);
547
        $context = array_intersect_key($context, $_parent) + $_parent;
0 ignored issues
show
Unused Code introduced by
$context is not used, you could remove the assignment.

This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.

$myVar = 'Value';
$higher = false;

if (rand(1, 6) > 3) {
    $higher = true;
} else {
    $higher = false;
}

Both the $myVar assignment in line 1 and the $higher assignment in line 2 are dead. The first because $myVar is never used and the second because $higher is always overwritten for every possible time line.

Loading history...
548
        // line 182
549
        echo "    </table>
550
";
551
    }
552
553
    // line 185
554
    public function block_methods($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
555
    {
556
        // line 186
557
        echo "    <div class=\"container-fluid underlined\">
558
        ";
559
        // line 187
560
        $context['_parent'] = $context;
561
        $context['_seq'] = twig_ensure_traversable((isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")));
562
        $context['loop'] = array(
563
          'parent' => $context['_parent'],
564
          'index0' => 0,
565
          'index'  => 1,
566
          'first'  => true,
567
        );
568 View Code Duplication
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
569
            $length = count($context['_seq']);
570
            $context['loop']['revindex0'] = $length - 1;
571
            $context['loop']['revindex'] = $length;
572
            $context['loop']['length'] = $length;
573
            $context['loop']['last'] = 1 === $length;
574
        }
575
        foreach ($context['_seq'] as $context["_key"] => $context["method"]) {
0 ignored issues
show
Bug introduced by
The expression $context['_seq'] of type array|object<Countable> is not guaranteed to be traversable. How about adding an additional type check?

There are different options of fixing this problem.

  1. If you want to be on the safe side, you can add an additional type-check:

    $collection = json_decode($data, true);
    if ( ! is_array($collection)) {
        throw new \RuntimeException('$collection must be an array.');
    }
    
    foreach ($collection as $item) { /** ... */ }
    
  2. If you are sure that the expression is traversable, you might want to add a doc comment cast to improve IDE auto-completion and static analysis:

    /** @var array $collection */
    $collection = json_decode($data, true);
    
    foreach ($collection as $item) { /** .. */ }
    
  3. Mark the issue as a false-positive: Just hover the remove button, in the top-right corner of this issue for more options.

Loading history...
576
            // line 188
577
            echo "            <div class=\"row\">
578
                <div class=\"col-md-2 type\">
579
                    ";
580
            // line 190
581
            if ($this->getAttribute($context["method"], "static", array())) {
582
                echo "static&nbsp;";
583
            }
584
            echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->gethint_link($this->getAttribute($context["method"], "hint", array()));
585
            echo "
586
                </div>
587
                <div class=\"col-md-8 type\">
588
                    <a href=\"#method_";
589
            // line 193
590
            echo $this->getAttribute($context["method"], "name", array());
591
            echo "\">";
592
            echo $this->getAttribute($context["method"], "name", array());
593
            echo "</a>";
594
            $this->displayBlock("method_parameters_signature", $context, $blocks);
595
            echo "
596
                    ";
597
            // line 194
598 View Code Duplication
            if ( !$this->getAttribute($context["method"], "shortdesc", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
599
                // line 195
600
                echo "                        <p class=\"no-description\">No description</p>
601
                    ";
602
            } else {
603
                // line 197
604
                echo "                        <p>";
605
                echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute($context["method"], "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
606
                echo "</p>";
607
            }
608
            // line 199
609
            echo "                </div>
610
                <div class=\"col-md-2\">";
611
            // line 201
612 View Code Duplication
            if ( !($this->getAttribute($context["method"], "class", array()) === (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
613
                // line 202
614
                echo "<small>from&nbsp;";
615
                echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getmethod_link($context["method"], false, true);
616
                echo "</small>";
617
            }
618
            // line 204
619
            echo "</div>
620
            </div>
621
        ";
622
            ++$context['loop']['index0'];
623
            ++$context['loop']['index'];
624
            $context['loop']['first'] = false;
625 View Code Duplication
            if (isset($context['loop']['length'])) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
626
                --$context['loop']['revindex0'];
627
                --$context['loop']['revindex'];
628
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
629
            }
630
        }
631
        $_parent = $context['_parent'];
632
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['method'], $context['_parent'], $context['loop']);
633
        $context = array_intersect_key($context, $_parent) + $_parent;
0 ignored issues
show
Unused Code introduced by
$context is not used, you could remove the assignment.

This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.

$myVar = 'Value';
$higher = false;

if (rand(1, 6) > 3) {
    $higher = true;
} else {
    $higher = false;
}

Both the $myVar assignment in line 1 and the $higher assignment in line 2 are dead. The first because $myVar is never used and the second because $higher is always overwritten for every possible time line.

Loading history...
634
        // line 207
635
        echo "    </div>
636
";
637
    }
638
639
    // line 210
640
    public function block_methods_details($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
641
    {
642
        // line 211
643
        echo "    <div id=\"method-details\">
644
        ";
645
        // line 212
646
        $context['_parent'] = $context;
647
        $context['_seq'] = twig_ensure_traversable((isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")));
648
        $context['loop'] = array(
649
          'parent' => $context['_parent'],
650
          'index0' => 0,
651
          'index'  => 1,
652
          'first'  => true,
653
        );
654 View Code Duplication
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
655
            $length = count($context['_seq']);
656
            $context['loop']['revindex0'] = $length - 1;
657
            $context['loop']['revindex'] = $length;
658
            $context['loop']['length'] = $length;
659
            $context['loop']['last'] = 1 === $length;
660
        }
661
        foreach ($context['_seq'] as $context["_key"] => $context["method"]) {
0 ignored issues
show
Bug introduced by
The expression $context['_seq'] of type array|object<Countable> is not guaranteed to be traversable. How about adding an additional type check?

There are different options of fixing this problem.

  1. If you want to be on the safe side, you can add an additional type-check:

    $collection = json_decode($data, true);
    if ( ! is_array($collection)) {
        throw new \RuntimeException('$collection must be an array.');
    }
    
    foreach ($collection as $item) { /** ... */ }
    
  2. If you are sure that the expression is traversable, you might want to add a doc comment cast to improve IDE auto-completion and static analysis:

    /** @var array $collection */
    $collection = json_decode($data, true);
    
    foreach ($collection as $item) { /** .. */ }
    
  3. Mark the issue as a false-positive: Just hover the remove button, in the top-right corner of this issue for more options.

Loading history...
662
            // line 213
663
            echo "            <div class=\"method-item\">
664
                ";
665
            // line 214
666
            $this->displayBlock("method", $context, $blocks);
667
            echo "
668
            </div>
669
        ";
670
            ++$context['loop']['index0'];
671
            ++$context['loop']['index'];
672
            $context['loop']['first'] = false;
673 View Code Duplication
            if (isset($context['loop']['length'])) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
674
                --$context['loop']['revindex0'];
675
                --$context['loop']['revindex'];
676
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
677
            }
678
        }
679
        $_parent = $context['_parent'];
680
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['method'], $context['_parent'], $context['loop']);
681
        $context = array_intersect_key($context, $_parent) + $_parent;
0 ignored issues
show
Unused Code introduced by
$context is not used, you could remove the assignment.

This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.

$myVar = 'Value';
$higher = false;

if (rand(1, 6) > 3) {
    $higher = true;
} else {
    $higher = false;
}

Both the $myVar assignment in line 1 and the $higher assignment in line 2 are dead. The first because $myVar is never used and the second because $higher is always overwritten for every possible time line.

Loading history...
682
        // line 217
683
        echo "    </div>
684
";
685
    }
686
687
    // line 220
688
    public function block_method($context, array $blocks = array())
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
689
    {
690
        // line 221
691
        echo "    <h3 id=\"method_";
692
        echo $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "name", array());
693
        echo "\">
694
        <div class=\"location\">";
695
        // line 222
696
        if ( !($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "class", array()) === (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")))) {
697
            echo "in ";
698
            echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getmethod_link((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), false, true);
699
            echo " ";
700
        }
701
        echo "at line ";
702
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getmethod_source_link((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")));
703
        echo "</div>
704
        <code>";
705
        // line 223
706
        $this->displayBlock("method_signature", $context, $blocks);
707
        echo "</code>
708
    </h3>
709
    <div class=\"details\">
710
        ";
711
        // line 226
712
        echo $context["__internal_21474d8e13cfe6a3a0369d0a6e8352e7a7cfb873a2bbc6a59c929e7c5e02cfdc"]->getdeprecations((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")));
713
        echo "
714
715
        ";
716
        // line 228
717
        if (($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "shortdesc", array()) || $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "longdesc", array()))) {
718
            // line 229
719
            echo "            <div class=\"method-description\">
720
                ";
721
            // line 230
722 View Code Duplication
            if (( !$this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "shortdesc", array()) &&  !$this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "longdesc", array()))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
723
                // line 231
724
                echo "                    <p class=\"no-description\">No description</p>
725
                ";
726
            } else {
727
                // line 233
728
                echo "                    ";
729
                if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "shortdesc", array())) {
730
                    // line 234
731
                    echo "<p>";
732
                    echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
733
                    echo "</p>";
734
                }
735
                // line 236
736
                echo "                    ";
737
                if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "longdesc", array())) {
738
                    // line 237
739
                    echo "<p>";
740
                    echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "longdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
741
                    echo "</p>";
742
                }
743
            }
744
            // line 240
745
            echo "            </div>
746
        ";
747
        }
748
        // line 242
749
        echo "        <div class=\"tags\">
750
            ";
751
        // line 243
752 View Code Duplication
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "parameters", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
753
            // line 244
754
            echo "                <h4>Parameters</h4>
755
756
                ";
757
            // line 246
758
            $this->displayBlock("parameters", $context, $blocks);
759
            echo "
760
            ";
761
        }
762
        // line 248
763
        echo "
764
            ";
765
        // line 249
766
        if (($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "hintDesc", array()) || $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "hint", array()))) {
767
            // line 250
768
            echo "                <h4>Return Value</h4>
769
770
                ";
771
            // line 252
772
            $this->displayBlock("return", $context, $blocks);
773
            echo "
774
            ";
775
        }
776
        // line 254
777
        echo "
778
            ";
779
        // line 255
780 View Code Duplication
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "exceptions", array())) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
781
            // line 256
782
            echo "                <h4>Exceptions</h4>
783
784
                ";
785
            // line 258
786
            $this->displayBlock("exceptions", $context, $blocks);
787
            echo "
788
            ";
789
        }
790
        // line 260
791
        echo "
792
            ";
793
        // line 261
794
        if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "tags", array(0 => "see"), "method")) {
795
            // line 262
796
            echo "                <h4>See also</h4>
797
798
                ";
799
            // line 264
800
            $this->displayBlock("see", $context, $blocks);
801
            echo "
802
            ";
803
        }
804
        // line 266
805
        echo "        </div>
806
    </div>
807
";
808
    }
809
810
    public function getTemplateName()
811
    {
812
        return "class.twig";
813
    }
814
815
    public function isTraitable()
816
    {
817
        return false;
818
    }
819
820
    public function getDebugInfo()
821
    {
822
        return array (  805 => 266,  800 => 264,  796 => 262,  794 => 261,  791 => 260,  786 => 258,  782 => 256,  780 => 255,  777 => 254,  772 => 252,  768 => 250,  766 => 249,  763 => 248,  758 => 246,  754 => 244,  752 => 243,  749 => 242,  745 => 240,  739 => 237,  736 => 236,  731 => 234,  728 => 233,  724 => 231,  722 => 230,  719 => 229,  717 => 228,  712 => 226,  706 => 223,  696 => 222,  691 => 221,  688 => 220,  683 => 217,  666 => 214,  663 => 213,  646 => 212,  643 => 211,  640 => 210,  635 => 207,  619 => 204,  614 => 202,  612 => 201,  609 => 199,  604 => 197,  600 => 195,  598 => 194,  590 => 193,  581 => 190,  577 => 188,  560 => 187,  557 => 186,  554 => 185,  549 => 182,  541 => 179,  536 => 177,  534 => 176,  530 => 174,  526 => 173,  520 => 171,  515 => 170,  510 => 169,  506 => 168,  502 => 167,  499 => 166,  495 => 165,  492 => 164,  489 => 163,  484 => 160,  474 => 156,  470 => 155,  465 => 153,  462 => 152,  458 => 151,  455 => 150,  452 => 149,  447 => 146,  438 => 143,  434 => 142,  431 => 141,  427 => 140,  424 => 139,  421 => 138,  416 => 135,  407 => 132,  403 => 131,  400 => 130,  396 => 129,  393 => 128,  390 => 127,  382 => 122,  378 => 121,  374 => 119,  371 => 118,  366 => 115,  357 => 112,  353 => 111,  347 => 110,  344 => 109,  340 => 108,  337 => 107,  334 => 106,  330 => 103,  326 => 102,  324 => 101,  321 => 100,  315 => 97,  310 => 96,  305 => 95,  300 => 94,  295 => 93,  290 => 92,  286 => 91,  283 => 90,  277 => 87,  260 => 84,  258 => 83,  241 => 82,  238 => 81,  236 => 80,  232 => 78,  230 => 77,  227 => 76,  222 => 75,  218 => 74,  215 => 73,  210 => 70,  205 => 68,  198 => 64,  194 => 62,  192 => 61,  189 => 60,  184 => 58,  180 => 56,  178 => 55,  175 => 54,  170 => 52,  166 => 50,  164 => 49,  161 => 48,  156 => 46,  152 => 44,  150 => 43,  147 => 42,  143 => 40,  138 => 38,  135 => 37,  130 => 35,  128 => 34,  125 => 33,  123 => 32,  118 => 30,  113 => 28,  106 => 24,  102 => 23,  97 => 20,  94 => 19,  85 => 13,  81 => 12,  77 => 11,  73 => 9,  70 => 8,  67 => 7,  61 => 5,  55 => 4,  47 => 3,  43 => 1,  41 => 2,  11 => 1,);
823
    }
824
}
825
/* {% extends "layout/layout.twig" %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
826
/* {% from "macros.twig" import render_classes, breadcrumbs, namespace_link, class_link, property_link, method_link, hint_link, source_link, method_source_link, deprecated, deprecations %}*/
827
/* {% block title %}{{ class|raw }} | {{ parent() }}{% endblock %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
48% 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...
828
/* {% block body_class 'class' %}*/
829
/* {% block page_id 'class:' ~ (class.name|replace({'\\': '_'})) %}*/
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...
830
/* */
831
/* {% block below_menu %}*/
832
/*     {% if class.namespace %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
42% 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...
833
/*         <div class="namespace-breadcrumbs">*/
834
/*             <ol class="breadcrumb">*/
835
/*                 <li><span class="label label-default">{{ class.categoryName|raw }}</span></li>*/
836
/*                 {{ breadcrumbs(class.namespace) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
62% 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...
837
/*                 <li>{{ class.shortname|raw }}</li>*/
838
/*             </ol>*/
839
/*         </div>*/
840
/*     {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
841
/* {% endblock %}*/
842
/* */
843
/* {% block page_content %}*/
844
/* */
845
/*     <div class="page-header">*/
846
/*         <h1>*/
847
/*             {{ class.name|split('\\')|last|raw }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
58% 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...
848
/*             {{ deprecated(class) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
849
/*         </h1>*/
850
/*     </div>*/
851
/* */
852
/*     <p>{{ block('class_signature') }}</p>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
39% 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...
853
/* */
854
/*     {{ deprecations(class) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
855
/* */
856
/*     {% if class.shortdesc or class.longdesc %}*/
857
/*         <div class="description">*/
858
/*             {% if class.shortdesc -%}*/
859
/*                 <p>{{ class.shortdesc|desc(class) }}</p>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
41% 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...
860
/*             {%- endif %}*/
861
/*             {% if class.longdesc -%}*/
862
/*                 <p>{{ class.longdesc|desc(class) }}</p>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
41% 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...
863
/*             {%- endif %}*/
864
/*         </div>*/
865
/*     {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
866
/* */
867
/*     {% if traits %}*/
868
/*         <h2>Traits</h2>*/
869
/* */
870
/*         {{ render_classes(traits) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
55% 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...
871
/*     {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
872
/* */
873
/*     {% if constants %}*/
874
/*         <h2>Constants</h2>*/
875
/* */
876
/*         {{ block('constants') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
877
/*     {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
878
/* */
879
/*     {% if properties %}*/
880
/*         <h2>Properties</h2>*/
881
/* */
882
/*         {{ block('properties') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
883
/*     {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
884
/* */
885
/*     {% if methods %}*/
886
/*         <h2>Methods</h2>*/
887
/* */
888
/*         {{ block('methods') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
889
/* */
890
/*         <h2>Details</h2>*/
891
/* */
892
/*         {{ block('methods_details') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
893
/*     {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
894
/* */
895
/* {% endblock %}*/
896
/* */
897
/* {% block class_signature -%}*/
898
/*     {% if not class.interface and class.abstract %}abstract {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
42% 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...
899
/*     {{ class.categoryName|raw }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
50% 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...
900
/*     <strong>{{ class.shortname|raw }}</strong>*/
901
/*     {%- if class.parent %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
39% 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...
902
/*         extends {{ class_link(class.parent) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
60% 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...
903
/*     {%- endif %}*/
904
/*     {%- if class.interfaces|length > 0 %}*/
905
/*         implements*/
906
/*         {% for interface in class.interfaces %}*/
907
/*             {{- class_link(interface) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
59% 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...
908
/*             {%- if not loop.last %}, {% endif %}*/
909
/*         {%- endfor %}*/
910
/*     {%- endif %}*/
911
/*     {{- source_link(project, class) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
54% 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...
912
/* {% endblock %}*/
913
/* */
914
/* {% block method_signature -%}*/
915
/*     {% if method.final %}final{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
916
/*     {% if method.abstract %}abstract{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
917
/*     {% if method.static %}static{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
918
/*     {% if method.protected %}protected{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
919
/*     {% if method.private %}private{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
920
/*     {{ hint_link(method.hint) }}*/
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...
921
/*     <strong>{{ method.name|raw }}</strong>{{ block('method_parameters_signature') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
42% 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...
922
/* {%- endblock %}*/
923
/* */
924
/* {% block method_parameters_signature -%}*/
925
/*     {%- from "macros.twig" import method_parameters_signature -%}*/
926
/*     {{ method_parameters_signature(method) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
55% 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...
927
/*     {{ deprecated(method) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
55% 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...
928
/* {%- endblock %}*/
929
/* */
930
/* {% block parameters %}*/
931
/*     <table class="table table-condensed">*/
932
/*         {% for parameter in method.parameters %}*/
933
/*             <tr>*/
934
/*                 <td>{% if parameter.hint %}{{ hint_link(parameter.hint) }}{% endif %}</td>*/
935
/*                 <td>${{ parameter.name|raw }}</td>*/
936
/*                 <td>{{ parameter.shortdesc|desc(class) }}</td>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
37% 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...
937
/*             </tr>*/
938
/*         {% endfor %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
939
/*     </table>*/
940
/* {% endblock %}*/
941
/* */
942
/* {% block return %}*/
943
/*     <table class="table table-condensed">*/
944
/*         <tr>*/
945
/*             <td>{{ hint_link(method.hint) }}</td>*/
946
/*             <td>{{ method.hintDesc|desc(class) }}</td>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
37% 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...
947
/*         </tr>*/
948
/*     </table>*/
949
/* {% endblock %}*/
950
/* */
951
/* {% block exceptions %}*/
952
/*     <table class="table table-condensed">*/
953
/*         {% for exception in method.exceptions %}*/
954
/*             <tr>*/
955
/*                 <td>{{ class_link(exception[0]) }}</td>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
43% 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...
956
/*                 <td>{{ exception[1]|desc(class) }}</td>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
48% 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...
957
/*             </tr>*/
958
/*         {% endfor %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
959
/*     </table>*/
960
/* {% endblock %}*/
961
/* */
962
/* {% block see %}*/
963
/*     <table class="table table-condensed">*/
964
/*         {% for tag in method.tags('see') %}*/
965
/*             <tr>*/
966
/*                 <td>{{ tag[0]|raw }}</td>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
967
/*                 <td>{{ tag[1:]|join(' ')|raw }}</td>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
50% 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...
968
/*             </tr>*/
969
/*         {% endfor %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
970
/*     </table>*/
971
/* {% endblock %}*/
972
/* */
973
/* {% block constants %}*/
974
/*     <table class="table table-condensed">*/
975
/*         {% for constant in constants %}*/
976
/*             <tr>*/
977
/*                 <td>{{ constant.name|raw }}</td>*/
978
/*                 <td class="last">*/
979
/*                     <p><em>{{ constant.shortdesc|desc(class) }}</em></p>*/
980
/*                     <p>{{ constant.longdesc|desc(class) }}</p>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
37% 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...
981
/*                 </td>*/
982
/*             </tr>*/
983
/*         {% endfor %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
984
/*     </table>*/
985
/* {% endblock %}*/
986
/* */
987
/* {% block properties %}*/
988
/*     <table class="table table-condensed">*/
989
/*         {% for property in properties %}*/
990
/*             <tr>*/
991
/*                 <td class="type" id="property_{{ property.name|raw }}">*/
992
/*                     {% if property.static %}static{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
993
/*                     {% if property.protected %}protected{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
994
/*                     {% if property.private %}private{% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
995
/*                     {{ hint_link(property.hint) }}*/
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...
996
/*                 </td>*/
997
/*                 <td>${{ property.name|raw }}</td>*/
998
/*                 <td class="last">{{ property.shortdesc|desc(class) }}</td>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
39% 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...
999
/*                 <td>*/
1000
/*                     {%- if property.class is not same as(class) -%}*/
1001
/*                         <small>from&nbsp;{{ property_link(property, false, true) }}</small>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
43% 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...
1002
/*                     {%- endif -%}*/
1003
/*                 </td>*/
1004
/*             </tr>*/
1005
/*         {% endfor %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1006
/*     </table>*/
1007
/* {% endblock %}*/
1008
/* */
1009
/* {% block methods %}*/
1010
/*     <div class="container-fluid underlined">*/
1011
/*         {% for method in methods %}*/
1012
/*             <div class="row">*/
1013
/*                 <div class="col-md-2 type">*/
1014
/*                     {% if method.static %}static&nbsp;{% endif %}{{ hint_link(method.hint) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
46% 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...
1015
/*                 </div>*/
1016
/*                 <div class="col-md-8 type">*/
1017
/*                     <a href="#method_{{ method.name|raw }}">{{ method.name|raw }}</a>{{ block('method_parameters_signature') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
1018
/*                     {% if not method.shortdesc %}*/
1019
/*                         <p class="no-description">No description</p>*/
1020
/*                     {% else %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1021
/*                         <p>{{ method.shortdesc|desc(class) }}</p>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
37% 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...
1022
/*                     {%- endif %}*/
1023
/*                 </div>*/
1024
/*                 <div class="col-md-2">*/
1025
/*                     {%- if method.class is not same as(class) -%}*/
1026
/*                         <small>from&nbsp;{{ method_link(method, false, true) }}</small>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
43% 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...
1027
/*                     {%- endif -%}*/
1028
/*                 </div>*/
1029
/*             </div>*/
1030
/*         {% endfor %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1031
/*     </div>*/
1032
/* {% endblock %}*/
1033
/* */
1034
/* {% block methods_details %}*/
1035
/*     <div id="method-details">*/
1036
/*         {% for method in methods %}*/
1037
/*             <div class="method-item">*/
1038
/*                 {{ block('method') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
1039
/*             </div>*/
1040
/*         {% endfor %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1041
/*     </div>*/
1042
/* {% endblock %}*/
1043
/* */
1044
/* {% block method %}*/
1045
/*     <h3 id="method_{{ method.name|raw }}">*/
1046
/*         <div class="location">{% if method.class is not same as(class) %}in {{ method_link(method, false, true) }} {% endif %}at line {{ method_source_link(method) }}</div>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
1047
/*         <code>{{ block('method_signature') }}</code>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
39% 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...
1048
/*     </h3>*/
1049
/*     <div class="details">*/
1050
/*         {{ deprecations(method) }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
55% 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...
1051
/* */
1052
/*         {% if method.shortdesc or method.longdesc %}*/
1053
/*             <div class="method-description">*/
1054
/*                 {% if not method.shortdesc and not method.longdesc %}*/
1055
/*                     <p class="no-description">No description</p>*/
1056
/*                 {% else %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1057
/*                     {% if method.shortdesc -%}*/
1058
/*                     <p>{{ method.shortdesc|desc(class) }}</p>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
37% 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...
1059
/*                     {%- endif %}*/
1060
/*                     {% if method.longdesc -%}*/
1061
/*                     <p>{{ method.longdesc|desc(class) }}</p>*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
37% 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...
1062
/*                     {%- endif %}*/
1063
/*                 {%- endif %}*/
1064
/*             </div>*/
1065
/*         {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1066
/*         <div class="tags">*/
1067
/*             {% if method.parameters %}*/
1068
/*                 <h4>Parameters</h4>*/
1069
/* */
1070
/*                 {{ block('parameters') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
1071
/*             {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1072
/* */
1073
/*             {% if method.hintDesc or method.hint %}*/
1074
/*                 <h4>Return Value</h4>*/
1075
/* */
1076
/*                 {{ block('return') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
1077
/*             {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1078
/* */
1079
/*             {% if method.exceptions %}*/
1080
/*                 <h4>Exceptions</h4>*/
1081
/* */
1082
/*                 {{ block('exceptions') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
1083
/*             {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1084
/* */
1085
/*             {% if method.tags('see') %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
40% 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...
1086
/*                 <h4>See also</h4>*/
1087
/* */
1088
/*                 {{ block('see') }}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% 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...
1089
/*             {% endif %}*/
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
1090
/*         </div>*/
1091
/*     </div>*/
1092
/* {% endblock %}*/
1093
/* */
1094