Completed
Branch develop (bc6cb3)
by Carsten
37:10 queued 26:53
created
module/Applications/src/Applications/Form/CarbonCopyFieldset.php 1 patch
Indentation   +14 added lines, -14 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
 /** AttachmentsFieldset.php */
11 11
 namespace Applications\Form;
@@ -21,19 +21,19 @@  discard block
 block discarded – undo
21 21
     public function init()
22 22
     {
23 23
         $this->setName('carboncopy')
24
-             ->setLabel('Options');
24
+                ->setLabel('Options');
25 25
                      
26
-          $this->add(
27
-              array('type' => 'Zend\Form\Element\Checkbox',
28
-                           'name' => 'carboncopy',
26
+            $this->add(
27
+                array('type' => 'Zend\Form\Element\Checkbox',
28
+                            'name' => 'carboncopy',
29 29
              
30
-                           'options' => array(
30
+                            'options' => array(
31 31
                                 'checked_value' => '1',
32 32
                                 'unchecked_value' => '0',
33 33
                                 'label' => 'send me a carbon copy',
34
-                                              )
35
-                           )
36
-          );
34
+                                                )
35
+                            )
36
+            );
37 37
           
38 38
           
39 39
     }
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/ContactContainer.php 1 patch
Indentation   +7 added lines, -7 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
 /**  */
11 11
 namespace Applications\Form;
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     public function init()
24 24
     {
25 25
         $this->setIsDisableCapable(false)
26
-             ->setIsDisableElementsCapable(false);
26
+                ->setIsDisableElementsCapable(false);
27 27
 
28 28
         $this->setForms(
29 29
             array(
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/SettingsFieldset.php 2 patches
Indentation   +14 added lines, -14 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 Applications\Form;
11 11
 
@@ -37,14 +37,14 @@  discard block
 block discarded – undo
37 37
     public function init()
38 38
     {
39 39
         $this->setName('emails')
40
-             ->setLabel(/* @translate */ 'E-Mail Notifications');
41
-             //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
40
+                ->setLabel(/* @translate */ 'E-Mail Notifications');
41
+                //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
42 42
 
43 43
         $this->add(
44 44
             array('type' => 'Zend\Form\Element\Checkbox',
45 45
                 'name' => 'mailAccess',
46 46
                 'options' => array('label' => /* @translate */ 'receive E-Mail alert',
47
-                                   'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'),
47
+                                    'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'),
48 48
                 )
49 49
         );
50 50
         $this->add(
@@ -58,13 +58,13 @@  discard block
 block discarded – undo
58 58
             array('type' => 'Zend\Form\Element\Checkbox',
59 59
                 'name' => 'autoConfirmMail',
60 60
                 'options' => array('label' => /* @translate */ 'confirm application immidiatly after submit',
61
-                                   'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'),
61
+                                    'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'),
62 62
                 )
63 63
         );
64 64
         $this->add(
65 65
             array('type' => 'Zend\Form\Element\Textarea',
66 66
                         'name' => 'mailConfirmationText',
67
-                         'options' => array('label' => /* @translate */ 'Confirmation mail text',
67
+                            'options' => array('label' => /* @translate */ 'Confirmation mail text',
68 68
                                             'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li></ul>' ))
69 69
         );
70 70
         
@@ -80,15 +80,15 @@  discard block
 block discarded – undo
80 80
             array('type' => 'Zend\Form\Element\Textarea',
81 81
                 'name' => 'mailRejectionText',
82 82
                 'options' => array('label' => /* @translate */ 'Rejection mail text',
83
-                                           'description' => /* @translate */ 'default text of the refusal of an application to the applicant. You can use all variables of the acknowledgment of receipt mail.'))
83
+                                            'description' => /* @translate */ 'default text of the refusal of an application to the applicant. You can use all variables of the acknowledgment of receipt mail.'))
84 84
         );
85 85
         
86 86
         $this->add(
87 87
             array('type' => 'Zend\Form\Element\Checkbox',
88 88
                 'name' => 'mailBCC',
89 89
                 'options' => array('label' => /* @translate */ 'get blind carbon copy of all own mails',
90
-                                   'long_label' => /* @translate */ 'if checked, you\'ll get a copy of all mails you send.',
91
-                                           'value_options' => array(0,1, true, false)))
90
+                                    'long_label' => /* @translate */ 'if checked, you\'ll get a copy of all mails you send.',
91
+                                            'value_options' => array(0,1, true, false)))
92 92
         );
93 93
 
94 94
         $this->add(
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             array('type' => 'Zend\Form\Element\Textarea',
66 66
                         'name' => 'mailConfirmationText',
67 67
                          'options' => array('label' => /* @translate */ 'Confirmation mail text',
68
-                                            'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li></ul>' ))
68
+                                            'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li></ul>'))
69 69
         );
70 70
         
71 71
         $this->add(
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 'name' => 'mailBCC',
89 89
                 'options' => array('label' => /* @translate */ 'get blind carbon copy of all own mails',
90 90
                                    'long_label' => /* @translate */ 'if checked, you\'ll get a copy of all mails you send.',
91
-                                           'value_options' => array(0,1, true, false)))
91
+                                           'value_options' => array(0, 1, true, false)))
92 92
         );
93 93
 
94 94
         $this->add(
Please login to merge, or discard this patch.
module/Applications/src/Applications/Mail/Forward.php 1 patch
Indentation   +10 added lines, -10 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
 /** Forward.php */
11 11
 
@@ -117,15 +117,15 @@  discard block
 block discarded – undo
117 117
     protected function generateHtml()
118 118
     {
119 119
 
120
-         $services = $this->getServiceLocator()->getServiceLocator();
120
+            $services = $this->getServiceLocator()->getServiceLocator();
121 121
 
122
-         /*
122
+            /*
123 123
           * "ViewHelperManager" defined by ZF2
124 124
           *  see http://framework.zend.com/manual/2.0/en/modules/zend.mvc.services.html#viewmanager
125 125
           */
126
-         $viewManager = $services->get('ViewHelperManager');
126
+            $viewManager = $services->get('ViewHelperManager');
127 127
 
128
-         return $viewManager->get("partial")->__invoke('applications/mail/forward', array("application"=>$this->application));
128
+            return $viewManager->get("partial")->__invoke('applications/mail/forward', array("application"=>$this->application));
129 129
 
130 130
     }
131 131
 
Please login to merge, or discard this patch.
module/Applications/src/Applications/Mail/NewApplication.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
      */
96 96
     public function setUser($user)
97 97
     {
98
-        $this->user=$user;
98
+        $this->user = $user;
99 99
         return $this;
100 100
     }
101 101
 
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/Applications/src/Applications/Repository/Application.php 2 patches
Indentation   +11 added lines, -11 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
 namespace Applications\Repository;
10 10
 
11 11
 use Core\Repository\AbstractRepository;
@@ -104,9 +104,9 @@  discard block
 block discarded – undo
104 104
     {
105 105
         $qb = $this->getPaginationQueryBuilder($params);
106 106
         $cursor = $qb->hydrate(false)
107
-                     ->select('_id')
108
-                     ->getQuery()
109
-                     ->execute();
107
+                        ->select('_id')
108
+                        ->getQuery()
109
+                        ->execute();
110 110
         
111 111
         $list = new PaginationList(array_keys(ArrayUtils::iteratorToArray($cursor)));
112 112
         return $list;
@@ -130,8 +130,8 @@  discard block
 block discarded – undo
130 130
     {
131 131
         $auth=$this->getService('AuthenticationService');
132 132
         $qb=$this->createQueryBuilder()
133
-                  ->field("readBy")->notIn(array($auth->getUser()->id))
134
-                  ->field("job")->equals(new \MongoId($job->id));
133
+                    ->field("readBy")->notIn(array($auth->getUser()->id))
134
+                    ->field("job")->equals(new \MongoId($job->id));
135 135
         return $qb->getQuery()->execute();
136 136
     }
137 137
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,8 +128,8 @@
 block discarded – undo
128 128
      */
129 129
     public function loadUnreadApplicationsForJob($job)
130 130
     {
131
-        $auth=$this->getService('AuthenticationService');
132
-        $qb=$this->createQueryBuilder()
131
+        $auth = $this->getService('AuthenticationService');
132
+        $qb = $this->createQueryBuilder()
133 133
                   ->field("readBy")->notIn(array($auth->getUser()->id))
134 134
                   ->field("job")->equals(new \MongoId($job->id));
135 135
         return $qb->getQuery()->execute();
Please login to merge, or discard this patch.
module/Applications/src/Applications/Repository/Filter/PaginationQuery.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 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
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
6
- * @license   MIT
7
- */
3
+     * YAWIK
4
+     *
5
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
6
+     * @license   MIT
7
+     */
8 8
 
9 9
 namespace Organizations\Entity;
10 10
 
Please login to merge, or discard this patch.
module/Applications/src/Applications/Repository/Subscriber.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function findByUri($uri, $create = false)
27 27
     {
28
-        $subscriber = $this->findOneBy(array( "uri" => $uri ));
28
+        $subscriber = $this->findOneBy(array("uri" => $uri));
29 29
         if (!isset($subscriber) && $create) {
30 30
             $subscriber = $this->create();
31 31
             $subscriber->uri = $uri;
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/Auth/Module.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
         $eventManager->attach(
93 93
             MvcEvent::EVENT_ROUTE,
94
-            function (MvcEvent $e) use ($services) {
94
+            function(MvcEvent $e) use ($services) {
95 95
             /** @var CheckPermissionsListener $checkPermissionsListener */
96 96
                 $checkPermissionsListener = $services->get('Auth/CheckPermissionsListener');
97 97
                 $checkPermissionsListener->onRoute($e);
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
         $eventManager->attach(
103 103
             MvcEvent::EVENT_DISPATCH,
104
-            function (MvcEvent $e) use ($services) {
104
+            function(MvcEvent $e) use ($services) {
105 105
             /** @var CheckPermissionsListener $checkPermissionsListener */
106 106
                 $checkPermissionsListener = $services->get('Auth/CheckPermissionsListener');
107 107
                 $checkPermissionsListener->onDispatch($e);
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
- * Auth Module Bootstrap
5
- *
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     * Auth Module Bootstrap
5
+     *
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 namespace Jobs;
11 11
 
Please login to merge, or discard this patch.