diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1bc823..e53a3c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: true matrix: - php-versions: ['7.2', '7.3', '7.4', '8.0'] + php-versions: ['7.2', '7.3', '7.4'] steps: - uses: actions/checkout@v2 @@ -25,6 +25,7 @@ jobs: uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: php-version: ${{ matrix.php-versions }} + extensions: mbstring, intl tools: composer:v2 - name: Get composer cache directory diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e7f1262..0000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: php -php: - - 7.1 - - 7.2 - - 7.3 - - 7.4 -matrix: - fast_finish: true -# cache vendor dirs -cache: - directories: - - $HOME/.composer/cache - - vendor - -install: - - phpenv config-rm xdebug.ini || echo "xdebug is not installed" - - travis_retry composer self-update && composer --version - - travis_retry composer install --prefer-dist --no-interaction - -script: vendor/bin/phpunit -vvv diff --git a/CHANGELOG.md b/CHANGELOG.md index b47097e..5f25ef1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +2.2.0 + - Fix dev dependencies for composer2.0 compatibility + - code typehint fixes + 2.1.1 - Improve json output format - code style fixes diff --git a/README.md b/README.md index 3e61027..9a4ffb7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Project scanner for detect unused composer dependencies -[![Build Status](https://travis-ci.org/Insolita/unused-scanner.svg?branch=master)](https://travis-ci.org/Insolita/unused-scanner) +![unused-scanner](https://github.com/Insolita/unused-scanner/workflows/unused-scanner/badge.svg?branch=master) ### Versions diff --git a/composer.json b/composer.json index 01e211c..195b5b5 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "nesbot/carbon": ">=1.22" } , "require-dev": { - "phpunit/phpunit": "^7.0|^8.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0", "symfony/thanks": "^1.2" } , "bin": [