Skip to content

Commit

Permalink
Adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Feb 3, 2024
1 parent 47d1d2c commit 16151cb
Show file tree
Hide file tree
Showing 7 changed files with 2,991 additions and 166 deletions.
15 changes: 12 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"require-dev": {
"laravel/pint": "^1.2",
"pestphp/pest": "^2.33",
"phpstan/phpstan": "^1.10",
"rector/rector": "^0.19.2",
"symfony/var-dumper": "^6.0|^7.0"
Expand All @@ -53,7 +54,10 @@
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
"optimize-autoloader": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"csfix": [
Expand All @@ -71,18 +75,23 @@
"code-analysis": [
"vendor/bin/phpstan analyse"
],
"test": [
"vendor/bin/pest"
],
"all-check": [
"@refactor-review",
"@csfix",
"@code-analysis"
"@code-analysis",
"@test"
]
},
"scripts-descriptions": {
"csfix": "Runs Pint to fix code style.",
"csfix-review": "Runs Pint to show the code style review.",
"all-check": "Runs all checks needed.",
"refactor-review": "Runs Rector to show the code refactor review.",
"refactor": "Runs Rector and applies the refactor."
"refactor": "Runs Rector and applies the refactor.",
"test": "Runs Testing via PestPHP."
},
"minimum-stability": "stable",
"prefer-stable": true
Expand Down
Loading

0 comments on commit 16151cb

Please sign in to comment.