The type LeKoala\Base\Helpers\FileHelper 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:
The method message() does not exist on LeKoala\DevToolkit\Tasks\ClearCacheFolderTask. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
34
$this->/** @scrutinizer ignore-call */
35
message("Removed $folder");
Loading history...
35
} else {
36
$this->message("Failed to remove $folder", "error");
37
}
38
$result = mkdir($folder, 0755);
39
if ($result) {
40
$this->message("A new folder has been created at $folder");
41
} else {
42
$this->message("Failed to create a new folder at $folder", "error");
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