Skip to content

Commit

Permalink
Remove infection
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Apr 26, 2024
1 parent 702a11c commit ec15218
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 37 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/infection.json export-ignore
/Makefile export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,3 @@ jobs:
- run: vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

- uses: codecov/codecov-action@v2

mutation-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v2
with:
coverage: xdebug
extensions: mbstring
php-version: 8.3

- run: composer install --no-interaction --no-progress

- run: vendor/bin/infection
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ coverage: ## Collects coverage from running unit tests with phpunit
vendor/bin/phpunit --dump-xdebug-filter=.build/phpunit/xdebug-filter.php
vendor/bin/phpunit --coverage-text --prepend=.build/phpunit/xdebug-filter.php

.PHONY: infection
infection: ## Runs mutation tests with infection
mkdir -p .build/infection
vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=100 --min-msi=100

.PHONY: approve
approve: ## Generate code and approve it as expected
tests/generate-and-approve-examples.php
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"composer/composer": "^2",
"ergebnis/composer-normalize": "^2.13",
"guzzlehttp/guzzle": "^7",
"infection/infection": "^0.21",
"jangregor/phpstan-prophecy": "^1",
"mll-lab/php-cs-fixer-config": "^5",
"mockery/mockery": "^1.4",
Expand Down
14 changes: 0 additions & 14 deletions infection.json

This file was deleted.

0 comments on commit ec15218

Please sign in to comment.