generated from ergebnis/php-cs-fixer-config-template
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement: Synchronize with ergebnis/php-library-template
- Loading branch information
1 parent
ae2b2d8
commit 8a2ca68
Showing
2 changed files
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,7 +262,7 @@ jobs: | |
- name: "Install PHP with extensions" | ||
uses: "shivammathur/[email protected]" | ||
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/[email protected]" | ||
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
] | ||
} |