Passed
Pull Request — master (#580)
by ANTHONIUS
10:05
created
module/Core/src/Entity/AbstractIdentifiableEntity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
  *
18 18
  * @author Anthonius Munthi <[email protected]>
19 19
  * @ODM\MappedSuperclass
20
-  */
20
+ */
21 21
 abstract class AbstractIdentifiableEntity extends AbstractEntity implements IdentifiableEntityInterface
22 22
 {
23 23
     use IdentifiableEntityTrait;
Please login to merge, or discard this patch.
module/Core/src/Entity/Hydrator/Strategy/FileUploadStrategy.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
61 61
         $file = $this->getFileEntity();
62 62
         
63 63
         $file->setName($value['name'])
64
-             ->setType($value['type'])
65
-             ->setFile($value['tmp_name']);
64
+                ->setType($value['type'])
65
+                ->setFile($value['tmp_name']);
66 66
         
67 67
         return $file;
68 68
     }
Please login to merge, or discard this patch.
module/Core/src/Mail/Message.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@
 block discarded – undo
52 52
 
53 53
         if ($emailOrAddressOrList instanceof UserInterface) {
54 54
             parent::updateAddressList(
55
-                         $addressList,
56
-                         $emailOrAddressOrList->getInfo()->getEmail(),
57
-                         $emailOrAddressOrList->getInfo()->getDisplayName(false),
58
-                         $callingMethod
55
+                            $addressList,
56
+                            $emailOrAddressOrList->getInfo()->getEmail(),
57
+                            $emailOrAddressOrList->getInfo()->getDisplayName(false),
58
+                            $callingMethod
59 59
             );
60 60
             return;
61 61
         }
Please login to merge, or discard this patch.
module/Core/src/Controller/IndexController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     {
132 132
         $viewModel = new ViewModel();
133 133
         $viewModel->setTemplate('error/index')
134
-                  ->setVariable('message', 'An unexpected error had occured. Please try again later.');
134
+                    ->setVariable('message', 'An unexpected error had occured. Please try again later.');
135 135
         return $viewModel;
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
module/Core/src/Controller/Plugin/FileSender.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         }
33 33
         
34 34
         $response->getHeaders()->addHeaderline('Content-Type', $file->type)
35
-                               ->addHeaderline('Content-Length', $file->size);
35
+                                ->addHeaderline('Content-Length', $file->size);
36 36
         $response->sendHeaders();
37 37
         
38 38
         $resource = $file->getResource();
Please login to merge, or discard this patch.
module/Core/src/Controller/Plugin/CreatePaginatorService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
         $adapter->setParams($params);
83 83
         $paginator->setCurrentPageNumber($params->get('page', 1))
84
-                  ->setItemCountPerPage($params->get('count', 10));
84
+                    ->setItemCountPerPage($params->get('count', 10));
85 85
 
86 86
         return $paginator;
87 87
     }
Please login to merge, or discard this patch.
module/Core/src/Controller/Plugin/CreatePaginator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,8 @@
 block discarded – undo
121 121
             $paginator = $paginators->get($paginatorName, $params);
122 122
         }
123 123
         $paginator->setCurrentPageNumber(isset($params['page']) ? $params['page'] : 1)
124
-                  ->setItemCountPerPage(isset($params['count']) ? $params['count'] : 10)
125
-                  ->setPageRange(isset($params['range']) ? $params['range'] : 5);
124
+                    ->setItemCountPerPage(isset($params['count']) ? $params['count'] : 10)
125
+                    ->setPageRange(isset($params['range']) ? $params['range'] : 5);
126 126
 
127 127
         return $paginator;
128 128
     }
Please login to merge, or discard this patch.
module/Core/src/Paginator/PaginatorServiceFactory.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
25 25
  */
26 26
 class PaginatorServiceFactory implements FactoryInterface
27 27
 {
28
-	public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
29
-	{
30
-		$configArray = $container->get('Config');
31
-		$configArray = isset($configArray['paginator_manager']) ? $configArray['paginator_manager'] : array();
32
-		$config      = new PaginatorServiceConfig($configArray);
33
-		$service   = new PaginatorService($container,$config->toArray());
28
+    public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
29
+    {
30
+        $configArray = $container->get('Config');
31
+        $configArray = isset($configArray['paginator_manager']) ? $configArray['paginator_manager'] : array();
32
+        $config      = new PaginatorServiceConfig($configArray);
33
+        $service   = new PaginatorService($container,$config->toArray());
34 34
 		
35
-		return $service;
36
-	}
35
+        return $service;
36
+    }
37 37
 }
Please login to merge, or discard this patch.
module/Core/src/Service/EntityEraser/DependencyResultCollection.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
                     : [
160 160
                         'description' => isset($result[2]) ? $result[2] : null,
161 161
                         'viewScript' => isset($result[3]) ? $result[3] : null,
162
-                      ],
162
+                        ],
163 163
             ];
164 164
         }
165 165
 
Please login to merge, or discard this patch.