Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Ren Xie Liu committed Nov 14, 2024
1 parent 9bdde6a commit b8fdeb4
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 44 deletions.
2 changes: 1 addition & 1 deletion lib/Parser/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function parseProperty(array $jProp): Property
list(
$propertyName,
$parameters,
$valueType
$valueType,
) = $jProp;

$propertyName = strtoupper($propertyName);
Expand Down
1 change: 1 addition & 0 deletions lib/timezonedata/php-bc.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
'America/Pangnirtung',
// Moved to backward in 2023a
'America/Yellowknife',
// Moved to backward in 2024b
'Asia/Choibalsan',

// Original list
Expand Down
24 changes: 12 additions & 12 deletions tests/VObject/ITip/BrokerAttendeeReplyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function testAccepted(): void
ATTENDEE;PARTSTAT=ACCEPTED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -179,7 +179,7 @@ public function testAcceptedWithTz(): void
ATTENDEE;PARTSTAT=ACCEPTED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -325,7 +325,7 @@ public function testRecurringReply(): void
ATTENDEE;PARTSTAT=DECLINED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -464,7 +464,7 @@ public function testRecurringAllDay(): void
ATTENDEE;PARTSTAT=DECLINED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -556,7 +556,7 @@ public function testNoChangeForceSend(): void
ATTENDEE;PARTSTAT=NEEDS-ACTION;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];
$this->parse($oldMessage, $newMessage, $expected);
Expand Down Expand Up @@ -659,7 +659,7 @@ public function testCreateReplyByException(): void
ATTENDEE;PARTSTAT=DECLINED:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];
$this->parse($oldMessage, $newMessage, $expected);
Expand Down Expand Up @@ -728,7 +728,7 @@ public function testCreateReplyByExceptionTz(): void
ATTENDEE;PARTSTAT=DECLINED:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];
$this->parse($oldMessage, $newMessage, $expected);
Expand Down Expand Up @@ -797,7 +797,7 @@ public function testCreateReplyByExceptionAllDay(): void
ATTENDEE;PARTSTAT=DECLINED:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];
$this->parse($oldMessage, $newMessage, $expected);
Expand Down Expand Up @@ -857,7 +857,7 @@ public function testDeclined(): void
ATTENDEE;PARTSTAT=DECLINED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -1039,7 +1039,7 @@ public function testAcceptedAllDay(): void
ATTENDEE;PARTSTAT=ACCEPTED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -1110,7 +1110,7 @@ public function testReplyNoMasterEvent(): void
ATTENDEE;PARTSTAT=ACCEPTED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -1198,7 +1198,7 @@ public function testPartyCrasher(): void
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down
12 changes: 6 additions & 6 deletions tests/VObject/ITip/BrokerDeleteEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testOrganizerDeleteWithDtend(): void
ATTENDEE;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],

[
Expand Down Expand Up @@ -80,7 +80,7 @@ public function testOrganizerDeleteWithDtend(): void
ATTENDEE;CN=Two:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -135,7 +135,7 @@ public function testOrganizerDeleteWithDuration(): void
ATTENDEE;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],

[
Expand Down Expand Up @@ -163,7 +163,7 @@ public function testOrganizerDeleteWithDuration(): void
ATTENDEE;CN=Two:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -218,7 +218,7 @@ public function testAttendeeDeleteWithDtend(): void
ATTENDEE;PARTSTAT=DECLINED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -273,7 +273,7 @@ public function testAttendeeReplyWithDuration(): void
ATTENDEE;PARTSTAT=DECLINED;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down
14 changes: 7 additions & 7 deletions tests/VObject/ITip/BrokerNewEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function testRecurrenceInvite(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand Down Expand Up @@ -221,7 +221,7 @@ public function testRecurrenceInvite(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand All @@ -248,7 +248,7 @@ public function testRecurrenceInvite(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -312,7 +312,7 @@ public function testRecurrenceInvite2(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand Down Expand Up @@ -349,7 +349,7 @@ public function testRecurrenceInvite2(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand All @@ -376,7 +376,7 @@ public function testRecurrenceInvite2(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -427,7 +427,7 @@ public function testRecurrenceInvite3(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down
28 changes: 14 additions & 14 deletions tests/VObject/ITip/BrokerUpdateEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function testInviteChange(): void
ATTENDEE;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand Down Expand Up @@ -101,7 +101,7 @@ public function testInviteChange(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand Down Expand Up @@ -131,7 +131,7 @@ public function testInviteChange(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -193,7 +193,7 @@ public function testInviteChangeFromNonSchedulingToSchedulingObject(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -251,7 +251,7 @@ public function testInviteChangeFromSchedulingToNonSchedulingObject(): void
ATTENDEE;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -350,7 +350,7 @@ public function testRemoveInstance(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -427,7 +427,7 @@ public function testInviteChangeSignificantChange(): void
ATTENDEE;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand Down Expand Up @@ -457,7 +457,7 @@ public function testInviteChangeSignificantChange(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand Down Expand Up @@ -487,7 +487,7 @@ public function testInviteChangeSignificantChange(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -555,7 +555,7 @@ public function testInviteNoChange(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -623,7 +623,7 @@ public function testInviteNoChangeForceSend(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -691,7 +691,7 @@ public function testInviteRemoveAttendees(): void
ATTENDEE;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
[
'uid' => 'foobar',
Expand Down Expand Up @@ -719,7 +719,7 @@ public function testInviteRemoveAttendees(): void
ATTENDEE;CN=Two:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down Expand Up @@ -808,7 +808,7 @@ public function testInviteChangeExdateOrder(): void
DTSTAMP:**ANY**
END:VEVENT
END:VCALENDAR
ICS
ICS,
],
];

Expand Down
4 changes: 2 additions & 2 deletions tests/VObject/Parser/MimeDirTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public function provideBrokenVCalendar(): array
SEQUENCE:0
END:VEVENT
END:VCALENDAR
EOF
EOF,
], [
<<<EOF
BEGIN:VCALENDAR
Expand All @@ -256,7 +256,7 @@ public function provideBrokenVCalendar(): array
SEQUENCE:0
END:VEVENT
END:VCALENDAR
EOF
EOF,
]];
}
}
Loading

0 comments on commit b8fdeb4

Please sign in to comment.