Browse Source

Merge pull request #12662 from cakephp/phpstan

Update phpstan config.
ADmad 7 years ago
parent
commit
6fa82aeef9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      phpstan.neon

+ 2 - 2
phpstan.neon

@@ -26,8 +26,8 @@ parameters:
         - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::setConfig\(\)#'
         - '#Call to an undefined method Cake\\Auth\\Storage\\StorageInterface::setConfig\(\)#'
         - '#Variable \$_SESSION in isset\(\) always exists and is not nullable#'
         - '#Variable \$_SESSION in isset\(\) always exists and is not nullable#'
         - '#PHPDoc tag @throws with type PHPUnit\\Exception is not subtype of Throwable#'
         - '#PHPDoc tag @throws with type PHPUnit\\Exception is not subtype of Throwable#'
-        - '#Method Redis::setex\(\) invoked with 3 parameters, 0 required#'
-        - '#Method Redis::setnx\(\) invoked with 2 parameters, 0 required#'
+        - '#Binary operation "\+" between array|false and array results in an error#'
+        - '#Result of method Cake\\Auth\\BaseAuthenticate::unauthenticated\(\) \(void\) is used#'
     earlyTerminatingMethodCalls:
     earlyTerminatingMethodCalls:
         Cake\Console\Shell:
         Cake\Console\Shell:
             - abort
             - abort