Issues (1426)

app/src/Controller/DefaultController.php (6 issues)

1
<?php
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
namespace Db3v4l\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
0 ignored issues
show
The type Symfony\Bundle\Framework...ller\AbstractController 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\Routing\Annotation\Route;
0 ignored issues
show
The type Symfony\Component\Routing\Annotation\Route 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
class DefaultController extends AbstractController
0 ignored issues
show
Missing doc comment for class DefaultController
Loading history...
9
{
10
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
11
     * @Route("/", name="home")
12
     */
0 ignored issues
show
Missing @return tag in function comment
Loading history...
13
    public function indexAction()
14
    {
15
        return $this->render('Default/index.html.twig');
16
    }
17
}
18