Failed Conditions
Push — issue#808 ( 868db7...3c2936 )
by Guilherme
07:23
created

FragmentController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A fragmentAction() 0 4 1
1
<?php
2
3
namespace LoginCidadao\InfiniteScrollBundle\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
use LoginCidadao\InfiniteScrollBundle\Model\NotificationIterable;
0 ignored issues
show
Bug introduced by
The type LoginCidadao\InfiniteScr...el\NotificationIterable 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
use LoginCidadao\NotificationBundle\Handler\NotificationHandlerInterface;
0 ignored issues
show
Bug introduced by
The type LoginCidadao\Notificatio...icationHandlerInterface 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...
8
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
9
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
10
11
class FragmentController extends Controller
12
{
13
14
    public function fragmentAction($name)
15
    {
16
        return $this->render('LoginCidadaoInfiniteScrollBundle:Default:index.html.twig',
17
                                array('name' => $name));
18
    }
19
20
}
21