Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(ImageService): Add missing exception imports
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin authored and christianlupus committed Mar 5, 2025
commit fcce7499af9ab3d5e900214f74f567b9f22595fd
5 changes: 5 additions & 0 deletions lib/Service/ImageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@

namespace OCA\Cookbook\Service;

use OCA\Cookbook\Exception\InvalidThumbnailTypeException;
use OCA\Cookbook\Exception\NoRecipeImageFoundException;
use OCA\Cookbook\Exception\RecipeImageExistsException;
use OCA\Cookbook\Helper\ImageService\ImageFileHelper;
use OCA\Cookbook\Helper\ImageService\ThumbnailFileHelper;
use OCP\Files\File;
use OCP\Files\Folder;
use OCP\Files\GenericFileException;
use OCP\Files\InvalidPathException;
use OCP\Files\NotFoundException;
use OCP\Files\NotPermittedException;
use OCP\Lock\LockedException;
Expand Down
11 changes: 0 additions & 11 deletions tests/psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,6 @@
<code><![CDATA[IRootFolder]]></code>
</MissingDependency>
</file>
<file src="lib/Service/ImageService.php">
<UndefinedDocblockClass>
<code><![CDATA[GenericFileException]]></code>
<code><![CDATA[InvalidPathException]]></code>
<code><![CDATA[InvalidThumbnailTypeException]]></code>
<code><![CDATA[NoRecipeImageFoundException]]></code>
<code><![CDATA[NoRecipeImageFoundException]]></code>
<code><![CDATA[NoRecipeImageFoundException]]></code>
<code><![CDATA[RecipeImageExistsException]]></code>
</UndefinedDocblockClass>
</file>
<file src="lib/Service/RecipeService.php">
<MissingDependency>
<code><![CDATA[$this->root]]></code>
Expand Down