mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Ignore some PHPStan "no effect" errors in tests
PHPStan errors like these: Call to method Ramsey\Uuid\Builder\FallbackBuilder::build() on a separate line has no effect. can be safely ignored here. The lack of effect is intentional as we are testing exceptions.
This commit is contained in:
@@ -27,3 +27,12 @@ parameters:
|
||||
message: "#^Function uuid_parse\\(\\) has parameter \\$uuid with no typehint specified\\.$#"
|
||||
count: 1
|
||||
path: phpstan-bootstrap.php
|
||||
-
|
||||
message: "#^Call to method Ramsey\\\\Uuid\\\\.+ on a separate line has no effect\\.$#"
|
||||
paths:
|
||||
- Builder/*Test.php
|
||||
- Converter/*Test.php
|
||||
- Generator/*Test.php
|
||||
- Guid/*Test.php
|
||||
- Nonstandard/*Test.php
|
||||
- Rfc4122/*Test.php
|
||||
|
||||
Reference in New Issue
Block a user