зеркало из https://github.com/nextcloud/text.git
Add baseline
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Родитель
21506c39f8
Коммит
af4d014173
19
psalm.xml
19
psalm.xml
|
@ -10,6 +10,23 @@
|
|||
<directory name="lib" />
|
||||
</projectFiles>
|
||||
<extraFiles>
|
||||
<directory name="vendor" />
|
||||
<directory name="vendor/christophwurst/nextcloud" />
|
||||
</extraFiles>
|
||||
<issueHandlers>
|
||||
<UndefinedClass>
|
||||
<errorLevel type="suppress">
|
||||
<referencedClass name="OC" />
|
||||
<referencedClass name="Doctrine\DBAL\Types\Type"/>
|
||||
</errorLevel>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass>
|
||||
<errorLevel type="suppress">
|
||||
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
||||
<referencedClass name="Doctrine\DBAL\Schema\Schema" />
|
||||
<referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
|
||||
<referencedClass name="Doctrine\DBAL\Schema\Table" />
|
||||
<referencedClass name="Doctrine\DBAL\Statement" />
|
||||
</errorLevel>
|
||||
</UndefinedDocblockClass>
|
||||
</issueHandlers>
|
||||
</psalm>
|
||||
|
|
|
@ -0,0 +1,167 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<files psalm-version="4.3.1@2feba22a005a18bf31d4c7b9bdb9252c73897476">
|
||||
<file src="lib/AppInfo/Application.php">
|
||||
<UndefinedClass occurrences="3">
|
||||
<code>BeforeTemplateRenderedEvent</code>
|
||||
<code>LoadAdditionalScriptsEvent</code>
|
||||
<code>LoadViewer</code>
|
||||
</UndefinedClass>
|
||||
</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">
|
||||
<MissingDependency occurrences="1">
|
||||
<code>ShareNotFound</code>
|
||||
</MissingDependency>
|
||||
</file>
|
||||
<file src="lib/Controller/SettingsController.php">
|
||||
<UndefinedThisPropertyAssignment occurrences="1">
|
||||
<code>$this->userId</code>
|
||||
</UndefinedThisPropertyAssignment>
|
||||
<UndefinedThisPropertyFetch occurrences="1">
|
||||
<code>$this->userId</code>
|
||||
</UndefinedThisPropertyFetch>
|
||||
</file>
|
||||
<file src="lib/Controller/WorkspaceController.php">
|
||||
<InvalidReturnType occurrences="3">
|
||||
<code>DataResponse</code>
|
||||
<code>DataResponse</code>
|
||||
<code>DataResponse</code>
|
||||
</InvalidReturnType>
|
||||
<MissingDependency occurrences="6">
|
||||
<code>$this->rootFolder</code>
|
||||
<code>$this->rootFolder</code>
|
||||
<code>IRootFolder</code>
|
||||
<code>IRootFolder</code>
|
||||
<code>ShareNotFound</code>
|
||||
<code>StorageNotAvailableException</code>
|
||||
</MissingDependency>
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>Exception</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedInterfaceMethod occurrences="1">
|
||||
<code>open</code>
|
||||
</UndefinedInterfaceMethod>
|
||||
</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">
|
||||
<MismatchingDocblockReturnType occurrences="1">
|
||||
<code>Entity</code>
|
||||
</MismatchingDocblockReturnType>
|
||||
<MissingDependency occurrences="7">
|
||||
<code>$this->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->lockingProvider</code>
|
||||
</UndefinedThisPropertyFetch>
|
||||
</file>
|
||||
<file src="lib/Service/SessionService.php">
|
||||
<UndefinedDocblockClass occurrences="4">
|
||||
<code>$color->b</code>
|
||||
<code>$color->g</code>
|
||||
<code>$color->r</code>
|
||||
<code>$this->avatarManager->getGuestAvatar($userName)->avatarBackgroundColor($userName)</code>
|
||||
</UndefinedDocblockClass>
|
||||
<UndefinedMagicMethod occurrences="6">
|
||||
<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="vendor/christophwurst/nextcloud/OCP/BackgroundJob/TimedJob.php">
|
||||
<ImplementedParamTypeMismatch occurrences="1">
|
||||
<code>$jobList</code>
|
||||
</ImplementedParamTypeMismatch>
|
||||
</file>
|
||||
</files>
|
Загрузка…
Ссылка в новой задаче