Issues (346)

code/lint.php (2 issues)

Labels
Severity
1
<?php
2
3
require 'vendor/autoload.php';
4
5
use Symfony\Component\Console\Application;
0 ignored issues
show
The type Symfony\Component\Console\Application 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 Symfony\Component\Yaml\Command\LintCommand;
0 ignored issues
show
The type Symfony\Component\Yaml\Command\LintCommand 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...
7
8
(new Application('yaml/lint'))
9
    ->add(new LintCommand())
10
    ->getApplication()
11
    ->setDefaultCommand('lint:yaml', true)
12
    ->run();