Skip to content

Commit

Permalink
update phpunit to be php8 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
smoench committed Dec 4, 2020
1 parent d4fe522 commit 22742ae
Show file tree
Hide file tree
Showing 4 changed files with 476 additions and 231 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ tc: bin/phpunit
INFECTION=vendor-bin/infection/vendor/bin/infection
tm: ## Runs Infection
tm: $(TU_BOX_DEPS) $(INFECTION)
cd vendor-bin/infection && \
$(PHPNOGC) vendor/bin/infection \
--only-covered \
--configuration=../../infection.json.dist
cd vendor-bin/infection && $(PHPNOGC) vendor/bin/infection --only-covered

.PHONY: e2e
e2e: ## Runs all the end-to-end tests
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"require-dev": {
"bamarni/composer-bin-plugin": "^1.3",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^8.1",
"phpunit/phpunit": "9.2.*",
"symfony/phpunit-bridge": "^4.2 || ^5.0"
},
"suggest": {
Expand Down
Loading

0 comments on commit 22742ae

Please sign in to comment.