Skip to content

Commit

Permalink
fixup! feat: apply personal out-of-office data to the auto responder
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Nov 23, 2023
1 parent ffea15e commit 6f8c0fb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
3 changes: 3 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
<referencedClass name="OCP\TextProcessing\SummaryTaskType" />
<referencedClass name="OCP\TextProcessing\Task" />
<referencedClass name="OCP\TextProcessing\SummaryTaskType" />
<referencedClass name="OCP\User\Events\OutOfOfficeEndedEvent" />
<referencedClass name="OCP\User\Events\OutOfOfficeStartedEvent" />
<referencedClass name="OCP\User\IAvailabilityCoordinator" />
</errorLevel>
</UndefinedClass>
<UndefinedDocblockClass>
Expand Down
32 changes: 12 additions & 20 deletions tests/psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.14.1@b9d355e0829c397b9b3b47d0c0ed042a8a70284d">
<file src="lib/AppInfo/Application.php">
<InvalidArgument>
<code>OutOfOfficeListener::class</code>
<code>OutOfOfficeListener::class</code>
</InvalidArgument>
<MissingDependency>
<code>FilteringProvider</code>
<code>ImportantMailWidgetV2</code>
<code>UnreadMailWidgetV2</code>
</MissingDependency>
<UndefinedClass>
<code>IAPIWidgetV2</code>
<code>OutOfOfficeEndedEvent</code>
<code>OutOfOfficeEndedEvent</code>
<code>OutOfOfficeStartedEvent</code>
<code>OutOfOfficeStartedEvent</code>
</UndefinedClass>
</file>
<file src="lib/Cache/Cache.php">
Expand Down Expand Up @@ -42,24 +42,16 @@
<code>MailWidgetV2</code>
</MissingDependency>
</file>
<file src="lib/Controller/PageController.php">
<UndefinedClass>
<code>IAvailabilityCoordinator</code>
</UndefinedClass>
</file>
<file src="lib/Controller/OutOfOfficeController.php">
<UndefinedClass>
<code>IAvailabilityCoordinator</code>
</UndefinedClass>
</file>
<file src="lib/Listener/OutOfOfficeListener.php">
<UndefinedClass>
<code>OutOfOfficeStartedEvent</code>
<code>OutOfOfficeEndedEvent</code>
</UndefinedClass>
<InvalidTemplateParam>
<code>IEventListener</code>
</InvalidTemplateParam>
<MoreSpecificImplementedParamType>
<code>$event</code>
</MoreSpecificImplementedParamType>
<UndefinedDocblockClass>
<code>OutOfOfficeStartedEvent</code>
<code>OutOfOfficeEndedEvent</code>
<code>OutOfOfficeListener</code>
<code>OutOfOfficeListener</code>
</UndefinedDocblockClass>
</file>
</files>

0 comments on commit 6f8c0fb

Please sign in to comment.