Completed
Push — 1.9 ( fa6699 )
by
unknown
301:30 queued 254:09
created
TranslationBundle/Tests/Unit/Command/OroTranslationPackCommandTest.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@  discard block
 block discarded – undo
129 129
         $this->runUploadDownloadTest('download');
130 130
     }
131 131
 
132
+    /**
133
+     * @param string $commandName
134
+     */
132 135
     public function runUploadDownloadTest($commandName, $args = [])
133 136
     {
134 137
         $kernel = new TestKernel();
@@ -216,7 +219,7 @@  discard block
 block discarded – undo
216 219
      *
217 220
      * @param array $methods
218 221
      *
219
-     * @return \PHPUnit_Framework_MockObject_MockObject|OroTranslationPackCommand
222
+     * @return \Symfony\Component\Console\Command\Command
220 223
      */
221 224
     protected function getCommandMock($methods = array('asText'))
222 225
     {
@@ -227,7 +230,7 @@  discard block
 block discarded – undo
227 230
     }
228 231
 
229 232
     /**
230
-     * @param $class
233
+     * @param string $class
231 234
      *
232 235
      * @return \PHPUnit_Framework_MockObject_MockObject
233 236
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.
src/Oro/Bundle/TranslationBundle/Tests/Unit/Fixtures/SomeClass.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@
 block discarded – undo
15 15
         return $someVariable;
16 16
     }
17 17
 
18
+    /**
19
+     * @param string $arg1
20
+     * @param string $arg2
21
+     */
18 22
     protected function someAnotherFunc($arg1, $arg2)
19 23
     {
20 24
         return array($arg1, $arg2);
Please login to merge, or discard this patch.
Oro/Bundle/TranslationBundle/Tests/Unit/Provider/TranslationServiceTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
     }
315 315
 
316 316
     /**
317
-     * @param array $methods
317
+     * @param string[] $methods
318 318
      * @param array $args
319 319
      *
320 320
      * @return \PHPUnit_Framework_MockObject_MockObject|TranslationServiceProvider
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.
src/Oro/Bundle/TranslationBundle/Translation/Translator.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -153,6 +153,7 @@
 block discarded – undo
153 153
 
154 154
     /**
155 155
      * {@inheritdoc}
156
+     * @param string $locale
156 157
      */
157 158
     protected function loadCatalogue($locale)
158 159
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/UIBundle/Tools/EntityLabelBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Returns significant for building the translation key parts of the class name
82 82
      *
83
-     * @param $className
83
+     * @param string $className
84 84
      *
85 85
      * @return array
86 86
      */
Please login to merge, or discard this patch.
src/Oro/Bundle/UIBundle/Twig/CeilExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * PHP ceil wrapper
19 19
      *
20 20
      * @param float $number
21
-     * @return int
21
+     * @return double
22 22
      */
23 23
     public function ceil($number)
24 24
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/UIBundle/Twig/DateExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * Get translated age string.
55 55
      *
56
-     * @param string|\DateTime $date
56
+     * @param \DateTime $date
57 57
      * @param array $options
58 58
      * @return string
59 59
      */
Please login to merge, or discard this patch.
src/Oro/Bundle/UIBundle/Twig/FormExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * @param \Twig_Environment $environment
49
-     * @param array $data
49
+     * @param string[] $data
50 50
      * @param FormView $form
51 51
      * @return array
52 52
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.
src/Oro/Bundle/UIBundle/Twig/PlaceholderExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      * @param array  $variables
72 72
      * @param array  $attributes Supported attributes:
73 73
      *                           'delimiter' => string
74
-     * @return string|array
74
+     * @return string
75 75
      */
76 76
     public function renderPlaceholder($name, array $variables = array(), array $attributes = array())
77 77
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.