summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-05-08 21:12:35 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-05-08 21:12:35 +0200
commit6de1a85c9cf1e14df2eed3550cb8307ab60cb8ff (patch)
tree0a5c0577b15de836dcf3c2f67c00a0c328344f55
parent7d17f220e52d683f849a1854278a9bd47af17dd2 (diff)
downloadgigologadmin-6de1a85c9cf1e14df2eed3550cb8307ab60cb8ff.tar.gz
gigologadmin-6de1a85c9cf1e14df2eed3550cb8307ab60cb8ff.tar.bz2
gigologadmin-6de1a85c9cf1e14df2eed3550cb8307ab60cb8ff.zip
Add config for Psalm as well...
-rw-r--r--psalm.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/psalm.xml b/psalm.xml
new file mode 100644
index 0000000..8121858
--- /dev/null
+++ b/psalm.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+
+SPDX-License-Identifier: CC0-1.0
+-->
+<psalm
+ errorLevel="4"
+ resolveFromConfigFile="true"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="https://getpsalm.org/schema/config"
+ xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
+>
+ <projectFiles>
+ <file name="generate-sample-gig-data.php"/>
+ <file name="giglogadmin.php"/>
+ <directory name="includes"/>
+ <ignoreFiles>
+ <directory name="vendor"/>
+ <directory name="includes/public/shortcodes" />
+ </ignoreFiles>
+ </projectFiles>
+
+ <issueHandlers>
+ <InvalidGlobal errorLevel="suppress" />
+ </issueHandlers>
+<plugins><pluginClass class="PsalmWordPress\Plugin"/></plugins></psalm>