From e361521da71e3054e68feb33fc4c93cdd4523f8f Mon Sep 17 00:00:00 2001 From: Patrik Votocek Date: Sun, 17 Jan 2016 20:06:15 +0100 Subject: [PATCH] Build: add PHPStan --- .travis.yml | 2 +- appveyor.yml | 2 +- build.xml | 27 +++++++++++++++++++++++++++ build/.gitignore | 1 + build/phpstan.neon | 1 + composer.json | 1 + 6 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 build/phpstan.neon diff --git a/.travis.yml b/.travis.yml index 4ef532d..12adf83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ before_install: - composer self-update install: - - composer update --no-interaction --prefer-source $COMPOSER_DEPENDENCIES_OPTIONS + - composer update --no-interaction --prefer-source --ignore-platform-reqs $COMPOSER_DEPENDENCIES_OPTIONS script: - bin/phing ci-build diff --git a/appveyor.yml b/appveyor.yml index ca20691..95fb4c1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,7 +37,7 @@ install: # Composer - composer self-update - - composer update --no-interaction --prefer-dist + - composer update --no-interaction --prefer-dist --ignore-platform-reqs test_script: - bin/phing ci-build diff --git a/build.xml b/build.xml index 2d4e720..ded457a 100644 --- a/build.xml +++ b/build.xml @@ -12,6 +12,8 @@ + + @@ -30,6 +32,7 @@ @@ -84,6 +87,30 @@ + + + + + + + + + + + + + + + + + + +