Completed
Push — develop ( 60c2a6...7c4b2f )
by Carsten
61:42 queued 47:32
created
module/Applications/src/Applications/Factory/Form/AttachmentsFactory.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
 
10 10
 /**  */
11 11
 namespace Applications\Factory\Form;
@@ -68,11 +68,11 @@  discard block
 block discarded – undo
68 68
     protected function configureForm($form, AbstractOptions $options)
69 69
     {
70 70
         $form->setIsDisableCapable(false)
71
-             ->setIsDisableElementsCapable(false)
72
-             ->setIsDescriptionsEnabled(true)
73
-             ->setDescription(/*@translate*/ 'Attach images or PDF Documents to your application. Drag&drop them, or click into the attachement area. You can upload up to 5MB')
74
-             ->setParam('return', 'file-uri')
75
-             ->setLabel(/*@translate*/ 'Attachments');
71
+                ->setIsDisableElementsCapable(false)
72
+                ->setIsDescriptionsEnabled(true)
73
+                ->setDescription(/*@translate*/ 'Attach images or PDF Documents to your application. Drag&drop them, or click into the attachement area. You can upload up to 5MB')
74
+                ->setParam('return', 'file-uri')
75
+                ->setLabel(/*@translate*/ 'Attachments');
76 76
 
77 77
         /** @var $file FileUpload*/
78 78
         $file = $form->get($this->fileName);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      *
57 57
      * @var string
58 58
      */
59
-    protected $options="Applications/Options";
59
+    protected $options = "Applications/Options";
60 60
 
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/Attributes.php 1 patch
Indentation   +9 added lines, -9 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;
@@ -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/Base.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var string
26 26
      */
27
-    protected $label        = /*@translate*/ 'Cover Letter';
27
+    protected $label = /*@translate*/ 'Cover Letter';
28 28
     
29 29
     /**
30 30
      * {@inheritDoc}
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/Form/BaseFieldset.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
 /** AttachmentsFieldset.php */
11 11
 namespace Applications\Form;
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function init()
38 38
     {
39 39
         $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator())
40
-             ->setName('base');
40
+                ->setName('base');
41 41
              
42 42
         $this->add(
43 43
             array(
Please login to merge, or discard this patch.
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/CommentForm.php 1 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
 /** CommentFieldset.php */
11 11
 namespace Applications\Form;
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/FactsFieldset.php 1 patch
Indentation   +21 added lines, -21 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;
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function init()
36 36
     {
37 37
         $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator())
38
-             ->setName('base');
38
+                ->setName('base');
39 39
 
40 40
         $this->add(
41 41
             array(
@@ -89,20 +89,20 @@  discard block
 block discarded – undo
89 89
 
90 90
         $this->add(
91 91
             array(
92
-                       'name' => 'drivingLicense',
93
-                       'type' => '\Zend\Form\Element\Select',
94
-                       'options' => array(
95
-                           'value_options' => array(
96
-                               '' => '', // needed for jquery select2 to render the placeholder
97
-                               "1"=>/*@translate*/ "Yes",
98
-                               "0"=>/*@translate*/ "No"),
99
-                           'label' => /*@translate*/ 'driving license',
100
-                           'description' => /*@translate*/ 'Do you have a driving license?',
101
-                           'disable_capable' => array(
102
-                               'description' => /*@translate*/ 'Ask the applicant, if he has a driving license.',
103
-                           ),
104
-                       ),
105
-                   )
92
+                        'name' => 'drivingLicense',
93
+                        'type' => '\Zend\Form\Element\Select',
94
+                        'options' => array(
95
+                            'value_options' => array(
96
+                                '' => '', // needed for jquery select2 to render the placeholder
97
+                                "1"=>/*@translate*/ "Yes",
98
+                                "0"=>/*@translate*/ "No"),
99
+                            'label' => /*@translate*/ 'driving license',
100
+                            'description' => /*@translate*/ 'Do you have a driving license?',
101
+                            'disable_capable' => array(
102
+                                'description' => /*@translate*/ 'Ask the applicant, if he has a driving license.',
103
+                            ),
104
+                        ),
105
+                    )
106 106
         );
107 107
     }
108 108
 
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.