Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-02-08 00:48:58 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-03-22 23:07:59 +0300
commite6ee498f883db5f698798a60d7df9532253954b5 (patch)
treef02d8cf37874bb697ac8274efa9bffe378660153 /build
parent4cb539bf090bee4dda41ce96973ab1b2e35558fa (diff)
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')
-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>