Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Core/src/Core/Paginator/PaginatorServiceFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $configArray = isset($configArray['paginator_manager']) ? $configArray['paginator_manager'] : array();
33 33
         $config      = new PaginatorServiceConfig($configArray);
34 34
 
35
-        $service   = new PaginatorService($config);
35
+        $service = new PaginatorService($config);
36 36
 
37 37
         return $service;
38 38
     }
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Core\Paginator;
12 12
 
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 {
24 24
 
25 25
     /** (non-PHPdoc)
26
-    * @see \Zend\ServiceManager\FactoryInterface::createService()
27
-    */
26
+     * @see \Zend\ServiceManager\FactoryInterface::createService()
27
+     */
28 28
     public function createService(ServiceLocatorInterface $serviceLocator)
29 29
     {
30 30
 
Please login to merge, or discard this patch.
module/Core/src/Core/Repository/DoctrineMongoODM/Event/EventArgs.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
     
46 46
     public function __call($method, $params)
47 47
     {
48
-        $type   = substr($method, 0, 3);
48
+        $type = substr($method, 0, 3);
49 49
         
50 50
         if ('get' == $type || 'set' == $type) {
51
-            $filter = function ($match) {
51
+            $filter = function($match) {
52 52
                 return '_' . strtolower($match[0]);
53 53
             };
54 54
             $key = lcfirst(substr($method, 3));
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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.
Core/Repository/DoctrineMongoODM/Event/GenerateSearchKeywordsListener.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         }
59 59
         
60 60
         
61
-        $dm         = $eventArgs->getDocumentManager();
61
+        $dm = $eventArgs->getDocumentManager();
62 62
         $uow       = $dm->getUnitOfWork();
63 63
         $changeset = $uow->getDocumentChangeset($document);
64 64
         $filter    = $this->getKeywordsFilter();
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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.
src/Core/Repository/DoctrineMongoODM/Event/PreUpdateDocumentsSubscriber.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
         $document->preUpdate($prePersist);
43 43
         
44 44
         if (!$prePersist) {
45
-            $dm         = $eventArgs->getDocumentManager();
46
-            $uow       = $dm->getUnitOfWork();
45
+            $dm = $eventArgs->getDocumentManager();
46
+            $uow = $dm->getUnitOfWork();
47 47
             $uow->recomputeSingleDocumentChangeSet($dm->getClassMetadata(get_class($document)), $document);
48 48
         }
49 49
 
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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.
Core/src/Core/Repository/DoctrineMongoODM/Types/TimezoneAwareDate.php 2 patches
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.
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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/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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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.