Skip to content

Commit 548e037

Browse files
committed
PHPStan: ignore false positive errors
1 parent e90ba72 commit 548e037

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.phpstan.neon

+12
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,15 @@ parameters:
7676
count: 1
7777
path: tests/Unit/V1/ResourceNullTest.php
7878
# We are providing an invalid parameter to test the deprecation message
79+
80+
-
81+
message: "#^Parameter \\#1 \\$key of method Art4\\\\JsonApiClient\\\\Tests\\\\Fixtures\\\\AccessableTraitMock\\:\\:get\\(\\) expects Art4\\\\JsonApiClient\\\\Helper\\\\AccessKey\\|int\\|string, mixed given\\.$#"
82+
count: 1
83+
path: tests/Unit/Helper/AccessableTraitTest.php
84+
# We are providing an invalid parameter to test the deprecation message
85+
86+
-
87+
message: "#^Parameter \\#1 \\$key of method Art4\\\\JsonApiClient\\\\Tests\\\\Fixtures\\\\AccessableTraitMock\\:\\:has\\(\\) expects Art4\\\\JsonApiClient\\\\Helper\\\\AccessKey\\|int\\|string, mixed given\\.$#"
88+
count: 1
89+
path: tests/Unit/Helper/AccessableTraitTest.php
90+
# We are providing an invalid parameter to test the deprecation message

0 commit comments

Comments
 (0)