| 1 | <?php |
||
| 15 | class FileParser implements FileParserInterface |
||
|
|
|||
| 16 | { |
||
| 17 | /** |
||
| 18 | * {@inheritDoc} |
||
| 19 | */ |
||
| 20 | public static function parse(string $filePath): ParserCollection |
||
| 50 | |||
| 51 | // public function byVendor(string $vendor) |
||
| 52 | // { |
||
| 53 | // if (0 !== \strpos($package['name'], "vendor/")) { |
||
| 54 | // continue; |
||
| 55 | // } |
||
| 56 | // } |
||
| 57 | } |
||
| 58 |
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.