1 | <?php |
||||||
2 | |||||||
3 | declare(strict_types=1); |
||||||
4 | |||||||
5 | namespace PHPSTORM_META { |
||||||
6 | |||||||
7 | use Moka\Moka; |
||||||
0 ignored issues
–
show
|
|||||||
8 | |||||||
9 | override( |
||||||
0 ignored issues
–
show
The function
override was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
10 | Moka::phpunit(0), |
||||||
11 | map([ |
||||||
0 ignored issues
–
show
The function
map was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
12 | '' => '@', |
||||||
13 | ]) |
||||||
14 | ); |
||||||
15 | |||||||
16 | override( |
||||||
17 | Moka::prophecy(0), |
||||||
18 | map([ |
||||||
19 | '' => '@', |
||||||
20 | ]) |
||||||
21 | ); |
||||||
22 | |||||||
23 | override( |
||||||
24 | Moka::mockery(0), |
||||||
25 | map([ |
||||||
26 | '' => '@', |
||||||
27 | ]) |
||||||
28 | ); |
||||||
29 | |||||||
30 | override( |
||||||
31 | Moka::phake(0), |
||||||
32 | map([ |
||||||
33 | '' => '@', |
||||||
34 | ]) |
||||||
35 | ); |
||||||
36 | |||||||
37 | override( |
||||||
38 | \Moka\Plugin\PHPUnit\moka(0), |
||||||
0 ignored issues
–
show
The function
moka was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
39 | map([ |
||||||
40 | '' => '@', |
||||||
41 | ]) |
||||||
42 | ); |
||||||
43 | |||||||
44 | override( |
||||||
45 | \Moka\Plugin\Prophecy\moka(0), |
||||||
46 | map([ |
||||||
47 | '' => '@', |
||||||
48 | ]) |
||||||
49 | ); |
||||||
50 | |||||||
51 | override( |
||||||
52 | \Moka\Plugin\Mockery\moka(0), |
||||||
53 | map([ |
||||||
54 | '' => '@', |
||||||
55 | ]) |
||||||
56 | ); |
||||||
57 | |||||||
58 | override( |
||||||
59 | \Moka\Plugin\Phake\moka(0), |
||||||
60 | map([ |
||||||
61 | '' => '@', |
||||||
62 | ]) |
||||||
63 | ); |
||||||
64 | } |
||||||
65 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths