Skip to content

Commit 1760d6c

Browse files
committed
Introduce baseline after Mockery 1.6.10
1 parent dcb21ae commit 1760d6c

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

phpstan-baseline.neon

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Parameter \\#1 \\.\\.\\.\\$args of static method Mockery\\:\\:namedMock\\(\\) expects class\\-string\\<FooBar\\|PHPStan\\\\Mockery\\\\Foo\\>\\|FooBar\\|PHPStan\\\\Mockery\\\\Foo, string given\\.$#"
5+
count: 1
6+
path: tests/Mockery/MockeryTest.php
7+
8+
-
9+
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<PHPStan\\\\Mockery\\\\Baz, PHPStan\\\\Mockery\\\\Buzz\\|PHPStan\\\\Mockery\\\\Foo\\>\\|PHPStan\\\\Mockery\\\\Baz, PHPStan\\\\Mockery\\\\Buzz\\|PHPStan\\\\Mockery\\\\Foo, string given\\.$#"
10+
count: 1
11+
path: tests/Mockery/MockeryTest.php
12+
13+
-
14+
message: "#^Parameter \\#2 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<PHPStan\\\\Mockery\\\\Foo\\>\\|PHPStan\\\\Mockery\\\\Foo, array\\<int, true\\> given\\.$#"
15+
count: 1
16+
path: tests/Mockery/MockeryTest.php
17+
18+
-
19+
message: "#^Parameter \\#3 \\.\\.\\.\\$args of static method Mockery\\:\\:mock\\(\\) expects class\\-string\\<PHPStan\\\\Mockery\\\\Buzz\\|PHPStan\\\\Mockery\\\\Foo\\>\\|PHPStan\\\\Mockery\\\\Buzz\\|PHPStan\\\\Mockery\\\\Foo, array\\<int, true\\> given\\.$#"
20+
count: 1
21+
path: tests/Mockery/MockeryTest.php

phpstan.neon

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
22
- extension.neon
3+
- phpstan-baseline.neon
34
- vendor/phpstan/phpstan-phpunit/extension.neon
45
- vendor/phpstan/phpstan-phpunit/rules.neon
56
- vendor/phpstan/phpstan-strict-rules/rules.neon

0 commit comments

Comments
 (0)