Completed
Branch develop (7585df)
by Carsten
11:01
created
Core/src/Core/Repository/DoctrineMongoODM/Types/TimezoneAwareDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         }
100 100
         
101 101
         $timestamp = $value['date']->sec;
102
-        $date = new \DateTime('@'.$timestamp);
102
+        $date = new \DateTime('@' . $timestamp);
103 103
         $date->setTimezone(new \DateTimeZone($value['tz']));
104 104
         return $date;
105 105
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Service/Config.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,11 +89,11 @@  discard block
 block discarded – undo
89 89
             $config    = $this->serviceManager->get('Config');
90 90
             $appConfig = $this->serviceManager->get('ApplicationConfig');
91 91
             foreach ($appConfig['modules'] as $module) {
92
-                $this->config[$module] = array_key_exists($module, $config)?$config[$module]:array();
92
+                $this->config[$module] = array_key_exists($module, $config) ? $config[$module] : array();
93 93
             }
94 94
         }
95 95
         if (isset($namespace)) {
96
-            return array_key_exists($namespace, $this->config)?$this->config[$namespace]: array();
96
+            return array_key_exists($namespace, $this->config) ? $this->config[$namespace] : array();
97 97
         }
98 98
         return $this->config;
99 99
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         }
107 107
         if (!empty($this->map[$key])) {
108 108
             $module          = $this->getNamespace();
109
-            return isset($this->map[$key][$module])?$this->map[$key][$module]:array();
109
+            return isset($this->map[$key][$module]) ? $this->map[$key][$module] : array();
110 110
         }
111 111
         return array();
112 112
     }
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 
15 15
 class OrganizationName extends AbstractRepository
16 16
 {
17
+    /**
18
+     * @param string $name
19
+     */
17 20
     public function findbyName($name, $create = true)
18 21
     {
19 22
         $entity = $this->findOneBy(array('name' => $name));
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/InsertFile/FileEvent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         foreach ($this->fileNames as $obj) {
61 61
             if (is_string($obj)) {
62 62
                 if (array_key_exists($obj, $this->fileObjects)) {
63
-                     $erg[] = $this->fileObjects[$obj];
63
+                        $erg[] = $this->fileObjects[$obj];
64 64
                 }
65 65
             } else {
66 66
                 $erg[] = $obj;
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Rating.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,9 +66,9 @@
 block discarded – undo
66 66
         }
67 67
         
68 68
         $output = '<div class="br-widget br-readonly '
69
-                . ('compact' == $mode ? ' br-compact' : '' )
69
+                . ('compact' == $mode ? ' br-compact' : '')
70 70
                 . '" title="' . $this->getView()->translate(self::$ratingValueMap[$rating]) . '">';
71
-        for ($i=1; $i<6; $i++) {
71
+        for ($i = 1; $i < 6; $i++) {
72 72
             $class = $i <= $rating ? 'br-selected' : '';
73 73
             $class .= $i == $rating ? ' br-current' : '';
74 74
             
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Salutation.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function __invoke($gender)
24 24
     {
25
-        $return="";
25
+        $return = "";
26 26
         switch ($gender) {
27 27
             case "male":
28 28
                 $return = "Mr.";
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Service/HeadScriptFactory.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 namespace Core\View\Helper\Service;
11 11
 
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
             }
59 59
             
60 60
             if (is_string($specs)) {
61
-                  $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array');
62
-                  continue;
61
+                    $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array');
62
+                    continue;
63 63
             }
64 64
             
65 65
             foreach ($specs as $spec) {
Please login to merge, or discard this patch.
module/Cv/config/module.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
                  * for multiple paths.
16 16
                  * example https://github.com/doctrine/DoctrineORMModule
17 17
                  */
18
-                'paths' => array( __DIR__ . '/../src/Cv/Entity'),
18
+                'paths' => array(__DIR__ . '/../src/Cv/Entity'),
19 19
             ),
20 20
         ),
21 21
     ),
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/ComputerSkill.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function setName($name)
35 35
     {
36
-        $this->name=$name;
36
+        $this->name = $name;
37 37
     }
38 38
 
39 39
     /**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function setLevel($level)
53 53
     {
54
-        $this->level=$level;
54
+        $this->level = $level;
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/Education.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     public function setCurrentIndicator($currentIndicator)
80 80
     {
81
-        $this->currentIndicator=$currentIndicator;
81
+        $this->currentIndicator = $currentIndicator;
82 82
         return $this;
83 83
     }
84 84
     
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.