Browse Source

Merge pull request #9313 from nextcloud/phan-check-php-doc

Check doc block signature to match the specified return type
tags/v14.0.0beta1
Morris Jobke 6 years ago
parent
commit
6d5f4432cd
No account linked to committer's email address
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      build/.phan/config.php

+ 6
- 0
build/.phan/config.php View File

@@ -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

Loading…
Cancel
Save