Skip to content

Commit

Permalink
Merge pull request #672 from phil-davis/apply-cs-fixer-3.64
Browse files Browse the repository at this point in the history
chore: apply php-cs-fixer 3.64 changes
  • Loading branch information
phil-davis authored Sep 4, 2024
2 parents a4a2bc3 + 57492ab commit fad6391
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 43 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
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 @@ -54,7 +54,7 @@ public function testOrganizerDeleteWithDtend(): void
ATTENDEE;CN=One:mailto:[email protected]
END:VEVENT
END:VCALENDAR
ICS
ICS,
],

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

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

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

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

Expand Down Expand Up @@ -275,7 +275,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
2 changes: 1 addition & 1 deletion tests/VObject/Parser/MimeDirTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public function provideBrokenVCalendar(): array
SEQUENCE:0
END:VEVENT
END:VCALENDAR
EOF
EOF,
]];
}
}
4 changes: 2 additions & 2 deletions tests/VObject/VCardConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public function testAnniversary(): void
// Swapping input and output
list(
$input,
$output
$output,
) = [
$output,
$input,
Expand Down Expand Up @@ -520,7 +520,7 @@ public function testMultipleAnniversaries(): void
// Swapping input and output
list(
$input,
$output
$output,
) = [
$output,
$input,
Expand Down

0 comments on commit fad6391

Please sign in to comment.