From 0357aae491f368a2c79f3b71171ba83b4c18c564 Mon Sep 17 00:00:00 2001 From: Oleg Zhulnev Date: Mon, 12 Jul 2021 23:44:26 +0300 Subject: [PATCH] Run Infection on PHP 8.1 --- .github/workflows/ci.yaml | 10 +++------- composer.json | 2 +- composer.lock | 16 ++++++++-------- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a2d2219cb..eaa8ea2b6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,8 +24,9 @@ jobs: - { operating-system: 'windows-latest', php-version: '7.4', dependencies: '', coverage-driver: 'xdebug' } - { operating-system: 'ubuntu-latest', php-version: '7.4', dependencies: '--prefer-lowest', coverage-driver: 'pcov' } - { operating-system: 'ubuntu-latest', php-version: '8.0', dependencies: '--ignore-platform-req=php', coverage-driver: 'pcov' } + - { operating-system: 'ubuntu-latest', php-version: '8.1', dependencies: '--ignore-platform-req=php', coverage-driver: 'pcov' } - continue-on-error: ${{ matrix.php-version == '8.0' }} + continue-on-error: ${{ matrix.php-version == '8.1' }} name: CI on ${{ matrix.operating-system }} with PHP ${{ matrix.php-version }}, using ${{ matrix.coverage-driver }} ${{ matrix.dependencies }} steps: @@ -40,14 +41,10 @@ jobs: ini-values: memory_limit=512M tools: composer:v2 - - name: Get composer cache directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Cache dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ~/.cache/composer key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}-${{ matrix.dependencies }} restore-keys: | composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}- @@ -99,7 +96,6 @@ jobs: sudo apt-get install -y --no-install-recommends expect - name: Run the whole set of E2E tests - continue-on-error: ${{ matrix.php-version == '8.0' }} if: runner.os != 'Windows' env: TERM: xterm-256color diff --git a/composer.json b/composer.json index c66f40706..95b5eead3 100644 --- a/composer.json +++ b/composer.json @@ -51,7 +51,7 @@ "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.4", "justinrainbow/json-schema": "^5.2.10", - "nikic/php-parser": "^4.10.3", + "nikic/php-parser": "^4.12", "ocramius/package-versions": "^1.9.0 || ^2.0", "ondram/ci-detector": "^3.3.0", "sanmai/later": "^0.1.1", diff --git a/composer.lock b/composer.lock index 89b035c5a..b3d4752b9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e386c963bbc78549523114db79bcb94c", + "content-hash": "845e3134218d0e80837c1a51aa2b1c40", "packages": [ { "name": "composer/xdebug-handler", @@ -289,16 +289,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.10.4", + "version": "v4.12.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e" + "reference": "6608f01670c3cc5079e18c1dab1104e002579143" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143", + "reference": "6608f01670c3cc5079e18c1dab1104e002579143", "shasum": "" }, "require": { @@ -339,9 +339,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0" }, - "time": "2020-12-20T10:01:03+00:00" + "time": "2021-07-21T10:44:31+00:00" }, { "name": "ocramius/package-versions", @@ -4678,5 +4678,5 @@ "platform-overrides": { "php": "7.4.7" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" }