From 3f09e52536c6b3b7d4ad6b574a1ae6686cf01263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20K=C5=82oda?= Date: Fri, 4 Nov 2022 14:52:47 +0100 Subject: [PATCH] Upgrade phpstan version --- .github/workflows/test.yml | 2 +- .travis.yml | 30 ------------------------------ 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b2638e..6a9b089 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: run: | cp phpunit.xml.dist phpunit.xml composer install - composer require --dev phpstan/phpstan + composer require --dev phpstan/phpstan:^0.9.2 - name: Run tests and analytics run: | vendor/phpunit/phpunit/phpunit -c phpunit.xml tests/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b8f464d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -language: php - -php: - - 7.0 - - 7.1 - - 7.2 - -branches: - only: - - master - - develop - - /^v\d+\.\d+\.\d+$/ - -cache: - directories: - - vendor/ - - $HOME/.composer/cache - -before_install: - - phpenv config-rm xdebug.ini || echo "XDebug disabled." - - composer self-update - -install: - - cp phpunit.xml.dist phpunit.xml - - composer install - - composer require --dev phpstan/phpstan - -script: - - vendor/phpunit/phpunit/phpunit -c phpunit.xml tests/ - - vendor/bin/phpstan analyse -l 7 lib/