Completed
Push — master ( 6dd072...abdcd9 )
by
unknown
03:03 queued 23s
created

Model/ContextManagerInterface.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Sonata Project package.
7
 *
8
 * (c) Thomas Rabaix <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Sonata\ClassificationBundle\Model;
15
16
use Sonata\Doctrine\Model\ManagerInterface;
17
18
interface ContextManagerInterface extends ManagerInterface
0 ignored issues
show
Comprehensibility Best Practice introduced by
The type Sonata\ClassificationBun...ContextManagerInterface has been defined more than once; this definition is ignored, only the first definition in tests/fixtures/SonataCla...extManagerInterface.php (L18-20) is considered.

This check looks for classes that have been defined more than once.

If you can, we would recommend to use standard object-oriented programming techniques. For example, to avoid multiple types, it might make sense to create a common interface, and then multiple, different implementations for that interface.

This also has the side-effect of providing you with better IDE auto-completion, static analysis and also better OPCode caching from PHP.

Loading history...
19
{
20
}
21