| 1 | <?php |
||
| 15 | class SocialButtons extends AbstractHelper |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var ModuleOptions $options; |
||
| 19 | */ |
||
| 20 | protected $options; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var array $options; |
||
| 24 | */ |
||
| 25 | protected $config; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param $options ModuleOptions |
||
| 29 | * @param $config array |
||
| 30 | */ |
||
| 31 | public function __construct($options,$config) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * returns the advertised title |
||
| 40 | * |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | public function __invoke() |
||
| 53 | } |
||
| 54 |
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.