Completed
Push — develop ( 8dee05 )
by Dmytro
20:08
created
core/vendor/symfony/console/Tests/EventListener/ErrorListenerTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -120,16 +120,25 @@
 block discarded – undo
120 120
         $listener->onConsoleTerminate($this->getConsoleTerminateEvent($this->getMockBuilder(InputInterface::class)->getMock(), 255));
121 121
     }
122 122
 
123
+    /**
124
+     * @return null|LoggerInterface
125
+     */
123 126
     private function getLogger()
124 127
     {
125 128
         return $this->getMockForAbstractClass(LoggerInterface::class);
126 129
     }
127 130
 
131
+    /**
132
+     * @param integer $exitCode
133
+     */
128 134
     private function getConsoleTerminateEvent(InputInterface $input, $exitCode)
129 135
     {
130 136
         return new ConsoleTerminateEvent(new Command('test:run'), $input, $this->getOutput(), $exitCode);
131 137
     }
132 138
 
139
+    /**
140
+     * @return OutputInterface
141
+     */
133 142
     private function getOutput()
134 143
     {
135 144
         return $this->getMockBuilder(OutputInterface::class)->getMock();
Please login to merge, or discard this patch.
core/vendor/symfony/console/Tests/Helper/AbstractQuestionHelperTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 
17 17
 abstract class AbstractQuestionHelperTest extends TestCase
18 18
 {
19
+    /**
20
+     * @param resource $stream
21
+     */
19 22
     protected function createStreamableInputInterfaceMock($stream = null, $interactive = true)
20 23
     {
21 24
         $mock = $this->getMockBuilder(StreamableInputInterface::class)->getMock();
Please login to merge, or discard this patch.
core/vendor/symfony/console/Tests/Helper/HelperSetTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -109,6 +109,11 @@
 block discarded – undo
109 109
         }
110 110
     }
111 111
 
112
+    /**
113
+     * @param string $name
114
+     *
115
+     * @return \Symfony\Component\Console\Helper\HelperInterface
116
+     */
112 117
     private function getGenericMockHelper($name, HelperSet $helperset = null)
113 118
     {
114 119
         $mock_helper = $this->getMockBuilder('\Symfony\Component\Console\Helper\HelperInterface')->getMock();
Please login to merge, or discard this patch.
core/vendor/symfony/console/Tests/Helper/ProgressBarTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -872,6 +872,9 @@
 block discarded – undo
872 872
         return new StreamOutput(fopen('php://memory', 'r+', false), $verbosity, $decorated);
873 873
     }
874 874
 
875
+    /**
876
+     * @param string $expected
877
+     */
875 878
     protected function generateOutput($expected)
876 879
     {
877 880
         $count = substr_count($expected, "\n");
Please login to merge, or discard this patch.
core/vendor/symfony/console/Tests/Helper/ProgressIndicatorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -174,6 +174,9 @@
 block discarded – undo
174 174
         return new StreamOutput(fopen('php://memory', 'r+', false), $verbosity, $decorated);
175 175
     }
176 176
 
177
+    /**
178
+     * @param string $expected
179
+     */
177 180
     protected function generateOutput($expected)
178 181
     {
179 182
         $count = substr_count($expected, "\n");
Please login to merge, or discard this patch.
core/vendor/symfony/console/Tests/Helper/QuestionHelperTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -617,6 +617,9 @@
 block discarded – undo
617 617
         $this->assertEquals('FooBundle', $dialog->ask($this->createStreamableInputInterfaceMock($inputStream), $this->createOutputInterface(), $question));
618 618
     }
619 619
 
620
+    /**
621
+     * @param string $input
622
+     */
620 623
     protected function getInputStream($input)
621 624
     {
622 625
         $stream = fopen('php://memory', 'r+', false);
Please login to merge, or discard this patch.
core/vendor/symfony/console/Tests/Helper/SymfonyQuestionHelperTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
         $dialog->ask($this->createStreamableInputInterfaceMock($this->getInputStream('')), $this->createOutputInterface(), new Question('What\'s your name?'));
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $input
137
+     */
135 138
     protected function getInputStream($input)
136 139
     {
137 140
         $stream = fopen('php://memory', 'r+', false);
@@ -159,6 +162,9 @@  discard block
 block discarded – undo
159 162
         return $mock;
160 163
     }
161 164
 
165
+    /**
166
+     * @param string $expected
167
+     */
162 168
     private function assertOutputContains($expected, StreamOutput $output)
163 169
     {
164 170
         rewind($output->getStream());
Please login to merge, or discard this patch.
core/vendor/symfony/debug/DebugClassLoader.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -205,6 +205,9 @@  discard block
 block discarded – undo
205 205
         }
206 206
     }
207 207
 
208
+    /**
209
+     * @param string $class
210
+     */
208 211
     public function checkAnnotations(\ReflectionClass $refl, $class)
209 212
     {
210 213
         $deprecations = array();
@@ -340,6 +343,7 @@  discard block
 block discarded – undo
340 343
 
341 344
     /**
342 345
      * `realpath` on MacOSX doesn't normalize the case of characters.
346
+     * @param string $real
343 347
      */
344 348
     private function darwinRealpath($real)
345 349
     {
Please login to merge, or discard this patch.
core/vendor/symfony/debug/ErrorHandler.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * Registers the error handler.
106 106
      *
107
-     * @param self|null $handler The handler to register
107
+     * @param null|\self $handler The handler to register
108 108
      * @param bool      $replace Whether to replace or not any existing handler
109 109
      *
110 110
      * @return self The registered error handler
@@ -345,6 +345,7 @@  discard block
 block discarded – undo
345 345
 
346 346
     /**
347 347
      * Re-registers as a PHP error handler if levels changed.
348
+     * @param integer $prev
348 349
      */
349 350
     private function reRegister($prev)
350 351
     {
@@ -371,7 +372,7 @@  discard block
 block discarded – undo
371 372
      * @param string $file
372 373
      * @param int    $line
373 374
      *
374
-     * @return bool Returns false when no handling happens so that the PHP engine can handle the error itself
375
+     * @return boolean|null Returns false when no handling happens so that the PHP engine can handle the error itself
375 376
      *
376 377
      * @throws \ErrorException When $this->thrownErrors requests so
377 378
      *
@@ -661,6 +662,11 @@  discard block
 block discarded – undo
661 662
         );
662 663
     }
663 664
 
665
+    /**
666
+     * @param integer $type
667
+     * @param string $file
668
+     * @param integer $line
669
+     */
664 670
     private function cleanTrace($backtrace, $type, $file, $line, $throw)
665 671
     {
666 672
         $lightTrace = $backtrace;
Please login to merge, or discard this patch.