From 51b5235002b115a52fe01366d0c6f1e50db357af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 25 Apr 2022 11:55:21 +0200 Subject: [PATCH] update dependencies (#25) --- .github/dependabot.yml | 2 +- .github/workflows/continuous-integration.yml | 54 +------------------- composer.json | 4 +- 3 files changed, 5 insertions(+), 55 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4d8e40b..d2c7b2d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -17,7 +17,7 @@ updates: - "mimmi20" labels: - "dependencies" - versioning-strategy: "increase" + versioning-strategy: "increase-if-necessary" commit-message: include: "scope" prefix: "composer" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a93c3ed..9c0372d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -437,7 +437,7 @@ jobs: extensions: "${{ env.PHP_EXTENSIONS }}" ini-values: "${{ env.PHP_INI_VALUES }}" coverage: "${{ matrix.coverage-drivers }}" - tools: "${{ env.TOOLS }}, infection" + tools: "${{ env.TOOLS }}, infection:0.26.6" - name: "Update dependencies with composer" uses: "ramsey/composer-install@v1" @@ -452,7 +452,7 @@ jobs: run: "vendor/bin/phpunit -c phpunit.xml --verbose --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml" - name: "Upload coverage to Codecov" - uses: "codecov/codecov-action@v3.0.0" + uses: "codecov/codecov-action@v3.1.0" with: file: ".build/coverage/clover.xml" flags: "phpunit,php-${{ matrix.php-version }},${{ matrix.coverage-drivers }},${{ matrix.php-version }},${{ matrix.operating-system }}" @@ -460,53 +460,3 @@ jobs: - name: "Run mutation tests with infection/infection" run: "infection -s --min-covered-msi=93 --min-msi=90 --coverage=.build/coverage --logger-github" - - roave-backwards-compatibility-check: - name: "Check for Backward Compatibility breaks" - - needs: "lint" - - runs-on: "${{ matrix.operating-system }}" - - continue-on-error: false - - strategy: - fail-fast: false - - matrix: - operating-system: - - "ubuntu-20.04" - - php-version: - - "8.1" - - dependencies: - - "highest" - - steps: - - name: "Checkout" - uses: "actions/checkout@v3" - with: - # Disabling shallow clone is recommended for improving relevancy of reporting - fetch-depth: 0 - - - name: "Install PHP" - uses: "shivammathur/setup-php@2.18.1" - with: - php-version: "${{ matrix.php-version }}" - extensions: "${{ env.PHP_EXTENSIONS }}" - ini-values: "${{ env.PHP_INI_VALUES }}" - coverage: "none" - tools: "${{ env.TOOLS }}" - - - name: "Require Roave/BackwardCompatibilityCheck" - run: "composer require --no-update --no-interaction --prefer-dist --prefer-stable --dev \"roave/backward-compatibility-check\"" - - - name: "Update dependencies with composer" - uses: "ramsey/composer-install@v1" - with: - dependency-versions: "${{ matrix.dependencies }}" - composer-options: "${{ env.COMPOSER_OPTIONS }}" - - - name: "Check for BC breaks" - run: "vendor/bin/roave-backward-compatibility-check --format=github-actions" diff --git a/composer.json b/composer.json index f0dbc99..e33da3d 100644 --- a/composer.json +++ b/composer.json @@ -25,9 +25,9 @@ "require-dev": { "mimmi20/coding-standard": "^2.7.0", "phpstan/extension-installer": "^1.1.0", - "phpstan/phpstan": "^1.5.6", + "phpstan/phpstan": "^1.5.7", "phpstan/phpstan-deprecation-rules": "^1.0.0", - "phpstan/phpstan-phpunit": "^1.1.0", + "phpstan/phpstan-phpunit": "^1.1.1", "phpunit/phpunit": "^9.5.20" }, "minimum-stability": "dev",