Passed
Push — master ( d2520f...3f8ec2 )
by Michael
02:50
created
class/pear/Calendar/tests/hour_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
     public function testPrevDay_Array()
28 28
     {
29 29
         $this->assertEqual([
30
-                               'year'   => 2003,
31
-                               'month'  => 10,
32
-                               'day'    => 24,
33
-                               'hour'   => 0,
34
-                               'minute' => 0,
35
-                               'second' => 0,
36
-                           ], $this->cal->prevDay('array'));
30
+                                'year'   => 2003,
31
+                                'month'  => 10,
32
+                                'day'    => 24,
33
+                                'hour'   => 0,
34
+                                'minute' => 0,
35
+                                'second' => 0,
36
+                            ], $this->cal->prevDay('array'));
37 37
     }
38 38
 
39 39
     public function testPrevMinute()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/day_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
     public function testPrevDay_Array()
28 28
     {
29 29
         $this->assertEqual([
30
-                               'year'   => 2003,
31
-                               'month'  => 10,
32
-                               'day'    => 24,
33
-                               'hour'   => 0,
34
-                               'minute' => 0,
35
-                               'second' => 0,
36
-                           ], $this->cal->prevDay('array'));
30
+                                'year'   => 2003,
31
+                                'month'  => 10,
32
+                                'day'    => 24,
33
+                                'hour'   => 0,
34
+                                'minute' => 0,
35
+                                'second' => 0,
36
+                            ], $this->cal->prevDay('array'));
37 37
     }
38 38
 
39 39
     public function testPrevHour()
Please login to merge, or discard this patch.
event_member.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
                 $rediredtMessage = _MD_EXTCAL_MAX_MEMBER_REACHED;
59 59
             } else {
60 60
                 $eventMemberHandler->createEventmember([
61
-                                                           'event_id' => (int)$_POST['event'],
62
-                                                           'uid'      => $xoopsUser->getVar('uid'),
63
-                                                       ]);
61
+                                                            'event_id' => (int)$_POST['event'],
62
+                                                            'uid'      => $xoopsUser->getVar('uid'),
63
+                                                        ]);
64 64
                 sendMail2member($mode, $event_id, $member_uid, _MD_EXTCAL_SUBJECT_1, _MD_EXTCAL_MSG_1);
65 65
                 $rediredtMessage = _MD_EXTCAL_WHOS_GOING_ADDED_TO_EVENT;
66 66
             }
Please login to merge, or discard this patch.
class/pear/Calendar/tests/month_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
32 32
     public function testPrevDay_Array()
33 33
     {
34 34
         $this->assertEqual([
35
-                               'year'   => 2003,
36
-                               'month'  => 9,
37
-                               'day'    => 30,
38
-                               'hour'   => 0,
39
-                               'minute' => 0,
40
-                               'second' => 0,
41
-                           ], $this->cal->prevDay('array'));
35
+                                'year'   => 2003,
36
+                                'month'  => 9,
37
+                                'day'    => 30,
38
+                                'hour'   => 0,
39
+                                'minute' => 0,
40
+                                'second' => 0,
41
+                            ], $this->cal->prevDay('array'));
42 42
     }
43 43
 
44 44
     public function testThisDay()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/month_weekdays_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
32 32
     public function testPrevDay_Array()
33 33
     {
34 34
         $this->assertEqual([
35
-                               'year'   => 2003,
36
-                               'month'  => 9,
37
-                               'day'    => 30,
38
-                               'hour'   => 0,
39
-                               'minute' => 0,
40
-                               'second' => 0,
41
-                           ], $this->cal->prevDay('array'));
35
+                                'year'   => 2003,
36
+                                'month'  => 9,
37
+                                'day'    => 30,
38
+                                'hour'   => 0,
39
+                                'minute' => 0,
40
+                                'second' => 0,
41
+                            ], $this->cal->prevDay('array'));
42 42
     }
43 43
 
44 44
     public function testThisDay()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/week_firstday_0_test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -71,13 +71,13 @@
 block discarded – undo
71 71
     public function testPrevDay_Array()
72 72
     {
73 73
         $this->assertEqual([
74
-                               'year'   => 2003,
75
-                               'month'  => 10,
76
-                               'day'    => 8,
77
-                               'hour'   => 0,
78
-                               'minute' => 0,
79
-                               'second' => 0,
80
-                           ], $this->cal->prevDay('array'));
74
+                                'year'   => 2003,
75
+                                'month'  => 10,
76
+                                'day'    => 8,
77
+                                'hour'   => 0,
78
+                                'minute' => 0,
79
+                                'second' => 0,
80
+                            ], $this->cal->prevDay('array'));
81 81
     }
82 82
 
83 83
     public function testThisDay()
Please login to merge, or discard this patch.
event_notmember.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@
 block discarded – undo
34 34
         if ('add' === $_POST['mode']) {
35 35
             $event = $eventHandler->getEvent((int)$_POST['event'], $xoopsUser);
36 36
             $eventNotMemberHandler->createEventNotMember([
37
-                                                             'event_id' => (int)$_POST['event'],
38
-                                                             'uid'      => $xoopsUser->getVar('uid'),
39
-                                                         ]);
37
+                                                                'event_id' => (int)$_POST['event'],
38
+                                                                'uid'      => $xoopsUser->getVar('uid'),
39
+                                                            ]);
40 40
             sendMail2member($mode, $event_id, $member_uid, _MD_EXTCAL_SUBJECT_3, _MD_EXTCAL_MSG_3);
41 41
             $rediredtMessage = _MD_EXTCAL_WHOSNOT_GOING_ADDED_TO_EVENT;
42 42
 
Please login to merge, or discard this patch.
admin/main.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -87,27 +87,27 @@
 block discarded – undo
87 87
                 $fromemail      = !empty($xoopsConfig['adminmail']) ? $xoopsConfig['adminmail'] : $xoopsUser->getVar('email', 'E');
88 88
                 $subjectCaption = _AM_EXTCAL_SUBJECT . "<br><br><span style='font-size:x-small;font-weight:bold;'>" . _AM_EXTCAL_USEFUL_TAGS . "</span><br><span style='font-size:x-small;font-weight:normal;'>" . _AM_EXTCAL_MAILTAGS6 . '<br>' . _AM_EXTCAL_MAILTAGS2 . '</span>&nbsp;&nbsp;&nbsp;';
89 89
                 $bodyCaption    = _AM_EXTCAL_BODY
90
-                                  . "<br><br><span style='font-size:x-small;font-weight:bold;'>"
91
-                                  . _AM_EXTCAL_USEFUL_TAGS
92
-                                  . "</span><br><span style='font-size:x-small;font-weight:normal;'>"
93
-                                  . _AM_EXTCAL_MAILTAGS1
94
-                                  . '<br>'
95
-                                  . _AM_EXTCAL_MAILTAGS2
96
-                                  . '<br>'
97
-                                  . _AM_EXTCAL_MAILTAGS3
98
-                                  . '<br>'
99
-                                  . _AM_EXTCAL_MAILTAGS4
100
-                                  . '<br>'
101
-                                  . _AM_EXTCAL_MAILTAGS5
102
-                                  . '<br>'
103
-                                  . _AM_EXTCAL_MAILTAGS6
104
-                                  . '<br>'
105
-                                  . _AM_EXTCAL_MAILTAGS7
106
-                                  . '<br>'
107
-                                  . _AM_EXTCAL_MAILTAGS8
108
-                                  . '<br>'
109
-                                  . _AM_EXTCAL_MAILTAGS9
110
-                                  . '</span>&nbsp;&nbsp;&nbsp;';
90
+                                    . "<br><br><span style='font-size:x-small;font-weight:bold;'>"
91
+                                    . _AM_EXTCAL_USEFUL_TAGS
92
+                                    . "</span><br><span style='font-size:x-small;font-weight:normal;'>"
93
+                                    . _AM_EXTCAL_MAILTAGS1
94
+                                    . '<br>'
95
+                                    . _AM_EXTCAL_MAILTAGS2
96
+                                    . '<br>'
97
+                                    . _AM_EXTCAL_MAILTAGS3
98
+                                    . '<br>'
99
+                                    . _AM_EXTCAL_MAILTAGS4
100
+                                    . '<br>'
101
+                                    . _AM_EXTCAL_MAILTAGS5
102
+                                    . '<br>'
103
+                                    . _AM_EXTCAL_MAILTAGS6
104
+                                    . '<br>'
105
+                                    . _AM_EXTCAL_MAILTAGS7
106
+                                    . '<br>'
107
+                                    . _AM_EXTCAL_MAILTAGS8
108
+                                    . '<br>'
109
+                                    . _AM_EXTCAL_MAILTAGS9
110
+                                    . '</span>&nbsp;&nbsp;&nbsp;';
111 111
                 $toCheckBbox    = new \XoopsFormCheckBox(_AM_EXTCAL_SEND_TO, 'mail_send_to', 'mail');
112 112
                 $toCheckBox->addOption('mail', _AM_EXTCAL_EMAIL);
113 113
                 $toCheckBox->addOption('pm', _AM_EXTCAL_PM);
Please login to merge, or discard this patch.
versions/Extcal_2_21.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
 
45 45
         // Create who's not going table to fix bug. If the table exist, the query will faile
46 46
         $sql = 'CREATE TABLE `'
47
-               . $xoopsDB->prefix('extcal_eventnotmember')
48
-               . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
47
+                . $xoopsDB->prefix('extcal_eventnotmember')
48
+                . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
49 49
         $xoopsDB->query($sql);
50 50
     }
51 51
 
Please login to merge, or discard this patch.