for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PhpTaskman\Core\Robo\Task\Filesystem;
/**
* Trait LoadFilesystemTasks.
*/
trait LoadFilesystemTasks
{
* @param mixed $task
* @param mixed $options
*
* @return \Robo\Collection\CollectionBuilder
public function taskFilesystemFactory($task, $options)
return $this->task(Filesystem::class)->{$task}(...array_values($options));
task()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return $this->/** @scrutinizer ignore-call */ task(Filesystem::class)->{$task}(...array_values($options));
}