Skip to content

Commit 3e8f367

Browse files
committed
Ran php-cs-fixer
1 parent de5338f commit 3e8f367

File tree

4 files changed

+103
-205
lines changed

4 files changed

+103
-205
lines changed

lib/ITip/Broker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function parseEvent($calendar, $userHref, $oldCalendar = null): array
259259
if (in_array($attendee['href'], $userHref)) {
260260
$isPartstatDefined = false;
261261
foreach ($attendee['instances'] as $instance) {
262-
if ($instance['partstat'] != 'NEEDS-ACTION') {
262+
if ('NEEDS-ACTION' != $instance['partstat']) {
263263
$isPartstatDefined = true;
264264
break;
265265
}

tests/VObject/Component/VAvailabilityTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,7 @@ protected function template(array $properties)
435435
436436
END:VAVAILABILITY
437437
END:VCALENDAR
438-
VCAL
439-
,
438+
VCAL,
440439
$properties
441440
);
442441
}
@@ -459,8 +458,7 @@ protected function templateAvailable(array $properties)
459458
END:AVAILABLE
460459
END:VAVAILABILITY
461460
END:VCALENDAR
462-
VCAL
463-
,
461+
VCAL,
464462
$properties
465463
);
466464
}

tests/VObject/ITip/BrokerAttendeeReplyTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class BrokerAttendeeReplyTest extends BrokerTester
66
{
77
public function testAccepted(): void
88
{
9-
109
// If $oldMessage is not set, in some cases an iTip message
1110
// still needs to be generated; this happens when partstat
1211
// differs from NEEDS-ACTION. For example, this is relevant in
@@ -15,7 +14,7 @@ public function testAccepted(): void
1514
// participation before the upload. Also see
1615
// https://github.com/sabre-io/vobject/issues/719
1716

18-
$oldMessage = "";
17+
$oldMessage = '';
1918

2019
$newMessage = <<<ICS
2120
BEGIN:VCALENDAR

0 commit comments

Comments
 (0)