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
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-04-26 15:35:24 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-04-26 15:35:24 +0300
commit13b503a1a4c29091da2415f41fa838850b5d3f10 (patch)
tree45ab071dd9357f5e40661e98571b438090d569d8 /build/.phan
parentbb82bfac6dd388fac21284b7996eaa31cc44d55f (diff)
Check doc block signature to match the specified return type
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'build/.phan')
-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