]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix variable name for referenced variable.
authorDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 14 Aug 2020 14:06:33 +0000 (16:06 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 18 Aug 2020 06:58:20 +0000 (08:58 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
psalm.xml

index fd5d9bfcbe3117f94fd2d86c7eff49dcfb6caca6..289fc1f08441a687e66f71d812a457a10f79d2f9 100644 (file)
--- a/psalm.xml
+++ b/psalm.xml
@@ -49,8 +49,8 @@
                </UndefinedFunction>
                <UndefinedGlobalVariable>
                        <errorLevel type="suppress">
-                               <referencedVariable name="l" />
-                               <referencedVariable name="_" />
+                               <referencedVariable name="$l"/>
+                               <referencedVariable name="$_"/>
                                <!-- false positive: https://github.com/nextcloud/server/blob/cb057829f72c70e819f456edfadbb29d72dba832/lib/private/Console/Application.php#L92 -->
                                <file name="apps/*/appinfo/register_command.php" />
                                <file name="core/register_command.php" />