diff --git a/.github/actions/composer/composer/install/action.yaml b/.github/actions/composer/composer/install/action.yaml index 573a4322..bab262e5 100644 --- a/.github/actions/composer/composer/install/action.yaml +++ b/.github/actions/composer/composer/install/action.yaml @@ -10,10 +10,6 @@ inputs: dependencies: description: "Which dependencies to install, one of \"lowest\", \"locked\", \"highest\"" required: true - working-dir: - description: "Working direWhich dependencies to install, one of \"lowest\", \"locked\", \"highest\"" - required: false - default: "." runs: using: "composite" @@ -24,4 +20,3 @@ runs: run: "${{ github.action_path }}/run.sh" env: COMPOSER_INSTALL_DEPENDENCIES: "${{ inputs.dependencies }}" - COMPOSER_WORKING_DIR: "${{ inputs.working-dir }}" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index a2e3cac1..f2139b09 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -265,7 +265,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 }}" @@ -287,11 +287,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: @@ -318,7 +315,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 }}" @@ -337,7 +334,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 3b68c3d2..51ebe49e 100644 --- a/composer-require-checker.json +++ b/composer-require-checker.json @@ -1,20 +1,20 @@ { - "symbol-whitelist": [ - "array", - "bool", - "callable", - "false", - "float", - "int", - "iterable", - "null", - "object", - "parent", - "self", - "static", - "string", - "true", - "void", - "PHPUnit\\Framework\\TestCase" - ] + "symbol-whitelist": [ + "array", + "bool", + "callable", + "false", + "float", + "int", + "iterable", + "null", + "object", + "parent", + "self", + "static", + "string", + "true", + "void", + "PHPUnit\\Framework\\TestCase" + ] }