@@ -27,13 +27,13 @@ |
||
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 testPrevSecond() |
@@ -32,13 +32,13 @@ |
||
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() |
@@ -71,13 +71,13 @@ |
||
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() |
@@ -42,13 +42,13 @@ discard block |
||
42 | 42 | public function testPrevMonth_Array() |
43 | 43 | { |
44 | 44 | $this->assertEqual([ |
45 | - 'year' => 2002, |
|
46 | - 'month' => 12, |
|
47 | - 'day' => 1, |
|
48 | - 'hour' => 0, |
|
49 | - 'minute' => 0, |
|
50 | - 'second' => 0, |
|
51 | - ], $this->cal->prevMonth('array')); |
|
45 | + 'year' => 2002, |
|
46 | + 'month' => 12, |
|
47 | + 'day' => 1, |
|
48 | + 'hour' => 0, |
|
49 | + 'minute' => 0, |
|
50 | + 'second' => 0, |
|
51 | + ], $this->cal->prevMonth('array')); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | public function testThisMonth() |
@@ -69,13 +69,13 @@ discard block |
||
69 | 69 | public function testPrevDay_Array() |
70 | 70 | { |
71 | 71 | $this->assertEqual([ |
72 | - 'year' => 2002, |
|
73 | - 'month' => 12, |
|
74 | - 'day' => 31, |
|
75 | - 'hour' => 0, |
|
76 | - 'minute' => 0, |
|
77 | - 'second' => 0, |
|
78 | - ], $this->cal->prevDay('array')); |
|
72 | + 'year' => 2002, |
|
73 | + 'month' => 12, |
|
74 | + 'day' => 31, |
|
75 | + 'hour' => 0, |
|
76 | + 'minute' => 0, |
|
77 | + 'second' => 0, |
|
78 | + ], $this->cal->prevDay('array')); |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | public function testThisDay() |
@@ -27,13 +27,13 @@ |
||
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 |
@@ -27,13 +27,13 @@ |
||
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() |
@@ -27,13 +27,13 @@ |
||
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() |
@@ -58,9 +58,9 @@ |
||
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 | } |
@@ -32,13 +32,13 @@ |
||
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() |