| 1 | <?php |
||
| 8 | class BlacklistPlugin extends Plugin |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * List of classes and interfaces to blacklist. |
||
| 12 | * |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | public static $blacklist = array(); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * List of classes and interfaces to blacklist except when dumped directly. |
||
| 19 | * |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | public static $shallow_blacklist = array(); |
||
|
|
|||
| 23 | |||
| 24 | public function getTypes() |
||
| 28 | |||
| 29 | public function getTriggers() |
||
| 33 | |||
| 34 | public function parse(&$var, BasicObject &$o, $trigger) |
||
| 52 | |||
| 53 | protected function blacklist(&$var, &$o) |
||
| 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.