Completed
Push — develop ( 321e68...dce9ea )
by Carsten
09:20
created
module/Core/src/Core/Entity/ImageSetInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      * @param array                $images
60 60
      * @param PermissionsInterface $permissions
61 61
      *
62
-     * @return mixed
62
+     * @return ImageSet
63 63
      */
64 64
     public function setImages(array $images, PermissionsInterface $permissions = null);
65 65
 
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/ImageSetHydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         $imageSpecs = $this->options->getImages();
87 87
 
88 88
 
89
-        $images = [ ImageSetInterface::ORIGINAL => $this->createEntity($file, $data) ];
89
+        $images = [ImageSetInterface::ORIGINAL => $this->createEntity($file, $data)];
90 90
 
91 91
         foreach ($imageSpecs as $key => $size) {
92 92
             $newImage = ImageSetInterface::THUMBNAIL == $key
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
                 : $this->createImage($image, $size);
95 95
 
96 96
             if ($newImage) {
97
-                $entity   = $this->createEntity($newImage, $data, $key);
97
+                $entity = $this->createEntity($newImage, $data, $key);
98 98
                 $images[$key] = $entity;
99 99
             }
100 100
         }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
         $entity
144 144
             ->setFile($file)
145
-            ->setName(($prefix ? "$prefix-" : '') . $data['name'])
145
+            ->setName(($prefix ? "$prefix-" : '').$data['name'])
146 146
             ->setType($data['type'])
147 147
         ;
148 148
 
Please login to merge, or discard this patch.
module/Core/src/Core/Options/ImageSetOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      * @var array
44 44
      */
45 45
     protected $images = [
46
-        ImageSetInterface::THUMBNAIL => [100,100],
46
+        ImageSetInterface::THUMBNAIL => [100, 100],
47 47
     ];
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/Service/ImagineFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             case ImagineOptions::LIB_GD:
47 47
             case ImagineOptions::LIB_IMAGICK:
48 48
             case ImagineOptions::LIB_GMAGICK:
49
-                $imagineClass = '\Imagine\\' . $lib . '\Imagine';
49
+                $imagineClass = '\Imagine\\'.$lib.'\Imagine';
50 50
                 $imagine = new $imagineClass;
51 51
                 break;
52 52
         }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Hydrator/Strategy/JobManagerStrategy.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
46 46
      * Converts the given value so that it can be hydrated by the hydrator.
47 47
      *
48 48
      * @param mixed $value The original value.
49
-     * @param array $data  (optional) The original data for context.
50 49
      *
51 50
      * @return mixed Returns the value that should be hydrated.
52 51
      */
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/CompanyNameFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *
34 34
      * @var array
35 35
      */
36
-    protected $headscripts = [ 'Jobs/js/forms.manager-select.js' ];
36
+    protected $headscripts = ['Jobs/js/forms.manager-select.js'];
37 37
 
38 38
     public function setHeadscripts(array $scripts)
39 39
     {
Please login to merge, or discard this patch.
module/Applications/src/Applications/Mail/Confirmation.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return mixed
106
+     * @return string
107 107
      */
108 108
     protected function getJobTitle()
109 109
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,11 +172,11 @@
 block discarded – undo
172 172
 
173 173
         if (!$router || !$user) { return ''; }
174 174
 
175
-        $token = $user instanceOf AnonymousUser ? '?token=' . $user->getToken() : '';
175
+        $token = $user instanceOf AnonymousUser ? '?token='.$user->getToken() : '';
176 176
         $href  = $router->assemble(
177 177
                         ['id' => $this->application->getId()],
178 178
                         ['name'=>'lang/applications/detail', 'force_canonical'=>true]
179
-        ) . $token;
179
+        ).$token;
180 180
 
181 181
         return $href;
182 182
 
Please login to merge, or discard this patch.
module/Applications/src/Applications/Listener/EventApplicationCreated.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                         [
89 89
                             'application' => $this->application,
90 90
                             'user' => $employee->getUser(),
91
-                            'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null,
91
+                            'bcc' => $adminSettings->getMailBCC() ? [$admin] : null,
92 92
                         ]
93 93
                     );
94 94
                 }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 [
107 107
                     'job'   => $this->application->getJob(),
108 108
                     'user'  => $recruiter,
109
-                    'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null,
109
+                    'bcc' => $adminSettings->getMailBCC() ? [$admin] : null,
110 110
                 ]
111 111
             );
112 112
         }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                     [
124 124
                         'application' => $this->application,
125 125
                         'body'        => $ackBody,
126
-                        'bcc'         => $adminSettings->getMailBCC() ? [ $admin ] : null,
126
+                        'bcc'         => $adminSettings->getMailBCC() ? [$admin] : null,
127 127
                     ]
128 128
                 );
129 129
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/CategoriesContainer.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                         'options' => [
39 39
                             'enable_descriptions' => true,
40 40
                             'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' .
41
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
41
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
42 42
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
43 43
                         ],
44 44
                     ],
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                         'options' => [
58 58
                             'enable_descriptions' => true,
59 59
                             'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' .
60
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
60
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
61 61
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
62 62
                         ],
63 63
                     ],
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                         'options' => [
77 77
                             'enable_descriptions' => true,
78 78
                             'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.'.
79
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
79
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
80 80
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
81 81
                         ],
82 82
                     ],
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
                         'property' => true,
38 38
                         'options' => [
39 39
                             'enable_descriptions' => true,
40
-                            'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' .
40
+                            'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.'.
41 41
                                              /*@translate*/ 'The order of categories can be modified by drag&drop.',
42 42
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
43 43
                         ],
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                         'property' => true,
57 57
                         'options' => [
58 58
                             'enable_descriptions' => true,
59
-                            'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' .
59
+                            'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.'.
60 60
                                              /*@translate*/ 'The order of categories can be modified by drag&drop.',
61 61
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
62 62
                         ],
Please login to merge, or discard this patch.