Completed
Push — master ( 3478cb...77f82c )
by Michal
21:25
created
Bundle/CoverallsV1Bundle/Collector/CloverXmlCoverageCollectorTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -133,6 +133,9 @@  discard block
 block discarded – undo
133 133
 
134 134
     // custom assert
135 135
 
136
+    /**
137
+     * @param string $runAt
138
+     */
136 139
     protected function assertJsonFile($jsonFile, $serviceName, $serviceJobId, $repoToken, $git, $runAt)
137 140
     {
138 141
         $this->assertEquals($serviceName, $jsonFile->getServiceName());
@@ -142,6 +145,12 @@  discard block
 block discarded – undo
142 145
         $this->assertEquals($runAt, $jsonFile->getRunAt());
143 146
     }
144 147
 
148
+    /**
149
+     * @param string $name
150
+     * @param string $path
151
+     * @param integer $fileLines
152
+     * @param string $source
153
+     */
145 154
     protected function assertSourceFile(SourceFile $sourceFile, $name, $path, $fileLines, array $coverage, $source)
146 155
     {
147 156
         $this->assertEquals($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.
tests/Satooshi/Bundle/CoverallsV1Bundle/Repository/JobsRepositoryTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -192,6 +192,10 @@  discard block
 block discarded – undo
192 192
         return $api;
193 193
     }
194 194
 
195
+    /**
196
+     * @param integer $statusCode
197
+     * @param string $reasonPhrase
198
+     */
195 199
     protected function createResponseMock($statusCode, $reasonPhrase, $body)
196 200
     {
197 201
         $json     = is_array($body) ? json_encode($body) : $body;
@@ -220,6 +224,9 @@  discard block
 block discarded – undo
220 224
         return $response;
221 225
     }
222 226
 
227
+    /**
228
+     * @return \Psr\Log\LoggerInterface
229
+     */
223 230
     protected function createLoggerMock()
224 231
     {
225 232
         $logger = $this->getMock('Psr\Log\NullLogger', array('info', 'error'));
@@ -239,6 +246,9 @@  discard block
 block discarded – undo
239 246
 
240 247
     // dependent object
241 248
 
249
+    /**
250
+     * @param integer $percent
251
+     */
242 252
     protected function createCoverage($percent)
243 253
     {
244 254
         // percent = (covered / stmt) * 100;
Please login to merge, or discard this patch.
vendor/satooshi/php-coveralls/tests/Satooshi/ProjectTestCase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class ProjectTestCase extends \PHPUnit_Framework_TestCase
6 6
 {
7
+    /**
8
+     * @param string $projectDir
9
+     */
7 10
     protected function setUpDir($projectDir)
8 11
     {
9 12
         $this->rootDir       = realpath($projectDir . '/prj');
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/ProgressBar.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@  discard block
 block discarded – undo
141 141
         return isset(self::$formats[$name]) ? self::$formats[$name] : null;
142 142
     }
143 143
 
144
+    /**
145
+     * @param string $message
146
+     */
144 147
     public function setMessage($message, $name = 'message')
145 148
     {
146 149
         $this->messages[$name] = $message;
@@ -315,7 +318,7 @@  discard block
 block discarded – undo
315 318
     /**
316 319
      * Sets the redraw frequency.
317 320
      *
318
-     * @param int|float $freq The frequency in steps
321
+     * @param integer $freq The frequency in steps
319 322
      */
320 323
     public function setRedrawFrequency($freq)
321 324
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/ProgressIndicator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param OutputInterface $output
37 37
      * @param string|null     $format                  Indicator format
38 38
      * @param int             $indicatorChangeInterval Change interval in milliseconds
39
-     * @param array|null      $indicatorValues         Animated indicator characters
39
+     * @param string[]      $indicatorValues         Animated indicator characters
40 40
      */
41 41
     public function __construct(OutputInterface $output, $format = null, $indicatorChangeInterval = 100, $indicatorValues = null)
42 42
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * Starts the indicator output.
115 115
      *
116
-     * @param $message
116
+     * @param string $message
117 117
      */
118 118
     public function start($message)
119 119
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     /**
160 160
      * Finish the indicator with message.
161 161
      *
162
-     * @param $message
162
+     * @param string $message
163 163
      */
164 164
     public function finish($message)
165 165
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
      * Sets table column style.
150 150
      *
151 151
      * @param int               $columnIndex Column index
152
-     * @param TableStyle|string $name        The style name or a TableStyle instance
152
+     * @param TableStyle $name        The style name or a TableStyle instance
153 153
      *
154 154
      * @return Table
155 155
      */
Please login to merge, or discard this patch.
vendor/symfony/console/Tests/Helper/ProgressIndicatorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -592,6 +592,9 @@
 block discarded – undo
592 592
         return new StreamOutput(fopen('php://memory', 'r+', false), $verbosity, $decorated);
593 593
     }
594 594
 
595
+    /**
596
+     * @param string $expected
597
+     */
595 598
     protected function generateOutput($expected)
596 599
     {
597 600
         $count = substr_count($expected, "\n");
Please login to merge, or discard this patch.
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -101,6 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
     /**
103 103
      * {@inheritdoc}
104
+     * @param string $eventName
104 105
      */
105 106
     public function getListenerPriority($eventName, $listener)
106 107
     {
@@ -232,6 +233,9 @@  discard block
 block discarded – undo
232 233
     {
233 234
     }
234 235
 
236
+    /**
237
+     * @param string $eventName
238
+     */
235 239
     private function preProcess($eventName)
236 240
     {
237 241
         foreach ($this->dispatcher->getListeners($eventName) as $listener) {
@@ -244,6 +248,9 @@  discard block
 block discarded – undo
244 248
         }
245 249
     }
246 250
 
251
+    /**
252
+     * @param string $eventName
253
+     */
247 254
     private function postProcess($eventName)
248 255
     {
249 256
         unset($this->wrappedListeners[$eventName]);
Please login to merge, or discard this patch.