Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Applications/src/Applications/Form/SettingsFieldset.php 1 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/NewApplication.php 1 patch
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.
module/Applications/src/Applications/Options/ModuleOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @var array $attachmentsMimeType
36 36
      */
37
-    protected $attachmentsMimeType = array('image','applications/pdf',
37
+    protected $attachmentsMimeType = array('image', 'applications/pdf',
38 38
         'application/x-pdf',
39 39
         'application/acrobat',
40 40
         'applications/vnd.pdf',
Please login to merge, or discard this patch.
module/Applications/src/Applications/Repository/Application.php 1 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.
src/Applications/Repository/Event/UpdateFilesPermissionsSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $dm  = $eventArgs->getDocumentManager();
43 43
         $uow = $dm->getUnitOfWork();
44 44
         
45
-        $filter = function ($element) {
45
+        $filter = function($element) {
46 46
             return $element instanceof ApplicationInterface
47 47
                    && $element->getPermissions()->hasChanged();
48 48
         };
Please login to merge, or discard this patch.
module/Applications/src/Applications/Repository/Filter/PaginationQuery.php 1 patch
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.
module/Applications/src/Applications/Repository/Subscriber.php 1 patch
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.
module/Auth/Module.php 1 patch
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.
module/Auth/config/module.config.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                  * for multiple paths.
24 24
                  * example https://github.com/doctrine/DoctrineORMModule
25 25
                  */
26
-                'paths' => array( __DIR__ . '/../src/Auth/Entity'),
26
+                'paths' => array(__DIR__ . '/../src/Auth/Entity'),
27 27
             ),
28 28
         ),
29 29
     ),
@@ -97,35 +97,35 @@  discard block
 block discarded – undo
97 97
         )
98 98
     ),
99 99
     'hybridauth' => array(
100
-        "Facebook" => array (
100
+        "Facebook" => array(
101 101
             "enabled" => true,
102
-            "keys"    => array ( "id" => "", "secret" => "" ),
102
+            "keys"    => array("id" => "", "secret" => ""),
103 103
             "scope"      => 'email, user_about_me, user_birthday, user_hometown, user_website',
104 104
             "display" => 'popup',
105 105
         ),
106
-        "LinkedIn" => array (
106
+        "LinkedIn" => array(
107 107
             "enabled" => true,
108
-            "keys"    => array ( "key" => "", "secret" => "" ),
108
+            "keys"    => array("key" => "", "secret" => ""),
109 109
         ),
110
-        "XING" => array (
110
+        "XING" => array(
111 111
             "enabled" => true,
112 112
             // This is a hack due to bad design of HybridAuth
113 113
             // There's no simpler way to include "additional-providers"
114
-            "wrapper" => array (
114
+            "wrapper" => array(
115 115
                 'class' => 'Hybrid_Providers_XING',
116 116
                 'path' => __FILE__,
117 117
             ),
118
-            "keys"    => array ( "key" => "", "secret" => "" ),
118
+            "keys"    => array("key" => "", "secret" => ""),
119 119
         ),
120
-        "Github" => array (
120
+        "Github" => array(
121 121
             "enabled" => true,
122 122
             // This is a hack due to bad design of HybridAuth
123 123
             // There's no simpler way to include "additional-providers"
124
-            "wrapper" => array (
124
+            "wrapper" => array(
125 125
                 'class' => 'Hybrid_Providers_Github',
126 126
                 'path' => __FILE__,
127 127
             ),
128
-            "keys"    => array ( "key" => "", "secret" => "" ),
128
+            "keys"    => array("key" => "", "secret" => ""),
129 129
         ),
130 130
 
131 131
     ),
Please login to merge, or discard this patch.