@@ -174,12 +174,12 @@ discard block |
||
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | return array_merge( |
| 177 | - ...array_map(function ($registration) use ($principalUri, $calendarUris) { |
|
| 177 | + ...array_map(function($registration) use ($principalUri, $calendarUris) { |
|
| 178 | 178 | try { |
| 179 | 179 | /** @var ICalendarProvider $provider */ |
| 180 | 180 | $provider = $this->container->get($registration->getService()); |
| 181 | 181 | } catch (Throwable $e) { |
| 182 | - $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [ |
|
| 182 | + $this->logger->error('Could not load calendar provider '.$registration->getService().': '.$e->getMessage(), [ |
|
| 183 | 183 | 'exception' => $e, |
| 184 | 184 | ]); |
| 185 | 185 | return []; |
@@ -548,7 +548,7 @@ discard block |
||
| 548 | 548 | IUser $organizer, |
| 549 | 549 | array $attendees, |
| 550 | 550 | ): array { |
| 551 | - $organizerMailto = 'mailto:' . $organizer->getEMailAddress(); |
|
| 551 | + $organizerMailto = 'mailto:'.$organizer->getEMailAddress(); |
|
| 552 | 552 | $request = new VCalendar(); |
| 553 | 553 | $request->METHOD = 'REQUEST'; |
| 554 | 554 | $request->add('VFREEBUSY', [ |
@@ -1730,12 +1730,12 @@ discard block |
||
| 1730 | 1730 | ->willReturn($authPlugin); |
| 1731 | 1731 | $server->expects(self::once()) |
| 1732 | 1732 | ->method('invokeMethod') |
| 1733 | - ->willReturnCallback(function ( |
|
| 1733 | + ->willReturnCallback(function( |
|
| 1734 | 1734 | RequestInterface $request, |
| 1735 | 1735 | ResponseInterface $response, |
| 1736 | 1736 | bool $sendResponse, |
| 1737 | 1737 | ): void { |
| 1738 | - $requestBody = file_get_contents(__DIR__ . '/../../data/ics/free-busy-request.ics'); |
|
| 1738 | + $requestBody = file_get_contents(__DIR__.'/../../data/ics/free-busy-request.ics'); |
|
| 1739 | 1739 | $this->assertEquals('POST', $request->getMethod()); |
| 1740 | 1740 | $this->assertEquals('calendars/admin/outbox', $request->getPath()); |
| 1741 | 1741 | $this->assertEquals('text/calendar', $request->getHeader('Content-Type')); |
@@ -1797,12 +1797,12 @@ discard block |
||
| 1797 | 1797 | ->willReturn($authPlugin); |
| 1798 | 1798 | $server->expects(self::once()) |
| 1799 | 1799 | ->method('invokeMethod') |
| 1800 | - ->willReturnCallback(function ( |
|
| 1800 | + ->willReturnCallback(function( |
|
| 1801 | 1801 | RequestInterface $request, |
| 1802 | 1802 | ResponseInterface $response, |
| 1803 | 1803 | bool $sendResponse, |
| 1804 | 1804 | ): void { |
| 1805 | - $requestBody = file_get_contents(__DIR__ . '/../../data/ics/free-busy-request.ics'); |
|
| 1805 | + $requestBody = file_get_contents(__DIR__.'/../../data/ics/free-busy-request.ics'); |
|
| 1806 | 1806 | $this->assertEquals('POST', $request->getMethod()); |
| 1807 | 1807 | $this->assertEquals('calendars/admin/outbox', $request->getPath()); |
| 1808 | 1808 | $this->assertEquals('text/calendar', $request->getHeader('Content-Type')); |