From c6d113c293c0502ba36cb2fd3ffcac4937b9373f Mon Sep 17 00:00:00 2001 From: insolita Date: Sat, 24 Oct 2020 19:58:00 +0800 Subject: [PATCH 1/5] try github actions move to github actions --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1bc823..0b74689 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,7 @@ jobs: uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: php-version: ${{ matrix.php-versions }} + extensions: mbstring tools: composer:v2 - name: Get composer cache directory From a9c2ca67034de88e94a461c7a7164bb6c4fb5343 Mon Sep 17 00:00:00 2001 From: insolita Date: Sat, 24 Oct 2020 20:07:40 +0800 Subject: [PATCH 2/5] try github actions tap phpunit --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": [ From 952aef48e88fdfb4098996613d01f0465b57e5e2 Mon Sep 17 00:00:00 2001 From: insolita Date: Sat, 24 Oct 2020 20:14:00 +0800 Subject: [PATCH 3/5] try github actions wip --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b74689..be6cfbc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: php-version: ${{ matrix.php-versions }} - extensions: mbstring + extensions: mbstring, intl tools: composer:v2 - name: Get composer cache directory From f2960faaff222708b3b00eeee55fa181194a3695 Mon Sep 17 00:00:00 2001 From: insolita Date: Sat, 24 Oct 2020 20:16:59 +0800 Subject: [PATCH 4/5] try github actions wip --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be6cfbc..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 From 404296e041c94d172253f5a3447606a7e8b54287 Mon Sep 17 00:00:00 2001 From: insolita Date: Sat, 24 Oct 2020 20:20:38 +0800 Subject: [PATCH 5/5] add changelog - remove travis - update badge --- .travis.yml | 20 -------------------- CHANGELOG.md | 4 ++++ README.md | 2 +- 3 files changed, 5 insertions(+), 21 deletions(-) delete mode 100644 .travis.yml 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