| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 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 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.