Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | protected function blacklist(&$var, &$o) |
||
54 | { |
||
55 | $object = $o->transplant(new InstanceObject()); |
||
56 | $object->classname = get_class($var); |
||
57 | $object->hash = spl_object_hash($var); |
||
58 | $object->clearRepresentations(); |
||
59 | $object->value = null; |
||
60 | $object->size = null; |
||
61 | $object->hints[] = 'blacklist'; |
||
62 | |||
63 | $o = $object; |
||
64 | |||
65 | $this->parser->haltParse(); |
||
66 | |||
67 | return; |
||
68 | } |
||
69 | } |
||
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
.