text/tests/psalm-baseline.xml

200 строки
6.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.x-dev@">
<file src="lib/AppInfo/Application.php">
<UndefinedClass occurrences="3">
<code>BeforeTemplateRenderedEvent</code>
<code>LoadAdditionalScriptsEvent</code>
<code>LoadViewer</code>
</UndefinedClass>
<InvalidArgument occurrences="3">
<code>registerEventListener</code>
</InvalidArgument>
</file>
<file src="lib/Command/ResetDocument.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>void</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/Controller/DirectSessionController.php">
<UndefinedClass occurrences="1">
<code>InvalidTokenException</code>
</UndefinedClass>
</file>
<file src="lib/Controller/PublicSessionController.php">
<InvalidCatch occurrences="1"/>
<MissingDependency occurrences="1">
<code>ShareNotFound</code>
</MissingDependency>
</file>
<file src="lib/Controller/SettingsController.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;userId</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;userId</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/Controller/WorkspaceController.php">
<InvalidCatch occurrences="2"/>
<InvalidReturnType occurrences="3">
<code>DataResponse</code>
<code>DataResponse</code>
<code>DataResponse</code>
</InvalidReturnType>
<MissingDependency occurrences="10">
<code>$e</code>
<code>$e</code>
<code>$this-&gt;rootFolder</code>
<code>$this-&gt;rootFolder</code>
<code>IRootFolder</code>
<code>IRootFolder</code>
<code>ShareNotFound</code>
<code>StorageNotAvailableException</code>
<code>StorageNotAvailableException</code>
</MissingDependency>
<UndefinedClass occurrences="1">
<code>Exception</code>
</UndefinedClass>
<UndefinedInterfaceMethod occurrences="1">
<code>open</code>
</UndefinedInterfaceMethod>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;logger</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/DAV/WorkspacePlugin.php">
<UndefinedClass occurrences="1">
<code>ServerPlugin</code>
</UndefinedClass>
</file>
<file src="lib/Db/SessionMapper.php">
<MoreSpecificImplementedParamType occurrences="1"/>
</file>
<file src="lib/Db/StepMapper.php">
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
</file>
<file src="lib/DirectEditing/TextDirectEditor.php">
<LessSpecificImplementedReturnType occurrences="3">
<code>array</code>
<code>array</code>
<code>array</code>
</LessSpecificImplementedReturnType>
<UndefinedInterfaceMethod occurrences="1">
<code>getToken</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/Listeners/FilesLoadAdditionalScriptsListener.php">
<UndefinedClass occurrences="1">
<code>LoadAdditionalScriptsEvent</code>
</UndefinedClass>
</file>
<file src="lib/Listeners/LoadViewerListener.php">
<UndefinedClass occurrences="1">
<code>LoadViewer</code>
</UndefinedClass>
</file>
<file src="lib/Service/ApiService.php">
<InvalidArgument occurrences="1">
<code>$file</code>
</InvalidArgument>
<UndefinedDocblockClass occurrences="1"/>
</file>
<file src="lib/Service/DocumentService.php">
<InvalidCatch occurrences="3"/>
<InvalidScalarArgument occurrences="1"/>
<MismatchingDocblockReturnType occurrences="1">
<code>Entity</code>
</MismatchingDocblockReturnType>
<MissingDependency occurrences="7">
<code>$this-&gt;rootFolder</code>
<code>IRootFolder</code>
<code>IRootFolder</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
</MissingDependency>
<UndefinedClass occurrences="2">
<code>File</code>
<code>\OC\User\NoUserException</code>
</UndefinedClass>
<UndefinedMagicMethod occurrences="18">
<code>getCurrentVersion</code>
<code>getCurrentVersion</code>
<code>getCurrentVersion</code>
<code>getCurrentVersion</code>
<code>getCurrentVersion</code>
<code>getLastSavedVersion</code>
<code>getLastSavedVersion</code>
<code>getLastSavedVersionEtag</code>
<code>getLastSavedVersionTime</code>
<code>setCurrentVersion</code>
<code>setCurrentVersion</code>
<code>setData</code>
<code>setDocumentId</code>
<code>setLastSavedVersion</code>
<code>setLastSavedVersionEtag</code>
<code>setLastSavedVersionTime</code>
<code>setSessionId</code>
<code>setVersion</code>
</UndefinedMagicMethod>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;lockingProvider</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/Service/SessionService.php">
<UndefinedDocblockClass occurrences="8">
<code>$color-&gt;b</code>
<code>$color-&gt;b</code>
<code>$color-&gt;g</code>
<code>$color-&gt;g</code>
<code>$color-&gt;r</code>
<code>$color-&gt;r</code>
<code>$this-&gt;avatarManager-&gt;getGuestAvatar($guestName)-&gt;avatarBackgroundColor($guestName)</code>
<code>$this-&gt;avatarManager-&gt;getGuestAvatar($userName)-&gt;avatarBackgroundColor($userName)</code>
</UndefinedDocblockClass>
<UndefinedMagicMethod occurrences="7">
<code>setColor</code>
<code>setColor</code>
<code>setDocumentId</code>
<code>setGuestName</code>
<code>setGuestName</code>
<code>setToken</code>
<code>setUserId</code>
</UndefinedMagicMethod>
</file>
<file src="lib/Service/WorkspaceService.php">
<InvalidNullableReturnType occurrences="1">
<code>\OCP\Files\File</code>
</InvalidNullableReturnType>
<MissingDependency occurrences="1">
<code>StorageNotAvailableException</code>
</MissingDependency>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/Service/ImageService.php">
<InvalidCatch occurrences="2"/>
<MissingDependency occurrences="8">
<code>$this-&gt;rootFolder</code>
<code>IRootFolder</code>
<code>ShareNotFound</code>
</MissingDependency>
<UndefinedClass occurrences="3">
<code>\OC\User\NoUserException</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="10">
<code>\OC\User\NoUserException</code>
</UndefinedDocblockClass>
</file>
<file src="vendor/christophwurst/nextcloud/OCP/BackgroundJob/TimedJob.php">
<ImplementedParamTypeMismatch occurrences="1">
<code>$jobList</code>
</ImplementedParamTypeMismatch>
</file>
</files>