1 | <?php |
||
19 | class GitDriver extends AbstractVcsDriver |
||
20 | { |
||
21 | protected $dispatcher; |
||
22 | |||
23 | 1 | public function __construct($url, IOInterface $io = null, EventDispatcherInterface $dispatcher = null) |
|
29 | |||
30 | protected function getClient($url) |
||
43 | |||
44 | /** |
||
45 | * FIXME passing `null`, `null` failed on svn client, but looks like |
||
46 | * it's needed by the git client. Fix the git client to accept |
||
47 | * Reference's correctly! |
||
48 | * |
||
49 | * @param Version $oldVersion |
||
50 | * @param Version $newVersion |
||
51 | * @return \Webcreate\Vcs\Common\VcsFileInfo[] |
||
52 | */ |
||
53 | public function diff(Version $oldVersion, Version $newVersion) |
||
65 | } |
||
66 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.