summaryrefslogtreecommitdiffstats
path: root/build/psalm-baseline.xml
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-02-07 22:48:58 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-03-22 20:07:59 +0000
commite6ee498f883db5f698798a60d7df9532253954b5 (patch)
treef02d8cf37874bb697ac8274efa9bffe378660153 /build/psalm-baseline.xml
parent4cb539bf090bee4dda41ce96973ab1b2e35558fa (diff)
downloadnextcloud-server-e6ee498f883db5f698798a60d7df9532253954b5.tar.gz
nextcloud-server-e6ee498f883db5f698798a60d7df9532253954b5.zip
Add OCC command to reset rendered texts
The command is meant to be used when the fonts used to render texts ("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf") are changed (for example, to add support for other scripts). The avatar and text file previews will be removed, so they will be generated again with the updated font when needed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r--build/psalm-baseline.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 0abdbcc4459..de3c0e83cc7 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -2662,6 +2662,11 @@
<code>section</code>
</UndefinedInterfaceMethod>
</file>
+ <file src="core/Command/Preview/ResetRenderedTexts.php">
+ <InvalidReturnStatement occurrences="1">
+ <code>[]</code>
+ </InvalidReturnStatement>
+ </file>
<file src="core/Command/Upgrade.php">
<InvalidScalarArgument occurrences="11">
<code>0</code>