Completed
Pull Request — master (#50)
by
unknown
13:09
created
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/sebastian/comparator/src/ArrayComparator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@
 block discarded – undo
129 129
         }
130 130
     }
131 131
 
132
+    /**
133
+     * @param string $lines
134
+     */
132 135
     protected function indent($lines)
133 136
     {
134 137
         return trim(str_replace("\n", "\n    ", $lines));
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
         );
99 99
     }
100 100
 
101
+    /**
102
+     * @param string $content
103
+     */
101 104
     private function createDOMDocument($content)
102 105
     {
103 106
         $document = new DOMDocument;
Please login to merge, or discard this patch.
vendor/sebastian/exporter/tests/ExporterTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -326,6 +326,9 @@
 block discarded – undo
326 326
         $this->assertEquals(array(true), $this->exporter->toArray(true));
327 327
     }
328 328
 
329
+    /**
330
+     * @param string $string
331
+     */
329 332
     private function trimNewline($string)
330 333
     {
331 334
         return preg_replace('/[ ]*\n/', "\n", $string);
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/CodeSniffer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
     /**
475 475
      * Sets the internal CLI object.
476 476
      *
477
-     * @param object $cli The CLI object controlling the run.
477
+     * @param PHP_CodeSniffer_CLI $cli The CLI object controlling the run.
478 478
      *
479 479
      * @return void
480 480
      */
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
      * @param string|array $files        The files and directories to process. For
492 492
      *                                   directories, each sub directory will also
493 493
      *                                   be traversed for source files.
494
-     * @param string|array $standards    The set of code sniffs we are testing
494
+     * @param string $standards    The set of code sniffs we are testing
495 495
      *                                   against.
496 496
      * @param array        $restrictions The sniff codes to restrict the
497 497
      *                                   violations to.
@@ -2280,7 +2280,7 @@  discard block
 block discarded – undo
2280 2280
      *
2281 2281
      * @param string $standard The name of the coding standard.
2282 2282
      *
2283
-     * @return string|null
2283
+     * @return string
2284 2284
      */
2285 2285
     public static function getInstalledStandardPath($standard)
2286 2286
     {
@@ -2449,7 +2449,7 @@  discard block
 block discarded – undo
2449 2449
      *
2450 2450
      * @param string $path The path to use.
2451 2451
      *
2452
-     * @return mixed
2452
+     * @return boolean
2453 2453
      */
2454 2454
     public static function isPharFile($path)
2455 2455
     {
@@ -2469,7 +2469,7 @@  discard block
 block discarded – undo
2469 2469
      *
2470 2470
      * @param string $path The path to use.
2471 2471
      *
2472
-     * @return mixed
2472
+     * @return string|false
2473 2473
      */
2474 2474
     public static function realpath($path)
2475 2475
     {
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1334,7 +1334,7 @@
 block discarded – undo
1334 1334
      * @param int $width The width of the report. If "auto" then will
1335 1335
      *                   be replaced by the terminal width.
1336 1336
      *
1337
-     * @return void
1337
+     * @return integer
1338 1338
      */
1339 1339
     private function _validateReportWidth($width)
1340 1340
     {
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/CodeSniffer/DocGenerators/HTML.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
      *
158 158
      * The TOC is just an unordered list of bookmarks to sniffs on the page.
159 159
      *
160
-     * @param array $standardFiles An array of paths to the XML standard files.
160
+     * @param string[] $standardFiles An array of paths to the XML standard files.
161 161
      *
162 162
      * @return void
163 163
      */
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/CodeSniffer/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -866,7 +866,7 @@  discard block
 block discarded – undo
866 866
      * @param string $error    The error message.
867 867
      * @param int    $line     The line on which the error occurred.
868 868
      * @param string $code     A violation code unique to the sniff message.
869
-     * @param array  $data     Replacements for the error message.
869
+     * @param string[]  $data     Replacements for the error message.
870 870
      * @param int    $severity The severity level for this error. A value of 0 will be converted into the default severity level.
871 871
      *                          will be converted into the default severity level.
872 872
      *
@@ -890,7 +890,7 @@  discard block
 block discarded – undo
890 890
      * @param string $warning  The error message.
891 891
      * @param int    $line     The line on which the warning occurred.
892 892
      * @param string $code     A violation code unique to the sniff message.
893
-     * @param array  $data     Replacements for the warning message.
893
+     * @param string[]  $data     Replacements for the warning message.
894 894
      * @param int    $severity The severity level for this warning. A value of 0 will be converted into the default severity level.
895 895
      *                          will be converted into the default severity level.
896 896
      *
Please login to merge, or discard this patch.