Skip to content

Commit 7cbc2b8

Browse files
authored
Introduce entrypoint provider for phpbench (#262)
1 parent f68d1e2 commit 7cbc2b8

File tree

7 files changed

+1017
-3
lines changed

7 files changed

+1017
-3
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ $ vendor/bin/phpstan
7171
- annotations like `@test`, `@before`, `@afterClass` etc
7272
- attributes like `#[Test]`, `#[Before]`, `#[AfterClass]` etc
7373

74+
#### PhpBench:
75+
- `benchXxx` methods
76+
- `#[BeforeMethods]`, `#[AfterMethods]` attributes
77+
- `#[ParamProviders]` attribute for param provider methods
78+
7479
#### PHPStan:
7580
- constructor calls for DIC services (rules, extensions, ...)
7681

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"nette/component-model": "^3.0",
2626
"nette/utils": "^3.0 || ^4.0",
2727
"nikic/php-parser": "^5.4.0",
28+
"phpbench/phpbench": "^1.2",
2829
"phpstan/phpstan-phpunit": "^2.0.4",
2930
"phpstan/phpstan-strict-rules": "^2.0.3",
3031
"phpstan/phpstan-symfony": "^2.0.2",

0 commit comments

Comments
 (0)