Conditions | 6 |
Paths | 9 |
Total Lines | 18 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function parse(&$var, BasicObject &$o, $trigger) |
||
35 | { |
||
36 | foreach (self::$blacklist as $class) { |
||
37 | if ($var instanceof $class) { |
||
38 | return $this->blacklist($var, $o); |
||
39 | } |
||
40 | } |
||
41 | |||
42 | if ($o->depth <= 0) { |
||
43 | return; |
||
44 | } |
||
45 | |||
46 | foreach (self::$shallow_blacklist as $class) { |
||
47 | if ($var instanceof $class) { |
||
48 | return $this->blacklist($var, $o); |
||
49 | } |
||
50 | } |
||
51 | } |
||
52 | |||
70 |
This check marks property names that have not been 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 string becomes
databaseConnectionString
.