mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-19 16:47:23 +03:00
Ignore some PHPStan "no effect" errors in benchmarks
PHPStan errors like these: Call to static method Ramsey\Uuid\Uuid::uuid3() on a separate line has no effect. can be safely ignored here. The lack of effect is intentional in benchmarks.
This commit is contained in:
@@ -31,6 +31,7 @@ parameters:
|
||||
message: "#^Call to static method Ramsey\\\\Uuid\\\\.+ on a separate line has no effect\\.$#"
|
||||
paths:
|
||||
- *Test.php
|
||||
- benchmark/*Bench.php
|
||||
-
|
||||
message: "#^Call to method Ramsey\\\\Uuid\\\\.+ on a separate line has no effect\\.$#"
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user