Skip to content

Commit

Permalink
Add phpbench dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusValera committed Jul 12, 2021
1 parent e425e2a commit 1055ccb
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 3 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"vimeo/psalm": "^4.6",
"friendsofphp/php-cs-fixer": "^2.19",
"symfony/var-dumper": "^5.3",
"phpstan/phpstan": "^0.12.90"
"phpstan/phpstan": "^0.12.90",
"phpbench/phpbench": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -56,6 +57,7 @@
"psalm": "./vendor/bin/psalm",
"phpstan": "./vendor/bin/phpstan analyze -c phpstan.neon src",
"csfix": "./vendor/bin/php-cs-fixer fix --allow-risky=yes",
"csrun": "./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run"
"csrun": "./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run",
"benchmark": "./vendor/bin/phpbench run tests/Benchmark"
}
}
253 changes: 252 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions phpbench.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"runner.bootstrap": "vendor/autoload.php"
}

0 comments on commit 1055ccb

Please sign in to comment.