1 | <?php |
||
15 | class Git |
||
|
|||
16 | { |
||
17 | /** |
||
18 | * Runs a Git command on the repository. |
||
19 | * |
||
20 | * @param string $command The command. |
||
21 | * |
||
22 | * @throws \RuntimeException If the command failed. |
||
23 | * |
||
24 | * @return string The trimmed output from the command. |
||
25 | */ |
||
26 | public static function runGitCommand(string $command): string |
||
45 | } |
||
46 |
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.