| 1 | <?php |
||
| 30 | class CamelCasePropertyName extends AbstractRule implements ClassAware |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * This method checks if a property is not named in camelCase |
||
| 34 | * and emits a rule violation. |
||
| 35 | * |
||
| 36 | * @param \PHPMD\AbstractNode $node |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | 6 | public function apply(AbstractNode $node) |
|
| 61 | } |
||
| 62 |
When comparing two booleans, it is generally considered safer to use the strict comparison operator.