|
|
|
|
@ -1724,12 +1724,8 @@ |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
</file> |
|
|
|
|
<file src="apps/files_sharing/lib/SharedStorage.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="5"> |
|
|
|
|
<code>$this->nonMaskedStorage->fopen($this->getUnjailedPath($path), $mode)</code> |
|
|
|
|
<FalsableReturnStatement occurrences="1"> |
|
|
|
|
<code>$this->sourceRootInfo</code> |
|
|
|
|
<code>false</code> |
|
|
|
|
<code>false</code> |
|
|
|
|
<code>false</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
<InvalidNullableReturnType occurrences="1"> |
|
|
|
|
<code>ICacheEntry</code> |
|
|
|
|
@ -2464,6 +2460,11 @@ |
|
|
|
|
<code>null</code> |
|
|
|
|
</NullArgument> |
|
|
|
|
</file> |
|
|
|
|
<file src="apps/workflowengine/lib/Check/FileMimeType.php"> |
|
|
|
|
<InvalidScalarArgument occurrences="1"> |
|
|
|
|
<code>$path</code> |
|
|
|
|
</InvalidScalarArgument> |
|
|
|
|
</file> |
|
|
|
|
<file src="apps/workflowengine/lib/Check/FileSize.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="1"> |
|
|
|
|
<code>$this->size</code> |
|
|
|
|
@ -2792,7 +2793,7 @@ |
|
|
|
|
<file src="core/routes.php"> |
|
|
|
|
<InvalidScope occurrences="2"> |
|
|
|
|
<code>$this</code> |
|
|
|
|
<code>$this</code> |
|
|
|
|
<code>$this->create('core_ajax_update', '/core/ajax/update.php')</code> |
|
|
|
|
</InvalidScope> |
|
|
|
|
</file> |
|
|
|
|
<file src="core/templates/layout.public.php"> |
|
|
|
|
@ -3068,10 +3069,11 @@ |
|
|
|
|
<FalsableReturnStatement occurrences="1"> |
|
|
|
|
<code>false</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
<InvalidReturnStatement occurrences="1"> |
|
|
|
|
<InvalidReturnStatement occurrences="2"> |
|
|
|
|
<code>$this->tar->extractInString($path)</code> |
|
|
|
|
</InvalidReturnStatement> |
|
|
|
|
<InvalidReturnType occurrences="1"> |
|
|
|
|
<InvalidReturnType occurrences="2"> |
|
|
|
|
<code>resource</code> |
|
|
|
|
<code>string</code> |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
<UndefinedDocblockClass occurrences="1"> |
|
|
|
|
@ -3083,6 +3085,10 @@ |
|
|
|
|
<code>boolean|null</code> |
|
|
|
|
<code>boolean|null</code> |
|
|
|
|
</ImplementedReturnTypeMismatch> |
|
|
|
|
<InvalidReturnStatement occurrences="1"/> |
|
|
|
|
<InvalidReturnType occurrences="1"> |
|
|
|
|
<code>resource</code> |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Authentication/LoginCredentials/Store.php"> |
|
|
|
|
<RedundantCondition occurrences="1"> |
|
|
|
|
@ -4213,29 +4219,6 @@ |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Encoding.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="12"> |
|
|
|
|
<code>$result</code> |
|
|
|
|
<code>$this->storage->file_get_contents($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->filemtime($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->filesize($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->free_space($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->getETag($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->getLocalFile($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->getMimeType($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->hash($type, $this->findPathToUse($path), $raw)</code> |
|
|
|
|
<code>$this->storage->opendir($this->findPathToUse($path))</code> |
|
|
|
|
<code>$this->storage->search($query)</code> |
|
|
|
|
<code>$this->storage->stat($this->findPathToUse($path))</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1"> |
|
|
|
|
<code>bool</code> |
|
|
|
|
</ImplementedReturnTypeMismatch> |
|
|
|
|
<InvalidReturnStatement occurrences="1"> |
|
|
|
|
<code>$this->storage->filetype($this->findPathToUse($path))</code> |
|
|
|
|
</InvalidReturnStatement> |
|
|
|
|
<InvalidReturnType occurrences="1"> |
|
|
|
|
<code>bool</code> |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
<UndefinedInterfaceMethod occurrences="13"> |
|
|
|
|
<code>$this->namesCache</code> |
|
|
|
|
<code>$this->namesCache</code> |
|
|
|
|
@ -4253,16 +4236,9 @@ |
|
|
|
|
</UndefinedInterfaceMethod> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Encryption.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="5"> |
|
|
|
|
<code>$stat</code> |
|
|
|
|
<code>$this->storage->file_get_contents($path)</code> |
|
|
|
|
<code>$this->storage->filesize($path)</code> |
|
|
|
|
<code>$this->storage->getLocalFile($path)</code> |
|
|
|
|
<FalsableReturnStatement occurrences="1"> |
|
|
|
|
<code>false</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1"> |
|
|
|
|
<code>resource|bool</code> |
|
|
|
|
</ImplementedReturnTypeMismatch> |
|
|
|
|
<InvalidArgument occurrences="2"> |
|
|
|
|
<code>$source</code> |
|
|
|
|
<code>$target</code> |
|
|
|
|
@ -4275,38 +4251,31 @@ |
|
|
|
|
<code>$result</code> |
|
|
|
|
<code>$result</code> |
|
|
|
|
</InvalidOperand> |
|
|
|
|
<InvalidReturnStatement occurrences="1"> |
|
|
|
|
<InvalidReturnStatement occurrences="5"> |
|
|
|
|
<code>$newUnencryptedSize</code> |
|
|
|
|
<code>$stat</code> |
|
|
|
|
<code>$this->storage->file_get_contents($path)</code> |
|
|
|
|
<code>$this->storage->filesize($path)</code> |
|
|
|
|
<code>$this->storage->getLocalFile($path)</code> |
|
|
|
|
</InvalidReturnStatement> |
|
|
|
|
<InvalidReturnType occurrences="1"> |
|
|
|
|
<InvalidReturnType occurrences="4"> |
|
|
|
|
<code>array</code> |
|
|
|
|
<code>int</code> |
|
|
|
|
<code>string</code> |
|
|
|
|
<code>string</code> |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
<InvalidScalarArgument occurrences="2"> |
|
|
|
|
<InvalidScalarArgument occurrences="5"> |
|
|
|
|
<code>$lastChunkPos</code> |
|
|
|
|
<code>$newUnencryptedSize</code> |
|
|
|
|
<code>$size</code> |
|
|
|
|
<code>$size</code> |
|
|
|
|
<code>$sourceStorage->filemtime($sourceInternalPath)</code> |
|
|
|
|
</InvalidScalarArgument> |
|
|
|
|
<NullableReturnStatement occurrences="1"> |
|
|
|
|
<code>null</code> |
|
|
|
|
</NullableReturnStatement> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Jail.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="12"> |
|
|
|
|
<code>$this->getWrapperStorage()->file_get_contents($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->filemtime($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->filesize($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->fopen($this->getUnjailedPath($path), $mode)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->free_space($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->getETag($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->getLocalFile($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->getMimeType($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->hash($type, $this->getUnjailedPath($path), $raw)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->opendir($this->getUnjailedPath($path))</code> |
|
|
|
|
<code>$this->getWrapperStorage()->search($query)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->stat($this->getUnjailedPath($path))</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1"> |
|
|
|
|
<code>bool</code> |
|
|
|
|
</ImplementedReturnTypeMismatch> |
|
|
|
|
<InvalidReturnStatement occurrences="1"> |
|
|
|
|
<code>$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))</code> |
|
|
|
|
</InvalidReturnStatement> |
|
|
|
|
@ -4314,16 +4283,7 @@ |
|
|
|
|
<code>bool</code> |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/PermissionsMask.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="1"> |
|
|
|
|
<code>$this->checkMask($permissions) ? parent::fopen($path, $mode) : false</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Quota.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="2"> |
|
|
|
|
<code>$source</code> |
|
|
|
|
<code>$this->storage->free_space($path)</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
<InvalidReturnStatement occurrences="1"> |
|
|
|
|
<code>$extension === 'part'</code> |
|
|
|
|
</InvalidReturnStatement> |
|
|
|
|
@ -4339,30 +4299,10 @@ |
|
|
|
|
</ParamNameMismatch> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Wrapper.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="13"> |
|
|
|
|
<code>$this->getWrapperStorage()->file_get_contents($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->filemtime($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->filesize($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->fopen($path, $mode)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->free_space($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->getDirectDownload($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->getETag($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->getLocalFile($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->getMimeType($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->hash($type, $path, $raw)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->opendir($path)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->search($query)</code> |
|
|
|
|
<code>$this->getWrapperStorage()->stat($path)</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1"> |
|
|
|
|
<code>bool</code> |
|
|
|
|
</ImplementedReturnTypeMismatch> |
|
|
|
|
<InvalidReturnStatement occurrences="2"> |
|
|
|
|
<code>$this->getWrapperStorage()->filetype($path)</code> |
|
|
|
|
<InvalidReturnStatement occurrences="1"> |
|
|
|
|
<code>$this->getWrapperStorage()->test()</code> |
|
|
|
|
</InvalidReturnStatement> |
|
|
|
|
<InvalidReturnType occurrences="2"> |
|
|
|
|
<code>bool</code> |
|
|
|
|
<InvalidReturnType occurrences="1"> |
|
|
|
|
<code>true</code> |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
</file> |
|
|
|
|
@ -4774,9 +4714,12 @@ |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Preview/ProviderV2.php"> |
|
|
|
|
<FalsableReturnStatement occurrences="1"> |
|
|
|
|
<InvalidReturnStatement occurrences="1"> |
|
|
|
|
<code>$file->getStorage()->getLocalFile($file->getInternalPath())</code> |
|
|
|
|
</FalsableReturnStatement> |
|
|
|
|
</InvalidReturnStatement> |
|
|
|
|
<InvalidReturnType occurrences="1"> |
|
|
|
|
<code>string</code> |
|
|
|
|
</InvalidReturnType> |
|
|
|
|
</file> |
|
|
|
|
<file src="lib/private/Preview/SVG.php"> |
|
|
|
|
<ImplicitToStringCast occurrences="1"> |
|
|
|
|
|