From 8a2ca689849626dc818474004ca10c57cdedc8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 30 Aug 2020 14:33:15 +0200 Subject: [PATCH] Enhancement: Synchronize with ergebnis/php-library-template --- .github/workflows/integrate.yaml | 13 +++++------- composer-require-checker.json | 34 ++++++++++++++++---------------- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index c5e34ed6..07116c9b 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -262,7 +262,7 @@ jobs: - name: "Install PHP with extensions" uses: "shivammathur/setup-php@2.4.3" with: - coverage: "xdebug" + coverage: "pcov" extensions: "${{ env.PHP_EXTENSIONS }}" php-version: "${{ matrix.php-version }}" @@ -284,11 +284,8 @@ jobs: with: dependencies: "${{ matrix.dependencies }}" - - name: "Dump Xdebug filter with phpunit/phpunit" - run: "vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --dump-xdebug-filter=.build/phpunit/xdebug-filter.php" - - - name: "Collect code coverage with Xdebug and phpunit/phpunit" - run: "vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-clover=.build/logs/clover.xml --prepend=.build/phpunit/xdebug-filter.php" + - name: "Collect code coverage with pcov and phpunit/phpunit" + run: "vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-clover=.build/logs/clover.xml" - name: "Send code coverage report to Codecov.io" env: @@ -315,7 +312,7 @@ jobs: - name: "Install PHP with extensions" uses: "shivammathur/setup-php@2.4.3" with: - coverage: "xdebug" + coverage: "pcov" extensions: "${{ env.PHP_EXTENSIONS }}" php-version: "${{ matrix.php-version }}" @@ -334,7 +331,7 @@ jobs: with: dependencies: "${{ matrix.dependencies }}" - - name: "Run mutation tests with Xdebug and infection/infection" + - name: "Run mutation tests with pcov and infection/infection" run: "vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=${{ env.MIN_COVERED_MSI }} --min-msi=${{ env.MIN_MSI }}" merge: diff --git a/composer-require-checker.json b/composer-require-checker.json index ea94fc53..67d0aa16 100644 --- a/composer-require-checker.json +++ b/composer-require-checker.json @@ -1,19 +1,19 @@ { - "symbol-whitelist": [ - "array", - "bool", - "callable", - "false", - "float", - "int", - "iterable", - "null", - "object", - "parent", - "self", - "static", - "string", - "true", - "void" - ] + "symbol-whitelist": [ + "array", + "bool", + "callable", + "false", + "float", + "int", + "iterable", + "null", + "object", + "parent", + "self", + "static", + "string", + "true", + "void" + ] }