|
1724 | 1724 | </InvalidReturnType> |
1725 | 1725 | </file> |
1726 | 1726 | <file src="apps/files_sharing/lib/SharedStorage.php"> |
1727 | | - <FalsableReturnStatement occurrences="5"> |
1728 | | - <code>$this->nonMaskedStorage->fopen($this->getUnjailedPath($path), $mode)</code> |
| 1727 | + <FalsableReturnStatement occurrences="1"> |
1729 | 1728 | <code>$this->sourceRootInfo</code> |
1730 | | - <code>false</code> |
1731 | | - <code>false</code> |
1732 | | - <code>false</code> |
1733 | 1729 | </FalsableReturnStatement> |
1734 | 1730 | <InvalidNullableReturnType occurrences="1"> |
1735 | 1731 | <code>ICacheEntry</code> |
|
2792 | 2788 | <file src="core/routes.php"> |
2793 | 2789 | <InvalidScope occurrences="2"> |
2794 | 2790 | <code>$this</code> |
2795 | | - <code>$this</code> |
| 2791 | + <code>$this->create('core_ajax_update', '/core/ajax/update.php')</code> |
2796 | 2792 | </InvalidScope> |
2797 | 2793 | </file> |
2798 | 2794 | <file src="core/templates/layout.public.php"> |
|
3068 | 3064 | <FalsableReturnStatement occurrences="1"> |
3069 | 3065 | <code>false</code> |
3070 | 3066 | </FalsableReturnStatement> |
3071 | | - <InvalidReturnStatement occurrences="1"> |
| 3067 | + <InvalidReturnStatement occurrences="2"> |
3072 | 3068 | <code>$this->tar->extractInString($path)</code> |
3073 | 3069 | </InvalidReturnStatement> |
3074 | | - <InvalidReturnType occurrences="1"> |
| 3070 | + <InvalidReturnType occurrences="2"> |
| 3071 | + <code>resource</code> |
3075 | 3072 | <code>string</code> |
3076 | 3073 | </InvalidReturnType> |
3077 | 3074 | <UndefinedDocblockClass occurrences="1"> |
|
3083 | 3080 | <code>boolean|null</code> |
3084 | 3081 | <code>boolean|null</code> |
3085 | 3082 | </ImplementedReturnTypeMismatch> |
| 3083 | + <InvalidReturnStatement occurrences="1"/> |
| 3084 | + <InvalidReturnType occurrences="1"> |
| 3085 | + <code>resource</code> |
| 3086 | + </InvalidReturnType> |
3086 | 3087 | </file> |
3087 | 3088 | <file src="lib/private/Authentication/LoginCredentials/Store.php"> |
3088 | 3089 | <RedundantCondition occurrences="1"> |
|
4213 | 4214 | </InvalidReturnType> |
4214 | 4215 | </file> |
4215 | 4216 | <file src="lib/private/Files/Storage/Wrapper/Encoding.php"> |
4216 | | - <FalsableReturnStatement occurrences="12"> |
4217 | | - <code>$result</code> |
4218 | | - <code>$this->storage->file_get_contents($this->findPathToUse($path))</code> |
4219 | | - <code>$this->storage->filemtime($this->findPathToUse($path))</code> |
4220 | | - <code>$this->storage->filesize($this->findPathToUse($path))</code> |
4221 | | - <code>$this->storage->free_space($this->findPathToUse($path))</code> |
4222 | | - <code>$this->storage->getETag($this->findPathToUse($path))</code> |
4223 | | - <code>$this->storage->getLocalFile($this->findPathToUse($path))</code> |
4224 | | - <code>$this->storage->getMimeType($this->findPathToUse($path))</code> |
4225 | | - <code>$this->storage->hash($type, $this->findPathToUse($path), $raw)</code> |
4226 | | - <code>$this->storage->opendir($this->findPathToUse($path))</code> |
4227 | | - <code>$this->storage->search($query)</code> |
4228 | | - <code>$this->storage->stat($this->findPathToUse($path))</code> |
4229 | | - </FalsableReturnStatement> |
4230 | | - <ImplementedReturnTypeMismatch occurrences="1"> |
4231 | | - <code>bool</code> |
4232 | | - </ImplementedReturnTypeMismatch> |
4233 | | - <InvalidReturnStatement occurrences="1"> |
4234 | | - <code>$this->storage->filetype($this->findPathToUse($path))</code> |
4235 | | - </InvalidReturnStatement> |
4236 | | - <InvalidReturnType occurrences="1"> |
4237 | | - <code>bool</code> |
4238 | | - </InvalidReturnType> |
4239 | 4217 | <UndefinedInterfaceMethod occurrences="13"> |
4240 | 4218 | <code>$this->namesCache</code> |
4241 | 4219 | <code>$this->namesCache</code> |
|
4253 | 4231 | </UndefinedInterfaceMethod> |
4254 | 4232 | </file> |
4255 | 4233 | <file src="lib/private/Files/Storage/Wrapper/Encryption.php"> |
4256 | | - <FalsableReturnStatement occurrences="5"> |
4257 | | - <code>$stat</code> |
4258 | | - <code>$this->storage->file_get_contents($path)</code> |
4259 | | - <code>$this->storage->filesize($path)</code> |
4260 | | - <code>$this->storage->getLocalFile($path)</code> |
4261 | | - <code>false</code> |
4262 | | - </FalsableReturnStatement> |
4263 | | - <ImplementedReturnTypeMismatch occurrences="1"> |
4264 | | - <code>resource|bool</code> |
4265 | | - </ImplementedReturnTypeMismatch> |
4266 | 4234 | <InvalidArgument occurrences="2"> |
4267 | 4235 | <code>$source</code> |
4268 | 4236 | <code>$target</code> |
|
4281 | 4249 | <InvalidReturnType occurrences="1"> |
4282 | 4250 | <code>int</code> |
4283 | 4251 | </InvalidReturnType> |
4284 | | - <InvalidScalarArgument occurrences="2"> |
| 4252 | + <InvalidScalarArgument occurrences="4"> |
4285 | 4253 | <code>$lastChunkPos</code> |
4286 | 4254 | <code>$newUnencryptedSize</code> |
| 4255 | + <code>$size</code> |
| 4256 | + <code>$unencryptedSize</code> |
4287 | 4257 | </InvalidScalarArgument> |
4288 | 4258 | <NullableReturnStatement occurrences="1"> |
4289 | 4259 | <code>null</code> |
4290 | 4260 | </NullableReturnStatement> |
4291 | 4261 | </file> |
4292 | 4262 | <file src="lib/private/Files/Storage/Wrapper/Jail.php"> |
4293 | | - <FalsableReturnStatement occurrences="12"> |
4294 | | - <code>$this->getWrapperStorage()->file_get_contents($this->getUnjailedPath($path))</code> |
4295 | | - <code>$this->getWrapperStorage()->filemtime($this->getUnjailedPath($path))</code> |
4296 | | - <code>$this->getWrapperStorage()->filesize($this->getUnjailedPath($path))</code> |
4297 | | - <code>$this->getWrapperStorage()->fopen($this->getUnjailedPath($path), $mode)</code> |
4298 | | - <code>$this->getWrapperStorage()->free_space($this->getUnjailedPath($path))</code> |
4299 | | - <code>$this->getWrapperStorage()->getETag($this->getUnjailedPath($path))</code> |
4300 | | - <code>$this->getWrapperStorage()->getLocalFile($this->getUnjailedPath($path))</code> |
4301 | | - <code>$this->getWrapperStorage()->getMimeType($this->getUnjailedPath($path))</code> |
4302 | | - <code>$this->getWrapperStorage()->hash($type, $this->getUnjailedPath($path), $raw)</code> |
4303 | | - <code>$this->getWrapperStorage()->opendir($this->getUnjailedPath($path))</code> |
4304 | | - <code>$this->getWrapperStorage()->search($query)</code> |
4305 | | - <code>$this->getWrapperStorage()->stat($this->getUnjailedPath($path))</code> |
4306 | | - </FalsableReturnStatement> |
4307 | | - <ImplementedReturnTypeMismatch occurrences="1"> |
4308 | | - <code>bool</code> |
4309 | | - </ImplementedReturnTypeMismatch> |
4310 | 4263 | <InvalidReturnStatement occurrences="1"> |
4311 | 4264 | <code>$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))</code> |
4312 | 4265 | </InvalidReturnStatement> |
4313 | 4266 | <InvalidReturnType occurrences="1"> |
4314 | 4267 | <code>bool</code> |
4315 | 4268 | </InvalidReturnType> |
4316 | 4269 | </file> |
4317 | | - <file src="lib/private/Files/Storage/Wrapper/PermissionsMask.php"> |
4318 | | - <FalsableReturnStatement occurrences="1"> |
4319 | | - <code>$this->checkMask($permissions) ? parent::fopen($path, $mode) : false</code> |
4320 | | - </FalsableReturnStatement> |
4321 | | - </file> |
4322 | 4270 | <file src="lib/private/Files/Storage/Wrapper/Quota.php"> |
4323 | | - <FalsableReturnStatement occurrences="2"> |
4324 | | - <code>$source</code> |
4325 | | - <code>$this->storage->free_space($path)</code> |
4326 | | - </FalsableReturnStatement> |
4327 | 4271 | <InvalidReturnStatement occurrences="1"> |
4328 | 4272 | <code>$extension === 'part'</code> |
4329 | 4273 | </InvalidReturnStatement> |
|
4339 | 4283 | </ParamNameMismatch> |
4340 | 4284 | </file> |
4341 | 4285 | <file src="lib/private/Files/Storage/Wrapper/Wrapper.php"> |
4342 | | - <FalsableReturnStatement occurrences="13"> |
4343 | | - <code>$this->getWrapperStorage()->file_get_contents($path)</code> |
4344 | | - <code>$this->getWrapperStorage()->filemtime($path)</code> |
4345 | | - <code>$this->getWrapperStorage()->filesize($path)</code> |
4346 | | - <code>$this->getWrapperStorage()->fopen($path, $mode)</code> |
4347 | | - <code>$this->getWrapperStorage()->free_space($path)</code> |
4348 | | - <code>$this->getWrapperStorage()->getDirectDownload($path)</code> |
4349 | | - <code>$this->getWrapperStorage()->getETag($path)</code> |
4350 | | - <code>$this->getWrapperStorage()->getLocalFile($path)</code> |
4351 | | - <code>$this->getWrapperStorage()->getMimeType($path)</code> |
4352 | | - <code>$this->getWrapperStorage()->hash($type, $path, $raw)</code> |
4353 | | - <code>$this->getWrapperStorage()->opendir($path)</code> |
4354 | | - <code>$this->getWrapperStorage()->search($query)</code> |
4355 | | - <code>$this->getWrapperStorage()->stat($path)</code> |
4356 | | - </FalsableReturnStatement> |
4357 | | - <ImplementedReturnTypeMismatch occurrences="1"> |
4358 | | - <code>bool</code> |
4359 | | - </ImplementedReturnTypeMismatch> |
4360 | | - <InvalidReturnStatement occurrences="2"> |
4361 | | - <code>$this->getWrapperStorage()->filetype($path)</code> |
| 4286 | + <InvalidReturnStatement occurrences="1"> |
4362 | 4287 | <code>$this->getWrapperStorage()->test()</code> |
4363 | 4288 | </InvalidReturnStatement> |
4364 | | - <InvalidReturnType occurrences="2"> |
4365 | | - <code>bool</code> |
| 4289 | + <InvalidReturnType occurrences="1"> |
4366 | 4290 | <code>true</code> |
4367 | 4291 | </InvalidReturnType> |
4368 | 4292 | </file> |
|
4774 | 4698 | </InvalidReturnType> |
4775 | 4699 | </file> |
4776 | 4700 | <file src="lib/private/Preview/ProviderV2.php"> |
4777 | | - <FalsableReturnStatement occurrences="1"> |
| 4701 | + <InvalidReturnStatement occurrences="1"> |
4778 | 4702 | <code>$file->getStorage()->getLocalFile($file->getInternalPath())</code> |
4779 | | - </FalsableReturnStatement> |
| 4703 | + </InvalidReturnStatement> |
| 4704 | + <InvalidReturnType occurrences="1"> |
| 4705 | + <code>string</code> |
| 4706 | + </InvalidReturnType> |
4780 | 4707 | </file> |
4781 | 4708 | <file src="lib/private/Preview/SVG.php"> |
4782 | 4709 | <ImplicitToStringCast occurrences="1"> |
|
0 commit comments