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.
tests/GitElephant/Command/CatFileCommandTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 namespace GitElephant\Command;
15 15
 
16
-use GitElephant\Command\BranchCommand;
17 16
 use GitElephant\TestCase;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
tests/GitElephant/Command/ResetCommandTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 
10 10
 namespace GitElephant\Command;
11 11
 
12
-use GitElephant\Objects\Commit;
13 12
 use GitElephant\TestCase;
14 13
 
15 14
 class ResetCommandTest extends TestCase
Please login to merge, or discard this patch.
tests/GitElephant/Objects/CommitTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use GitElephant\Objects\Commit;
18 18
 use GitElephant\Command\ShowCommand;
19 19
 use GitElephant\Command\MainCommand;
20
-use GitElephant\Command\CommandContainer;
21 20
 
22 21
 /**
23 22
  * CommitTest
Please login to merge, or discard this patch.
tests/GitElephant/Objects/Diff/DiffTest.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -18,13 +18,8 @@
 block discarded – undo
18 18
 use GitElephant\Objects\Diff\DiffObject;
19 19
 use GitElephant\Objects\Diff\DiffChunk;
20 20
 use GitElephant\Objects\Diff\DiffChunkLine;
21
-use GitElephant\Objects\Diff\DiffChunkLineAdded;
22
-use GitElephant\Objects\Diff\DiffChunkLineDeleted;
23
-use GitElephant\Objects\Diff\DiffChunkLineUnchanged;
24
-use GitElephant\Objects\Commit;
25 21
 use GitElephant\Command\MainCommand;
26 22
 use GitElephant\Command\DiffCommand;
27
-use GitElephant\Command\ShowCommand;
28 23
 
29 24
 /**
30 25
  * DiffTest
Please login to merge, or discard this patch.
tests/GitElephant/Objects/LogRangeTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,10 +13,7 @@
 block discarded – undo
13 13
 
14 14
 namespace GitElephant\Objects;
15 15
 
16
-use GitElephant\Repository;
17 16
 use GitElephant\TestCase;
18
-use GitElephant\Objects\Log;
19
-use GitElephant\Command\LogCommand;
20 17
 
21 18
 /**
22 19
  * LogRangeTest
Please login to merge, or discard this patch.