Completed
Pull Request — master (#50)
by
unknown
32:35 queued 21:26
created
php-coveralls/src/Satooshi/Bundle/CoverallsBundle/Console/Application.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     /**
66 66
      * Create CoverallsV1JobsCommand.
67 67
      *
68
-     * @return \Satooshi\Bundle\CoverallsBundle\Console\CoverallsV1JobsCommand
68
+     * @return CoverallsV1JobsCommand
69 69
      */
70 70
     protected function createCoverallsV1JobsCommand()
71 71
     {
Please login to merge, or discard this patch.
satooshi/php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Api/Jobs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
     /**
177 177
      * Return JsonFile.
178 178
      *
179
-     * @return JsonFile
179
+     * @return Satooshi\Bundle\CoverallsV1Bundle\Entity\JsonFile|null
180 180
      */
181 181
     public function getJsonFile()
182 182
     {
Please login to merge, or discard this patch.
src/Satooshi/Bundle/CoverallsV1Bundle/Collector/GitInfoCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Constructor.
26 26
      *
27
-     * @param GitCommand $gitCommand Git command
27
+     * @param GitCommand $command Git command
28 28
      */
29 29
     public function __construct(GitCommand $command)
30 30
     {
Please login to merge, or discard this patch.
php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Config/Configurator.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@  discard block
 block discarded – undo
22 22
      *
23 23
      * @param string         $coverallsYmlPath Path to .coveralls.yml.
24 24
      * @param string         $rootDir          Path to project root directory.
25
-     * @param InputInterface $input|null       Input arguments.
26 25
      *
27 26
      * @return \Satooshi\Bundle\CoverallsV1Bundle\Config\Configuration
28 27
      *
@@ -92,7 +91,6 @@  discard block
 block discarded – undo
92 91
      *
93 92
      * @param array          $options    Processed configuration.
94 93
      * @param string         $rootDir    Path to project root directory.
95
-     * @param InputInterface $input|null Input arguments.
96 94
      *
97 95
      * @return \Satooshi\Bundle\CoverallsV1Bundle\Config\Configuration
98 96
      */
Please login to merge, or discard this patch.
php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/JsonFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -557,7 +557,7 @@
 block discarded – undo
557 557
     /**
558 558
      * Set git data.
559 559
      *
560
-     * @param array $git Git data.
560
+     * @param Git $git Git data.
561 561
      *
562 562
      * @return \Satooshi\Bundle\CoverallsV1Bundle\Entity\JsonFile
563 563
      */
Please login to merge, or discard this patch.
php-coveralls/src/Satooshi/Bundle/CoverallsV1Bundle/Entity/Metrics.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * @param int $statements        Number of statements.
86 86
      * @param int $coveredStatements Number of covered statements.
87 87
      *
88
-     * @return float
88
+     * @return integer
89 89
      */
90 90
     protected function calculateLineCoverage($statements, $coveredStatements)
91 91
     {
Please login to merge, or discard this patch.
Satooshi/Bundle/CoverallsV1Bundle/Collector/CiEnvVarsCollectorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
         ->addCloverXmlPath($this->cloverXmlPath);
28 28
     }
29 29
 
30
+    /**
31
+     * @param Configuration $config
32
+     */
30 33
     protected function createCiEnvVarsCollector($config = null)
31 34
     {
32 35
         if ($config === null) {
Please login to merge, or discard this patch.
Bundle/CoverallsV1Bundle/Collector/CloverXmlCoverageCollectorTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -202,6 +202,9 @@  discard block
 block discarded – undo
202 202
 
203 203
     // custom assert
204 204
 
205
+    /**
206
+     * @param string $runAt
207
+     */
205 208
     protected function assertJsonFile($jsonFile, $serviceName, $serviceJobId, $repoToken, $git, $runAt)
206 209
     {
207 210
         $this->assertSame($serviceName, $jsonFile->getServiceName());
@@ -211,6 +214,12 @@  discard block
 block discarded – undo
211 214
         $this->assertSame($runAt, $jsonFile->getRunAt());
212 215
     }
213 216
 
217
+    /**
218
+     * @param string $name
219
+     * @param string $path
220
+     * @param integer $fileLines
221
+     * @param string $source
222
+     */
214 223
     protected function assertSourceFile(SourceFile $sourceFile, $name, $path, $fileLines, array $coverage, $source)
215 224
     {
216 225
         $this->assertSame($name, $sourceFile->getName());
Please login to merge, or discard this patch.
tests/Satooshi/Bundle/CoverallsV1Bundle/Collector/GitInfoCollectorTest.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@  discard block
 block discarded – undo
42 42
         return $this->getMock($class);
43 43
     }
44 44
 
45
+    /**
46
+     * @return GitCommand
47
+     */
45 48
     protected function createGitCommandStubWith($getBranchesValue, $getHeadCommitValue, $getRemotesValue)
46 49
     {
47 50
         $stub = $this->createGitCommandStub();
@@ -53,6 +56,11 @@  discard block
 block discarded – undo
53 56
         return $stub;
54 57
     }
55 58
 
59
+    /**
60
+     * @param string[] $getBranchesValue
61
+     *
62
+     * @return GitCommand
63
+     */
56 64
     protected function createGitCommandStubCalledBranches($getBranchesValue, $getHeadCommitValue, $getRemotesValue)
57 65
     {
58 66
         $stub = $this->createGitCommandStub();
@@ -64,6 +72,9 @@  discard block
 block discarded – undo
64 72
         return $stub;
65 73
     }
66 74
 
75
+    /**
76
+     * @return GitCommand
77
+     */
67 78
     protected function createGitCommandStubCalledHeadCommit($getBranchesValue, $getHeadCommitValue, $getRemotesValue)
68 79
     {
69 80
         $stub = $this->createGitCommandStub();
Please login to merge, or discard this patch.