The type Imanghafoori\HeyMan\MakeSure\HttpClient was not found. Maybe you did not declare it correctly or list all dependencies?
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:
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
22
23
106
if (config()->get('app.debug') and ! app()->environment('production')) {
The method environment() does not exist on Illuminate\Container\Container. Are you sure you never get this type here, but always one of the subclasses?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
23
if (config()->get('app.debug') and ! app()->/** @scrutinizer ignore-call */ environment('production')) {
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
26
}
27
28
106
return SituationsProxy::call($method, $args);
29
}
30
31
public function makeSure($testCase): HttpClient
32
{
33
return new HttpClient($testCase);
34
}
35
36
2
public function checkPoint(string $pointName)
37
{
38
2
event('heyman_checkpoint_'.$pointName);
39
1
}
40
41
1
public function condition(string $name, $callable)
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