mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Fix psalm errors and update baseline
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
14bb70c5d4
commit
fbe11e4506
2 changed files with 10 additions and 8 deletions
|
|
@ -33,7 +33,6 @@ use OCP\AppFramework\Http;
|
|||
use OCP\AppFramework\Http\DataResponse;
|
||||
use OCP\AppFramework\Http\FileDisplayResponse;
|
||||
use OCP\AppFramework\Http\Response;
|
||||
use OCP\Files\IAppData;
|
||||
use OCP\IL10N;
|
||||
use OCP\IRequest;
|
||||
use OCP\IUserSession;
|
||||
|
|
@ -46,13 +45,11 @@ class AvatarController extends AEnvironmentAwareController {
|
|||
public function __construct(
|
||||
string $appName,
|
||||
IRequest $request,
|
||||
IAppData $appData,
|
||||
AvatarService $avatarService,
|
||||
IUserSession $userSession,
|
||||
IL10N $l10n
|
||||
) {
|
||||
parent::__construct($appName, $request);
|
||||
$this->appData = $appData;
|
||||
$this->avatarService = $avatarService;
|
||||
$this->userSession = $userSession;
|
||||
$this->l = $l10n;
|
||||
|
|
|
|||
|
|
@ -167,16 +167,16 @@
|
|||
<code>null</code>
|
||||
</NullArgument>
|
||||
</file>
|
||||
<file src="lib/Controller/ChatController.php">
|
||||
<InvalidArrayOffset occurrences="1">
|
||||
<code>$commentIdToIndex[$parentId]</code>
|
||||
</InvalidArrayOffset>
|
||||
</file>
|
||||
<file src="lib/Controller/AvatarController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>Filesystem</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/ChatController.php">
|
||||
<InvalidArrayOffset occurrences="1">
|
||||
<code>$commentIdToIndex[$parentId]</code>
|
||||
</InvalidArrayOffset>
|
||||
</file>
|
||||
<file src="lib/Controller/PageController.php">
|
||||
<MissingDependency occurrences="2">
|
||||
<code>IRootFolder</code>
|
||||
|
|
@ -258,6 +258,11 @@
|
|||
<code>BeforeTemplateRenderedEvent</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Service/AvatarService.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>\OC_Image</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Share/Listener.php">
|
||||
<InvalidArgument occurrences="1">
|
||||
<code>[self::class, 'listenPreShare']</code>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue