From 78d243243cc27ec98fda4ea154b09097d720cba0 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 | 5 +++-- composer.json | 2 +- composer.lock | 16 ++++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a2d2219cb..b252e131d 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: @@ -99,7 +100,7 @@ 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' }} + continue-on-error: ${{ matrix.php-version == '8.1' }} if: runner.os != 'Windows' env: TERM: xterm-256color diff --git a/composer.json b/composer.json index a6ab6d0ab..5691008f8 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", - "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 5296a906f..84bc165a6 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": "111714ccf74328b5596fcd2cf3f3e202", + "content-hash": "490386555bde84b9023bd053c5038e6d", "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", @@ -4582,5 +4582,5 @@ "platform-overrides": { "php": "7.4.7" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" }