Skip to content

Commit

Permalink
Migrate to Pest v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomano committed Feb 4, 2024
1 parent c85b3c9 commit 107ebcf
Show file tree
Hide file tree
Showing 53 changed files with 2,253 additions and 1,811 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea/
.phpunit.result.cache
.phpunit.cache/
.vscode/
coverage.xml
coverage/
vendor/
vendor/
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@
"php": "^8.0"
},
"require-dev": {
"pestphp/pest": "^1.23",
"rector/rector": "^0.19"
"pestphp/pest": "^2.33.4",
"rector/rector": "^0.19",
"pestphp/pest-plugin-drift": "^2.5"
},
"scripts": {
"check": "vendor/bin/rector process --dry-run --clear-cache",
"tests": "vendor/bin/pest",
"tests-coverage": "vendor/bin/pest --coverage --min=90",
"tests-coverage-clover": "vendor/bin/pest --min=90 --coverage-clover coverage.xml",
"tests-coverage-html": "vendor/bin/pest --min=90 --coverage-html coverage"
"tests": "vendor/bin/pest --colors=always",
"tests-coverage": "vendor/bin/pest --colors=always --coverage --min=90",
"tests-coverage-clover": "vendor/bin/pest --colors=always --min=90 --coverage-clover coverage.xml",
"tests-coverage-html": "vendor/bin/pest --colors=always --min=90 --coverage-html coverage"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit 107ebcf

Please sign in to comment.