aboutsummaryrefslogtreecommitdiffstats
path: root/phpstan.neon.dist
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-11-25 13:11:58 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-11-25 13:11:58 +0100
commitc0f9d55cfbb694af1803bc52b457689a226789bd (patch)
treee201c68fa7d9d5202db1023a40fbedd12f3e169c /phpstan.neon.dist
parent0da51e0f71d4a23d119ca6aa092d0f7d8794e783 (diff)
downloadvolse-hubzilla-c0f9d55cfbb694af1803bc52b457689a226789bd.tar.gz
volse-hubzilla-c0f9d55cfbb694af1803bc52b457689a226789bd.tar.bz2
volse-hubzilla-c0f9d55cfbb694af1803bc52b457689a226789bd.zip
phpstan: Ignore warnings on missing return statement.
While some of these may be fixable without too much hassle, quite a few of them will possibly require architectural restructuring. We should revisit these, but let's silence them for now.
Diffstat (limited to 'phpstan.neon.dist')
-rw-r--r--phpstan.neon.dist2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpstan.neon.dist b/phpstan.neon.dist
index 642102ffb..4a083851d 100644
--- a/phpstan.neon.dist
+++ b/phpstan.neon.dist
@@ -7,3 +7,5 @@ parameters:
- Zotlabs
scanDirectories:
- library
+ ignoreErrors:
+ - '#Method [\w:()_\\]+ should return (object|string) but return statement is missing.#'