Skip to content
Permalink
Browse files

Updated PHPStan

  • Loading branch information...
ondrejmirtes committed Jan 8, 2017
1 parent 124477d commit a13552335aa3bf7539d0902843df7f02839afc76
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 phpstan.neon
@@ -97,7 +97,7 @@ script:

- if [[ $PHPCS = 1 ]]; then composer cs-check; fi
- if [[ $PHPCS = 3 ]]; then vendor/bin/phpcs -p -s --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi
- if [[ $PHPSTAN = 1 ]]; then composer require --dev phpstan/phpstan:^0.5.1 && vendor/bin/phpstan analyse -c phpstan.neon -l 0 src; fi
- if [[ $PHPSTAN = 1 ]]; then composer require --dev phpstan/phpstan:^0.6 && vendor/bin/phpstan analyse -c phpstan.neon -l 0 src; fi

after_success:
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.0 ]]; then bash <(curl -s https://codecov.io/bash); fi
@@ -5,12 +5,12 @@ parameters:
- '#Function wincache_ucache_[a-zA-Z0-9_]+ not found#'
- '#Function xcache_[a-zA-Z0-9_]+ not found#'
- '#Function fastcgi_[a-zA-Z0-9_]+ not found#'
- '#Function apache_[a-zA-Z0-9_]+ not found#'
- '#Cake\\Database\\Type\\[a-zA-Z0-9_]+Type::__construct\(\) does not call parent constructor from Cake\\Database\\Type#'
- '#Constructor of class Cake\\[a-zA-Z0-9_\\]+ has an unused parameter#'
- '#Call to an undefined method Cake\\Console\\Shell::main\(\)#'
- '#Access to undefined constant Memcached::OPT_CLIENT_MODE#'
- '#Access to undefined constant Memcached::DYNAMIC_CLIENT_MODE#'
- '#Access to undefined constant PDO::SQLSRV_ATTR_ENCODING#'
- '#Access to undefined constant PDO::SQLSRV_ENCODING_BINARY#'

services:

0 comments on commit a135523

Please sign in to comment.
You can’t perform that action at this time.