aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-04-26 14:35:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-26 14:35:24 +0200
commit13b503a1a4c29091da2415f41fa838850b5d3f10 (patch)
tree45ab071dd9357f5e40661e98571b438090d569d8 /build
parentbb82bfac6dd388fac21284b7996eaa31cc44d55f (diff)
downloadnextcloud-server-13b503a1a4c29091da2415f41fa838850b5d3f10.tar.gz
nextcloud-server-13b503a1a4c29091da2415f41fa838850b5d3f10.zip
Check doc block signature to match the specified return type
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'build')
-rw-r--r--build/.phan/config.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/.phan/config.php b/build/.phan/config.php
index 9bd61ee5687..dc914883f01 100644
--- a/build/.phan/config.php
+++ b/build/.phan/config.php
@@ -144,6 +144,12 @@ return [
// to fix in your code base.
'quick_mode' => false,
+ // If true, check to make sure the return type declared
+ // in the doc-block (if any) matches the return type
+ // declared in the method signature. This process is
+ // slow.
+ 'check_docblock_signature_param_type_match' => true,
+
// If enabled, check all methods that override a
// parent method to make sure its signature is
// compatible with the parent's. This check