diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-05-07 15:45:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 15:45:41 +0200 |
commit | 6d5f4432cd6962234f83ffe30f454c3348cc97f5 (patch) | |
tree | 97fcc3dbbaaa82793afa8b2e8b9e22f57dd3d7c4 /build | |
parent | 8b0616347c680e05caaa990171f180bd4a355d98 (diff) | |
parent | 13b503a1a4c29091da2415f41fa838850b5d3f10 (diff) | |
download | nextcloud-server-6d5f4432cd6962234f83ffe30f454c3348cc97f5.tar.gz nextcloud-server-6d5f4432cd6962234f83ffe30f454c3348cc97f5.zip |
Merge pull request #9313 from nextcloud/phan-check-php-doc
Check doc block signature to match the specified return type
Diffstat (limited to 'build')
-rw-r--r-- | build/.phan/config.php | 6 |
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 |