Completed
Push — develop ( 39c196...b11cac )
by Carsten
26:33
created
module/Auth/src/Auth/Form/UserInfoFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
                 'attributes' => [
122 122
                     'data-placeholder' => /*@translate*/ 'please select',
123 123
                     'data-allowclear' => 'false',
124
-                    'data-searchbox' => -1,  // hide the search box
124
+                    'data-searchbox' => -1, // hide the search box
125 125
                     'required' => true, // mark label as required
126 126
                 ],
127 127
             )
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/ListFilterAdminFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
                 ),
56 56
                 'attributes' => [
57 57
                     'value' => '10', // default distance
58
-                    'data-searchbox'  => -1,  // hide the search box
58
+                    'data-searchbox'  => -1, // hide the search box
59 59
                     'data-allowclear' => 'false', // allow to clear a selected value
60 60
                     'data-placeholder'  => /*@translate*/ 'Distance',
61 61
                 ]
Please login to merge, or discard this patch.
src/Organizations/Controller/Plugin/GetOrganizationHandler.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
      */
41 41
     protected $acl;
42 42
 
43
-    public function __construct(RepositoryService $repositoryService,AuthenticationService $auth, Acl $acl) {
44
-        $this->repositoryService=$repositoryService;
45
-        $this->auth=$auth;
46
-        $this->acl=$acl;
43
+    public function __construct(RepositoryService $repositoryService, AuthenticationService $auth, Acl $acl) {
44
+        $this->repositoryService = $repositoryService;
45
+        $this->auth = $auth;
46
+        $this->acl = $acl;
47 47
     }
48 48
 
49 49
     public function __invoke()
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
      * @throws UnauthorizedAccessException
60 60
      * @throws \Doctrine\ODM\MongoDB\LockException
61 61
      */
62
-    public function process(Params $params,$allowDraft = true)
62
+    public function process(Params $params, $allowDraft = true)
63 63
     {
64
-        $repositories   = $this->repositoryService;
64
+        $repositories = $this->repositoryService;
65 65
         $organizationRepository = $this->repositoryService->get('Organizations/Organization');
66 66
 
67 67
         $idFromRoute = $params('id', 0);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $user = $this->auth->getUser(); /* @var $user \Auth\Entity\UserInterface */
70 70
 
71 71
         /* @var $organizationId string */
72
-        $organizationId = empty($idFromRoute)?$idFromSubForm:$idFromRoute;
72
+        $organizationId = empty($idFromRoute) ? $idFromSubForm : $idFromRoute;
73 73
 
74 74
         $editOwnOrganization = '__my__' === $organizationId;
75 75
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             return $organization;
105 105
         }
106 106
 
107
-        $organization      = $organizationRepository->find($organizationId);
107
+        $organization = $organizationRepository->find($organizationId);
108 108
         if (!$organization) {
109 109
             throw new \RuntimeException('No Organization found with id "' . $organizationId . '"');
110 110
         }
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/Template.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function setLabelQualifications($labelQualifications)
83 83
     {
84
-        $this->labelQualifications=$labelQualifications;
84
+        $this->labelQualifications = $labelQualifications;
85 85
         return $this;
86 86
     }
87 87
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function setLabelBenefits($labelBenefits)
106 106
     {
107
-        $this->labelBenefits=$labelBenefits;
107
+        $this->labelBenefits = $labelBenefits;
108 108
         return $this;
109 109
     }
110 110
 
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/IndexController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $query = $this->params()->fromQuery();
48 48
 
49
-        switch($this->plugin){
49
+        switch ($this->plugin) {
50 50
             case 'photon':
51 51
                 /* @var Plugin\Photon $geoApi */
52 52
                 $geoApi = $this->getPluginManager()->get('geo/photon');
@@ -60,19 +60,19 @@  discard block
 block discarded – undo
60 60
         }
61 61
         $result = array();
62 62
         if (!empty($query['q'])) {
63
-            $result = $geoApi($query['q'], $this->geoCoderUrl, $this->params('lang','de'));
63
+            $result = $geoApi($query['q'], $this->geoCoderUrl, $this->params('lang', 'de'));
64 64
         }
65 65
         $viewModel = new JsonModel($result);
66 66
         /* @var \Zend\Http\Response $response */
67 67
         $response = $this->getResponse();
68 68
 
69 69
         $date = new \DateTime();
70
-        $expires=$date->modify('+100 day');
70
+        $expires = $date->modify('+100 day');
71 71
 
72 72
         $response->getHeaders()
73
-            ->addHeaderLine('Pragma','cache')
74
-            ->addHeaderLine('Cache-Control',"max-age=290304000, public")
75
-            ->addHeaderLine('Expires',$expires->format(\DateTime::RFC1036));
73
+            ->addHeaderLine('Pragma', 'cache')
74
+            ->addHeaderLine('Cache-Control', "max-age=290304000, public")
75
+            ->addHeaderLine('Expires', $expires->format(\DateTime::RFC1036));
76 76
 
77 77
         return $viewModel;
78 78
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Repository/AbstractRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      */
84 84
     public function store($entity)
85 85
     {
86
-        if ( !($entity instanceOf $this->entityPrototype) ) {
86
+        if (!($entity instanceOf $this->entityPrototype)) {
87 87
             throw new \InvalidArgumentException(sprintf(
88 88
                 'Entity must be of type %s but recieved %s instead',
89 89
                 get_class($this->entityPrototype),
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormEditorLight.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
 {
20 20
     protected $theme = 'light';
21 21
 
22
-    protected $languagePath="/js/tinymce-lang/";
22
+    protected $languagePath = "/js/tinymce-lang/";
23 23
 }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/IndexController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      */
159 159
     public function typeaheadAction()
160 160
     {
161
-        $query      = $this->params()->fromQuery('q', '*');
161
+        $query = $this->params()->fromQuery('q', '*');
162 162
 
163 163
         $return = array();
164 164
         foreach ($this->jobRepository->getTypeaheadResults($query, $this->auth('id')) as $id => $item) {
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/StatusInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * A new job was created.
23 23
      */
24
-    const CREATED =  /*@translate*/ 'created';
24
+    const CREATED = /*@translate*/ 'created';
25 25
 
26 26
     /**
27 27
      * A new job is waiting for approval
@@ -36,12 +36,12 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * A Job is accepted an is going to be published
38 38
      */
39
-    const PUBLISH  = /*@translate*/ 'publish';
39
+    const PUBLISH = /*@translate*/ 'publish';
40 40
 
41 41
     /**
42 42
      * A Job is online
43 43
      */
44
-    const ACTIVE  = /*@translate*/ 'active';
44
+    const ACTIVE = /*@translate*/ 'active';
45 45
 
46 46
     /**
47 47
      * A job was is set inactive
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * A job was expired
53 53
      */
54
-    const EXPIRED  = /*@translate*/ 'expired';
54
+    const EXPIRED = /*@translate*/ 'expired';
55 55
     
56 56
     public function __construct($status = self::CREATED);
57 57
 
Please login to merge, or discard this patch.