Issues (238)

Builders/MagicTranslateProjectPipelineBuilder.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Translation\Tasks\Builders;
4
5
use League\Pipeline\Pipeline;
0 ignored issues
show
The type League\Pipeline\Pipeline 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
use Operador\Contracts\StageInterface;
7
8
use Operador\Contracts\PipelineBuilder;
9
10
use Translation\Tasks\Pipelines\MagicTranslateProjectPipeline;
11
12
class MagicTranslateProjectPipelineBuilder extends PipelineBuilder
13
{
14
    public static function getPipelineWithOutput($output)
15
    {
16
        $builder = self::makeWithOutput($output);
17
        $builder
18
            ->add(MagicTranslateProjectPipeline::makeWithOutput($builder->getOutput()));
19
20
        return $builder->build();
21
    }
22
}