Completed
Push — develop ( f7afa8...39c196 )
by Carsten
11s
created
module/Cv/src/Cv/Factory/Form/SkillCollectionFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
         $container = new \Core\Form\CollectionContainer('CvEmploymentForm', new \Cv\Entity\Employment());
17 17
         $container->setLabel(/*@translate */ 'Employment history');
18 18
         
19
-		return $container;
19
+        return $container;
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
module/Cv/src/Cv/Factory/Form/LanguageSkillCollectionFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
         $container = new \Core\Form\CollectionContainer('CvEmploymentForm', new \Cv\Entity\Employment());
17 17
         $container->setLabel(/*@translate */ 'Employment history');
18 18
         
19
-		return $container;
19
+        return $container;
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/EmptySummaryAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function getEmptySummaryNotice()
52 52
     {
53
-        if (! isset($this->emptySummaryNotice) && property_exists($this, 'defaultEmptySummaryNotice')) {
53
+        if (!isset($this->emptySummaryNotice) && property_exists($this, 'defaultEmptySummaryNotice')) {
54 54
             $this->emptySummaryNotice = $this->defaultEmptySummaryNotice;
55 55
         }
56 56
         
Please login to merge, or discard this patch.
module/Core/src/Core/I18n/Locale.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -108,10 +108,10 @@
 block discarded – undo
108 108
     }
109 109
     
110 110
     /**
111
-	 * @return string
112
-	 */
113
-	public function getDefaultLanguage()
114
-	{
115
-		return $this->defaultLanguage;
116
-	}
111
+     * @return string
112
+     */
113
+    public function getDefaultLanguage()
114
+    {
115
+        return $this->defaultLanguage;
116
+    }
117 117
 }
Please login to merge, or discard this patch.
module/Install/config/module.config.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -78,12 +78,12 @@  discard block
 block discarded – undo
78 78
         'exception_template' => 'error/index',
79 79
         // Map template to files. Speeds up the lookup through the template stack.
80 80
         'template_map' => array(
81
-            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
82
-            'error/index' => __DIR__ . '/../view/error/index.phtml',
81
+            'layout/layout' => __DIR__.'/../view/layout/layout.phtml',
82
+            'error/index' => __DIR__.'/../view/error/index.phtml',
83 83
         ),
84 84
         // Where to look for view templates not mapped above
85 85
         'template_path_stack' => array(
86
-            __DIR__ . '/../view',
86
+            __DIR__.'/../view',
87 87
         ),
88 88
     ),
89 89
 
@@ -91,13 +91,13 @@  discard block
 block discarded – undo
91 91
         'translation_file_patterns' => array(
92 92
             array(
93 93
                 'type' => 'gettext',
94
-                'base_dir' => __DIR__ . '/../language',
94
+                'base_dir' => __DIR__.'/../language',
95 95
                 'pattern' => '%s.mo',
96 96
                 'text_domain' => 'Install',
97 97
             ),
98 98
             [
99 99
                 'type'     => 'phparray',
100
-                'base_dir' => __DIR__ . '/../../Core/language',
100
+                'base_dir' => __DIR__.'/../../Core/language',
101 101
                 'pattern' => 'Zend_Validate.%s.php',
102 102
                 'text_domain' => 'default',
103 103
             ],
Please login to merge, or discard this patch.
module/Install/src/Form/Installation.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -28,52 +28,52 @@  discard block
 block discarded – undo
28 28
 
29 29
         $this->setAttributes(
30 30
             array(
31
-                                 'method' => 'post',
32
-                             )
31
+                                    'method' => 'post',
32
+                                )
33 33
         );
34 34
 
35 35
         $this->add(
36 36
             array(
37
-                       'type'       => 'Text',
38
-                       'name'       => 'db_conn',
39
-                       'options'    => array(
40
-                           'label' => /* @translate */ 'Database connection string',
41
-                       ),
42
-                       'attributes' => array(
43
-                           'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
-                       ),
37
+                        'type'       => 'Text',
38
+                        'name'       => 'db_conn',
39
+                        'options'    => array(
40
+                            'label' => /* @translate */ 'Database connection string',
41
+                        ),
42
+                        'attributes' => array(
43
+                            'placeholder' => 'mongodb://localhost:27017/YAWIK',
44
+                        ),
45 45
 
46
-                   )
46
+                    )
47 47
         );
48 48
 
49 49
         $this->add(
50 50
             array(
51
-                       'type'    => 'Text',
52
-                       'name'    => 'username',
53
-                       'options' => array(
54
-                           'label' => /* @translate */ 'Initial user name',
55
-                       ),
56
-                   )
51
+                        'type'    => 'Text',
52
+                        'name'    => 'username',
53
+                        'options' => array(
54
+                            'label' => /* @translate */ 'Initial user name',
55
+                        ),
56
+                    )
57 57
         );
58 58
 
59 59
         $this->add(
60 60
             array(
61
-                       'type'    => 'Password',
62
-                       'name'    => 'password',
63
-                       'options' => array(
64
-                           'label' => /* @translate */ 'Password',
65
-                       ),
66
-                   )
61
+                        'type'    => 'Password',
62
+                        'name'    => 'password',
63
+                        'options' => array(
64
+                            'label' => /* @translate */ 'Password',
65
+                        ),
66
+                    )
67 67
         );
68 68
 
69 69
         $this->add(
70 70
             array(
71
-                       'type' => 'Text',
72
-                       'name' => 'email',
73
-                       'options' => array(
74
-                           'label' => /* @translate */ 'Email address for system messages',
75
-                       ),
76
-                   )
71
+                        'type' => 'Text',
72
+                        'name' => 'email',
73
+                        'options' => array(
74
+                            'label' => /* @translate */ 'Email address for system messages',
75
+                        ),
76
+                    )
77 77
         );
78 78
     }
79 79
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 ),
89 89
                 'validators'        => array(
90 90
                     array('name' => 'Install/ConnectionString',
91
-                          'break_chain_on_failure' => true),
91
+                            'break_chain_on_failure' => true),
92 92
                     array('name' => 'Install/Connection'),
93 93
                 ),
94 94
             ),
Please login to merge, or discard this patch.
module/Install/src/Controller/Index.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
             $routeMatch->setParam('action', $p);
43 43
             $response = $this->getResponse();
44 44
             $response->getHeaders()
45
-                     ->addHeaderLine('Content-Type', 'application/json')
46
-                     ->addHeaderLine('Content-Encoding', 'utf8');
45
+                        ->addHeaderLine('Content-Type', 'application/json')
46
+                        ->addHeaderLine('Content-Encoding', 'utf8');
47 47
         }
48 48
     }
49 49
 
@@ -60,10 +60,10 @@  discard block
 block discarded – undo
60 60
 
61 61
         return $this->createViewModel(
62 62
             array(
63
-                                          'prerequisites' => $prereqs,
64
-                                          'form'          => $form,
65
-                                          'lang'          => $this->params('lang'),
66
-                                      )
63
+                                            'prerequisites' => $prereqs,
64
+                                            'form'          => $form,
65
+                                            'lang'          => $this->params('lang'),
66
+                                        )
67 67
         );
68 68
     }
69 69
 
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
         if (!$form->isValid()) {
96 96
             return $this->createJsonResponse(
97 97
                 array(
98
-                                                 'ok'     => false,
99
-                                                 'errors' => $form->getMessages(),
100
-                                             )
98
+                                                    'ok'     => false,
99
+                                                    'errors' => $form->getMessages(),
100
+                                                )
101 101
             );
102 102
         }
103 103
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Controller/RemoveControllerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      *
20 20
      * @param ServiceLocatorInterface $serviceLocator
21 21
      *
22
-     * @return UsersController
22
+     * @return \Auth\Controller\RemoveController
23 23
      */
24 24
     public function createService(ServiceLocatorInterface $serviceLocator)
25 25
     {
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Auth/Dependency/ListListener.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,9 +60,11 @@
 block discarded – undo
60 60
     {
61 61
         $items = [];
62 62
         
63
-        foreach ($this->repository->getUserOrganizations($user->getId(), $limit) as $organization) /* @var $organization \Organizations\Entity\Organization */
63
+        foreach ($this->repository->getUserOrganizations($user->getId(), $limit) as $organization) {
64
+            /* @var $organization \Organizations\Entity\Organization */
64 65
         {
65 66
             $name = $organization->getOrganizationName();
67
+        }
66 68
             $title = $name ? $name->getName() : '**** DRAFT ****';
67 69
             $url = $view->url('lang/organizations/edit', ['id' => $organization->getId()]);
68 70
             $items[] = new ListItem($title, $url);
Please login to merge, or discard this patch.