Completed
Push — develop ( 06c328...a78ff6 )
by Carsten
17:00 queued 08:38
created
module/Install/src/Listener/LanguageSetter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,13 +79,13 @@
 block discarded – undo
79 79
 
80 80
         /* Set locale */
81 81
         $translator = $e->getApplication()->getServiceManager()->get('mvctranslator');
82
-        $locale     = $lang . '_' . strtoupper($lang);
82
+        $locale     = $lang.'_'.strtoupper($lang);
83 83
 
84 84
         setlocale(
85 85
             LC_ALL,
86 86
             array(
87
-                            $locale . ".utf8",
88
-                            $locale . ".iso88591",
87
+                            $locale.".utf8",
88
+                            $locale.".iso88591",
89 89
                             $locale,
90 90
                             substr($locale, 0, 2),
91 91
                             'de_DE.utf8',
Please login to merge, or discard this patch.
module/Install/src/Controller/Plugin/YawikConfigCreator.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,8 +93,8 @@
 block discarded – undo
93 93
         // Create a file with the class/file map.
94 94
         // Stupid syntax highlighters make separating < from PHP declaration necessary
95 95
         $content = '<' . "?php\n"
96
-                   . "\n"
97
-                   . 'return ' . var_export($config, true) . ';';
96
+                    . "\n"
97
+                    . 'return ' . var_export($config, true) . ';';
98 98
 
99 99
         // Fix \' strings from injected DIRECTORY_SEPARATOR usage in iterator_apply op
100 100
         $content = str_replace("\\'", "'", $content);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,9 +92,9 @@  discard block
 block discarded – undo
92 92
 
93 93
         // Create a file with the class/file map.
94 94
         // Stupid syntax highlighters make separating < from PHP declaration necessary
95
-        $content = '<' . "?php\n"
95
+        $content = '<'."?php\n"
96 96
                    . "\n"
97
-                   . 'return ' . var_export($config, true) . ';';
97
+                   . 'return '.var_export($config, true).';';
98 98
 
99 99
         // Fix \' strings from injected DIRECTORY_SEPARATOR usage in iterator_apply op
100 100
         $content = str_replace("\\'", "'", $content);
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         $content = str_replace('array (', 'array(', $content);
108 108
 
109 109
         // Make the file end by EOL
110
-        $content = rtrim($content, "\n") . "\n";
110
+        $content = rtrim($content, "\n")."\n";
111 111
 
112 112
         return $content;
113 113
 
Please login to merge, or discard this patch.
module/Applications/src/Applications/Entity/Attachment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function getUri()
35 35
     {
36
-        return "/file/Applications.Attachment/" . $this->id . "/" .urlencode($this->name);
36
+        return "/file/Applications.Attachment/".$this->id."/".urlencode($this->name);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
module/Applications/src/Applications/Entity/Status.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@
 block discarded – undo
50 50
 
51 51
     public function __construct($status = self::INCOMING)
52 52
     {
53
-        $constant = 'self::' . strtoupper($status);
53
+        $constant = 'self::'.strtoupper($status);
54 54
         if (!defined($constant)) {
55
-            throw new \DomainException('Unknown status: ' . $status);
55
+            throw new \DomainException('Unknown status: '.$status);
56 56
         }
57
-        $this->name=constant($constant);
58
-        $this->order=$this->getOrder();
57
+        $this->name = constant($constant);
58
+        $this->order = $this->getOrder();
59 59
     }
60 60
 
61 61
     /**
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/Attributes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
     public function init()
26 26
     {
27 27
         $this->setIsDisableCapable(false)
28
-             ->setIsDisableElementsCapable(false)
29
-             ->setAttribute('data-submit-on', 'checkbox');
28
+                ->setIsDisableElementsCapable(false)
29
+                ->setAttribute('data-submit-on', 'checkbox');
30 30
 
31 31
         $this->add(
32 32
             array(
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 'route' => 'lang/content',
55 55
                 'params' => array(
56 56
                     'view' => 'applications-privacy-policy'
57
-                 )
57
+                    )
58 58
             ),
59 59
             'attributes' => array(
60 60
                 'data-validate' => 'acceptedPrivacyPolicy',
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/BaseFieldset.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     public function init()
35 35
     {
36 36
         $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator())
37
-             ->setName('base');
37
+                ->setName('base');
38 38
 
39 39
         $this->add(
40 40
             array(
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/CarbonCopyFieldset.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function init()
21 21
     {
22 22
         $this->setName('carboncopy')
23
-             ->setLabel('Options');
23
+                ->setLabel('Options');
24 24
 
25 25
         $this->add(
26 26
             array(
Please login to merge, or discard this patch.
module/Applications/src/Applications/Repository/Filter/PaginationQuery.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @var String
25 25
      */
26
-    protected $repositoryName="Applications/Application";
26
+    protected $repositoryName = "Applications/Application";
27 27
     
28 28
     /**
29 29
      * Sortable fields
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             $searchPatterns = array();
82 82
     
83 83
             foreach (explode(' ', $search) as $searchItem) {
84
-                $searchPatterns[] = new \MongoRegex('/^' . $searchItem . '/');
84
+                $searchPatterns[] = new \MongoRegex('/^'.$searchItem.'/');
85 85
             }
86 86
             $queryBuilder->field('keywords')->all($searchPatterns);
87 87
         }
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
          * and which are not in draft mode
92 92
          */
93 93
         $queryBuilder->field('permissions.view')->equals($userID)
94
-                     ->field('isDraft')->equals(false);
94
+                        ->field('isDraft')->equals(false);
95 95
 
96 96
         if (!isset($value['sort'])) {
97 97
             $value['sort'] = '-date';
Please login to merge, or discard this patch.
module/Applications/src/Applications/Controller/MultimanageController.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,8 +137,8 @@
 block discarded – undo
137 137
             $application->changeStatus(
138 138
                 Status::REJECTED,
139 139
                 sprintf(
140
-                           /*@translate */ 'Mail was sent to %s',
141
-                                           $application->contact->email
140
+                            /*@translate */ 'Mail was sent to %s',
141
+                                            $application->contact->email
142 142
                 )
143 143
             );
144 144
             $repositoryService->store($application);
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $hidden = '';
71 71
         $displayNames = array();
72 72
         foreach ($elements as $element) {
73
-            $hidden .= '<input type="hidden" name="elements[]" value="' . $element . '">';
73
+            $hidden .= '<input type="hidden" name="elements[]" value="'.$element.'">';
74 74
             $application = $repository->find($element);
75 75
             $isAllowed = $this->acl()->test($application, 'change');
76 76
             if ($isAllowed) {
@@ -89,12 +89,12 @@  discard block
 block discarded – undo
89 89
             array(
90 90
             'ok' => true,
91 91
             'header' => $translator->translate('reject the applicants'),
92
-            'content' => '<form action="' . $actionUrl . '">' .
93
-            $hidden .
92
+            'content' => '<form action="'.$actionUrl.'">'.
93
+            $hidden.
94 94
             '<input class=" form-control " name="mail-subject" value="'
95
-                . $mailSubject . '"><br /><br />' .
95
+                . $mailSubject.'"><br /><br />'.
96 96
             '<textarea class=" form-control " id="mail-content" name="mail-content">'
97
-                . $mailText . '</textarea></form>'
97
+                . $mailText.'</textarea></form>'
98 98
             )
99 99
         );
100 100
     }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             $repositoryService->store($application);
143 143
             unset($mail);
144 144
         }
145
-        return new JsonModel(array('ok' => true, ));
145
+        return new JsonModel(array('ok' => true,));
146 146
     }
147 147
     
148 148
     /**
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function moveAction()
154 154
     {
155
-        $ids = (array)$this->params()->fromPost('ids');
155
+        $ids = (array) $this->params()->fromPost('ids');
156 156
         $moved = 0;
157 157
         
158 158
         if ($ids) {
Please login to merge, or discard this patch.