Completed
Push — master ( f932c1...98fbad )
by Gaetano
09:59
created
Core/MigrationService.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
 
82 82
     /**
83
-     * @return string[]
83
+     * @return integer[]
84 84
      */
85 85
     public function listExecutors()
86 86
     {
Please login to merge, or discard this patch.
Core/Executor/MigrationDefinitionExecutor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
 
113 113
     /**
114 114
      * @todo cache this for faster access
115
-     * @return array
115
+     * @return integer[]
116 116
      */
117 117
     protected function getGeneratingExecutors()
118 118
     {
Please login to merge, or discard this patch.
Core/Executor/MigrationExecutor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * @param array $dsl
52 52
      * @param array $context
53
-     * @return true
53
+     * @return boolean
54 54
      * @throws \Exception
55 55
      */
56 56
     protected function cancel($dsl, $context)
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * @param array $dsl
72 72
      * @param array $context
73
-     * @return true
73
+     * @return boolean
74 74
      * @throws \Exception
75 75
      */
76 76
     protected function suspend($dsl, $context)
Please login to merge, or discard this patch.
Core/Executor/MailExecutor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * @param array $dsl
50 50
      * @param array $context
51
-     * @return true
51
+     * @return boolean
52 52
      * @throws \Exception
53 53
      */
54 54
     protected function send($dsl, $context)
Please login to merge, or discard this patch.
Core/StorageHandler/Database/Migration.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -447,6 +447,9 @@
 block discarded – undo
447 447
         );
448 448
     }
449 449
 
450
+    /**
451
+     * @param APIMigration $migration
452
+     */
450 453
     protected function getEntityName($migration)
451 454
     {
452 455
         return end(explode('\\', get_class($migration)));
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Kaliop\eZMigrationBundle\API\Collection\MigrationCollection;
11 11
 use Kaliop\eZMigrationBundle\API\Value\Migration as APIMigration;
12 12
 use Kaliop\eZMigrationBundle\API\Value\MigrationDefinition;
13
-
14 13
 use Kaliop\eZMigrationBundle\API\ConfigResolverInterface;
15 14
 
16 15
 /**
Please login to merge, or discard this patch.
Core/Executor/ContentTypeManager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -652,6 +652,9 @@  discard block
 block discarded – undo
652 652
         return $fieldDefinitionUpdateStruct;
653 653
     }
654 654
 
655
+    /**
656
+     * @param string $contentTypeIdentifier
657
+     */
655 658
     protected function getFieldSettings($value, $fieldTypeIdentifier, $contentTypeIdentifier)
656 659
     {
657 660
         // 1st update any references in the value array
@@ -704,7 +707,7 @@  discard block
 block discarded – undo
704 707
      *
705 708
      * @param string|array $newValue if passed a string, we will use $lang as its language. If passed an array, it will be used as is - expected format [ "eng-GB": "Name", "fre-FR": "Nom", ... ]
706 709
      * @param string $lang ex: eng-GB. Not used when $newValue is an array
707
-     * @param array $currentValue current set of values in all known languages. Will be merged with $newValue, $newValue taking precedence
710
+     * @param string[] $currentValue current set of values in all known languages. Will be merged with $newValue, $newValue taking precedence
708 711
      * @return array in the format [ "eng-GB": "Name", "fre-FR": "Nom", ... ]
709 712
      */
710 713
     protected function getMultilingualValue($newValue, $lang, $currentValue = array())
Please login to merge, or discard this patch.
Core/Executor/ContentManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use eZ\Publish\API\Repository\Values\ContentType\ContentType;
6 6
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition;
7
-use eZ\Publish\API\Repository\Values\Content\Location;
8 7
 use eZ\Publish\API\Repository\Values\Content\Content;
9 8
 use eZ\Publish\API\Repository\Values\Content\ContentCreateStruct;
10 9
 use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct;
Please login to merge, or discard this patch.
Core/Executor/FileExecutor.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * @param array $dsl
70 70
      * @param array $context
71
-     * @return string
71
+     * @return boolean
72 72
      * @throws \Exception
73 73
      */
74 74
     protected function exists($dsl, $context)
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * @param array $dsl
198 198
      * @param array $context
199
-     * @return true
199
+     * @return boolean
200 200
      * @throws \Exception
201 201
      */
202 202
     protected function copy($dsl, $context)
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     /**
229 229
      * @param array $dsl
230 230
      * @param array $context
231
-     * @return true
231
+     * @return boolean
232 232
      * @throws \Exception
233 233
      */
234 234
     protected function move($dsl, $context)
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     /**
261 261
      * @param array $dsl
262 262
      * @param array $context
263
-     * @return true
263
+     * @return boolean
264 264
      * @throws \Exception
265 265
      */
266 266
     protected function delete($dsl, $context)
Please login to merge, or discard this patch.
Command/TestBenchCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Kaliop\eZMigrationBundle\Core\MigrationService;
7 7
 use Symfony\Component\Console\Input\InputInterface;
8 8
 use Symfony\Component\Console\Output\OutputInterface;
9
-use Symfony\Component\Console\Input\InputOption;
10 9
 use Kaliop\eZMigrationBundle\API\Value\Migration;
11 10
 use Kaliop\eZMigrationBundle\API\Value\MigrationDefinition;
12 11
 
Please login to merge, or discard this patch.