Completed
Pull Request — develop (#165)
by
unknown
13:11
created
tests/GitElephant/Objects/RemoteTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -343,7 +343,7 @@
 block discarded – undo
343 343
      * NOTE: this will do an assertion in the hope to ensure
344 344
      * sanity of the test double
345 345
      *
346
-     * @return \GitElephant\Objects\Remote
346
+     * @return \PHPUnit\Framework\MockObject\MockObject
347 347
      */
348 348
     public function getMockRemote()
349 349
     {
Please login to merge, or discard this patch.
tests/GitElephant/TestCase.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      * @param string      $name       file name
127 127
      * @param string|null $folder     folder name
128
-     * @param null        $content    content
128
+     * @param null|string        $content    content
129 129
      * @param Repository  $repository repository to add file to
130 130
      *
131 131
      * @return void
@@ -281,6 +281,17 @@  discard block
 block discarded – undo
281 281
         return $mockRepo;
282 282
     }
283 283
 
284
+    /**
285
+     * @param string $sha
286
+     * @param string $tree
287
+     * @param string $author
288
+     * @param string $committer
289
+     * @param string $emailAuthor
290
+     * @param string $emailCommitter
291
+     * @param string $datetimeAuthor
292
+     * @param string $datetimeCommitter
293
+     * @param string $message
294
+     */
284 295
     protected function doCommitTest(
285 296
         Commit $commit,
286 297
         $sha,
Please login to merge, or discard this patch.
src/GitElephant/Command/Caller/Caller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      * @param string $cmd               the command to execute
72 72
      * @param bool   $git               if the command is git or a generic command
73 73
      * @param string $cwd               the directory where the command must be executed
74
-     * @param array  $acceptedExitCodes exit codes accepted to consider the command execution successful
74
+     * @param integer[]  $acceptedExitCodes exit codes accepted to consider the command execution successful
75 75
      *
76 76
      * @throws \RuntimeException
77 77
      * @throws \Symfony\Component\Process\Exception\InvalidArgumentException
Please login to merge, or discard this patch.