GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 29-31 lines in 2 locations

src/Doctrine/DataFixtures/Executor/MongoDBExecutor.php 1 location

@@ 24-54 (lines=31) @@
21
 *
22
 * @author Théo FIDRY <[email protected]>
23
 */
24
class MongoDBExecutor extends DoctrineMongoDBExecutor implements ExecutorInterface
25
{
26
    use ExecutorTrait;
27
28
    /**
29
     * @var LoaderInterface
30
     */
31
    private $loader;
32
33
    /**
34
     * Construct new fixtures loader instance.
35
     *
36
     * @param DocumentManager $manager DocumentManager instance used for persistence.
37
     * @param LoaderInterface $loader
38
     * @param MongoDBPurger   $purger
39
     */
40
    public function __construct(DocumentManager $manager, LoaderInterface $loader, MongoDBPurger $purger = null)
41
    {
42
        parent::__construct($manager, $purger);
43
44
        $this->loader = $loader;
45
    }
46
47
    /**
48
     * {@inheritdoc}
49
     */
50
    public function execute(array $fixtures, $append = false)
51
    {
52
        $this->executeExecutor($this, $this->getObjectManager(), $this->loader, $fixtures, $append);
53
    }
54
}
55

src/Doctrine/DataFixtures/Executor/PHPCRExecutor.php 1 location

@@ 24-52 (lines=29) @@
21
 *
22
 * @author Théo FIDRY <[email protected]>
23
 */
24
class PHPCRExecutor extends DoctrinePHPCRExecutor implements ExecutorInterface
25
{
26
    use ExecutorTrait;
27
28
    /**
29
     * @var LoaderInterface
30
     */
31
    private $loader;
32
33
    /**
34
     * Construct new fixtures loader instance.
35
     *
36
     * @param DocumentManager $manager DocumentManager instance used for persistence.
37
     * @param LoaderInterface $loader
38
     * @param PHPCRPurger     $purger
39
     */
40
    public function __construct(DocumentManager $manager, LoaderInterface $loader, PHPCRPurger $purger = null)
41
    {
42
        parent::__construct($manager, $purger);
43
44
        $this->loader = $loader;
45
    }
46
47
    /** {@inheritdoc} */
48
    public function execute(array $fixtures, $append = false)
49
    {
50
        $this->executeExecutor($this, $this->getObjectManager(), $this->loader, $fixtures, $append);
51
    }
52
}
53