Conditions | 6 |
Paths | 9 |
Total Lines | 18 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function parse(&$var, Kint_Object &$o, $trigger) |
||
30 | { |
||
31 | foreach (self::$blacklist as $class) { |
||
32 | if ($var instanceof $class) { |
||
33 | return $this->blacklist($var, $o); |
||
34 | } |
||
35 | } |
||
36 | |||
37 | if ($o->depth <= 0) { |
||
38 | return; |
||
39 | } |
||
40 | |||
41 | foreach (self::$shallow_blacklist as $class) { |
||
42 | if ($var instanceof $class) { |
||
43 | return $this->blacklist($var, $o); |
||
44 | } |
||
45 | } |
||
46 | } |
||
47 | |||
74 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.