-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stubs and fix psalm spotted issues throughout the code
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
- Loading branch information
Showing
8 changed files
with
813 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="4.x-dev@"> | ||
<files psalm-version="5.16.0@2897ba636551a8cb61601cc26f6ccfbba6c36591"> | ||
<file src="lib/ACL/ACLStorageWrapper.php"> | ||
<InvalidNullableReturnType occurrences="2"> | ||
<InvalidNullableReturnType> | ||
<code>filemtime</code> | ||
<code>hash</code> | ||
</InvalidNullableReturnType> | ||
<UndefinedClass occurrences="1"> | ||
<UndefinedClass> | ||
<code>IteratorDirectory</code> | ||
</UndefinedClass> | ||
<UndefinedInterfaceMethod occurrences="1"> | ||
<code>getDirectoryContent</code> | ||
</UndefinedInterfaceMethod> | ||
<UndefinedMethod occurrences="2"> | ||
<code>parent::getMetaData($path)</code> | ||
<code>parent::writeStream($path, $stream, $size)</code> | ||
</UndefinedMethod> | ||
</file> | ||
<file src="lib/AppInfo/Application.php"> | ||
<UndefinedClass occurrences="2"> | ||
<code>BeforeTemplateRenderedEvent</code> | ||
<code>CircleDestroyedEvent</code> | ||
</UndefinedClass> | ||
</file> | ||
<file src="lib/Folder/FolderManager.php"> | ||
<MismatchingDocblockReturnType occurrences="1"> | ||
<code>array{id: mixed, mount_point: mixed, groups: array<empty, empty>|mixed, quota: int, size: int|mixed, acl: bool}|false</code> | ||
</MismatchingDocblockReturnType> | ||
</file> | ||
<file src="lib/Helper/LazyFolder.php"> | ||
<InvalidReturnStatement occurrences="2"> | ||
<code>$this->__call(__FUNCTION__, func_get_args())</code> | ||
<code>$this->__call(__FUNCTION__, func_get_args())</code> | ||
</InvalidReturnStatement> | ||
</file> | ||
<file src="lib/Mount/RootPermissionsMask.php"> | ||
<UndefinedMethod occurrences="1"> | ||
<code>parent::getMetaData($path)</code> | ||
</UndefinedMethod> | ||
</file> | ||
<file src="lib/Trash/GroupTrashItem.php"> | ||
<UndefinedMethod occurrences="1"> | ||
<code>parent::__construct($backend, $originalLocation, $deletedTime, $trashPath, $fileInfo, $user)</code> | ||
</UndefinedMethod> | ||
</file> | ||
<file src="lib/Versions/ExpireManager.php"> | ||
<TypeDoesNotContainType occurrences="2"> | ||
<code>self::MAX_VERSIONS_PER_INTERVAL[$interval]['intervalEndsAfter'] === -1</code> | ||
<code>self::MAX_VERSIONS_PER_INTERVAL[$interval]['intervalEndsAfter'] === -1</code> | ||
<TypeDoesNotContainType> | ||
<code><![CDATA[self::MAX_VERSIONS_PER_INTERVAL[$interval]['intervalEndsAfter'] === -1]]></code> | ||
<code><![CDATA[self::MAX_VERSIONS_PER_INTERVAL[$interval]['intervalEndsAfter'] === -1]]></code> | ||
</TypeDoesNotContainType> | ||
</file> | ||
</files> |
Oops, something went wrong.