diff options
author | J0WI <J0WI@users.noreply.github.com> | 2021-04-13 01:17:28 +0200 |
---|---|---|
committer | J0WI <J0WI@users.noreply.github.com> | 2021-10-23 23:15:42 +0200 |
commit | 047cab8dd26d9c31c6a747499a06c80c7e29c37e (patch) | |
tree | 3c7b148601ce333e72cfb1960a3cd453d8ab0064 /build/psalm-baseline.xml | |
parent | 623ac8c7066227d9bf499cd42ca7c8a27ecf4346 (diff) | |
download | nextcloud-server-047cab8dd26d9c31c6a747499a06c80c7e29c37e.tar.gz nextcloud-server-047cab8dd26d9c31c6a747499a06c80c7e29c37e.zip |
Use findBinaryPath for previews
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r-- | build/psalm-baseline.xml | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 9ec176a4ae9..7a36e88eca3 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -4319,16 +4319,6 @@ <code>$second</code> </InvalidScalarArgument> </file> - <file src="lib/private/Preview/Office.php"> - <ForbiddenCode occurrences="3"> - <code>shell_exec($exec)</code> - <code>shell_exec('command -v libreoffice')</code> - <code>shell_exec('command -v openoffice')</code> - </ForbiddenCode> - <ImplicitToStringCast occurrences="1"> - <code>$png</code> - </ImplicitToStringCast> - </file> <file src="lib/private/Preview/ProviderV1Adapter.php"> <InvalidReturnStatement occurrences="1"> <code>$thumbnail === false ? null: $thumbnail</code> @@ -4350,12 +4340,6 @@ <code>$svg</code> </ImplicitToStringCast> </file> - <file src="lib/private/PreviewManager.php"> - <ForbiddenCode occurrences="2"> - <code>shell_exec('command -v libreoffice')</code> - <code>shell_exec('command -v openoffice')</code> - </ForbiddenCode> - </file> <file src="lib/private/RedisFactory.php"> <InvalidScalarArgument occurrences="1"> <code>\RedisCluster::OPT_SLAVE_FAILOVER</code> |