Completed
Push — master ( 3478cb...77f82c )
by Michal
21:25
created
vendor/cakephp/migrations/src/Shell/Task/MigrationSnapshotTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1101,7 +1101,7 @@
 block discarded – undo
1101 1101
 
1102 1102
     /**
1103 1103
      * Returns MySQL column types (inherited and MySQL specified).
1104
-     * @return array
1104
+     * @return string[]
1105 1105
      */
1106 1106
     public function getColumnTypes()
1107 1107
     {
Please login to merge, or discard this patch.
vendor/cakephp/migrations/src/Shell/Task/SimpleMigrationTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      * If the name is invalid, the task will exit
76 76
      *
77 77
      * @param string|null $name Name for the generated migration
78
-     * @return string|null Name of the migration file or null if empty
78
+     * @return string Name of the migration file or null if empty
79 79
      */
80 80
     protected function getMigrationName($name = null)
81 81
     {
Please login to merge, or discard this patch.
vendor/cakephp/migrations/src/Table.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
 use Cake\Collection\Collection;
15 15
 use Cake\ORM\TableRegistry;
16
-use Phinx\Db\Adapter\SQLiteAdapter;
17 16
 use Phinx\Db\Table as BaseTable;
18 17
 
19 18
 class Table extends BaseTable
Please login to merge, or discard this patch.
vendor/nikic/php-parser/grammar/rebuildParsers.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -154,6 +154,9 @@  discard block
 block discarded – undo
154 154
     );
155 155
 }
156 156
 
157
+/**
158
+ * @param integer $num
159
+ */
157 160
 function assertArgs($num, $args, $name) {
158 161
     if ($num != count($args)) {
159 162
         die('Wrong argument count for ' . $name . '().');
@@ -213,10 +216,16 @@  discard block
 block discarded – undo
213 216
 /// Regex helper functions ///
214 217
 //////////////////////////////
215 218
 
219
+/**
220
+ * @param string $regex
221
+ */
216 222
 function regex($regex) {
217 223
     return '~' . LIB . '(?:' . str_replace('~', '\~', $regex) . ')~';
218 224
 }
219 225
 
226
+/**
227
+ * @param string $regex
228
+ */
220 229
 function magicSplit($regex, $string) {
221 230
     $pieces = preg_split(regex('(?:(?&string)|(?&comment)|(?&code))(*SKIP)(*FAIL)|' . $regex), $string);
222 231
 
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Name.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @deprecated Use Name::concat($name1, $name2) instead
121 121
      *
122
-     * @param string|array|self $name Name to prepend
122
+     * @param string $name Name to prepend
123 123
      */
124 124
     public function prepend($name) {
125 125
         $this->parts = array_merge(self::prepareName($name), $this->parts);
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @deprecated Use Name::concat($name1, $name2) instead
132 132
      *
133
-     * @param string|array|self $name Name to append
133
+     * @param string $name Name to append
134 134
      */
135 135
     public function append($name) {
136 136
         $this->parts = array_merge($this->parts, self::prepareName($name));
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      *
142 142
      * @deprecated Use concat($first, $name->slice(1)) instead
143 143
      *
144
-     * @param string|array|self $name The name to set the first part to
144
+     * @param string $name The name to set the first part to
145 145
      */
146 146
     public function setFirst($name) {
147 147
         array_splice($this->parts, 0, 1, self::prepareName($name));
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     /**
151 151
      * Sets the last part of the name.
152 152
      *
153
-     * @param string|array|self $name The name to set the last part to
153
+     * @param string $name The name to set the last part to
154 154
      */
155 155
     public function setLast($name) {
156 156
         array_splice($this->parts, -1, 1, self::prepareName($name));
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $this->errors;
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $code
56
+     */
54 57
     private function tryParse(Parser $parser, $code) {
55 58
         $stmts = null;
56 59
         $error = null;
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -534,6 +534,9 @@  discard block
 block discarded – undo
534 534
              . ($node->name->getLast() !== $node->alias ? ' as ' . $node->alias : '');
535 535
     }
536 536
 
537
+    /**
538
+     * @param integer $type
539
+     */
537 540
     private function pUseType($type) {
538 541
         return $type === Stmt\Use_::TYPE_FUNCTION ? 'function '
539 542
             : ($type === Stmt\Use_::TYPE_CONSTANT ? 'const ' : '');
@@ -744,6 +747,9 @@  discard block
 block discarded – undo
744 747
         return is_string($node) ? $node : $this->p($node);
745 748
     }
746 749
 
750
+    /**
751
+     * @param string $afterClassToken
752
+     */
747 753
     protected function pClassCommon(Stmt\Class_ $node, $afterClassToken) {
748 754
         return $this->pModifiers($node->type)
749 755
         . 'class' . $afterClassToken
@@ -760,6 +766,9 @@  discard block
 block discarded – undo
760 766
         }
761 767
     }
762 768
 
769
+    /**
770
+     * @param integer $modifiers
771
+     */
763 772
     protected function pModifiers($modifiers) {
764 773
         return ($modifiers & Stmt\Class_::MODIFIER_PUBLIC    ? 'public '    : '')
765 774
              . ($modifiers & Stmt\Class_::MODIFIER_PROTECTED ? 'protected ' : '')
@@ -769,6 +778,9 @@  discard block
 block discarded – undo
769 778
              . ($modifiers & Stmt\Class_::MODIFIER_FINAL     ? 'final '     : '');
770 779
     }
771 780
 
781
+    /**
782
+     * @param string $quote
783
+     */
772 784
     protected function pEncapsList(array $encapsList, $quote) {
773 785
         $return = '';
774 786
         foreach ($encapsList as $element) {
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
      * Appends code coverage data.
259 259
      *
260 260
      * @param  array                             $data
261
-     * @param  mixed                             $id
261
+     * @param  null|string                             $id
262 262
      * @param  bool                              $append
263 263
      * @param  mixed                             $linesToBeCovered
264 264
      * @param  array                             $linesToBeUsed
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Project.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
 
11 11
 class MethodTest extends \PHPUnit_Framework_TestCase
12 12
 {
13
+    /**
14
+     * @param string $name
15
+     */
13 16
     public function createMethodBuilder($name) {
14 17
         return new Method($name);
15 18
     }
Please login to merge, or discard this patch.