#7527 automated CS checks
This commit is contained in:
parent
ca436f0bae
commit
a41f5673bc
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Doctrine\Performance;
|
namespace Doctrine\Performance;
|
||||||
|
|
||||||
use Doctrine\Common\EventManager;
|
use Doctrine\Common\EventManager;
|
||||||
@ -12,6 +14,8 @@ use Doctrine\ORM\EntityManager;
|
|||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use Doctrine\ORM\Proxy\ProxyFactory;
|
use Doctrine\ORM\Proxy\ProxyFactory;
|
||||||
use Doctrine\ORM\Tools\SchemaTool;
|
use Doctrine\ORM\Tools\SchemaTool;
|
||||||
|
use function array_map;
|
||||||
|
use function realpath;
|
||||||
|
|
||||||
final class EntityManagerFactory
|
final class EntityManagerFactory
|
||||||
{
|
{
|
||||||
@ -57,7 +61,8 @@ final class EntityManagerFactory
|
|||||||
// A connection that doesn't really do anything
|
// A connection that doesn't really do anything
|
||||||
$connection = new class ([], new Driver(), null, new EventManager()) extends Connection
|
$connection = new class ([], new Driver(), null, new EventManager()) extends Connection
|
||||||
{
|
{
|
||||||
public function executeQuery($query, array $params = [], $types = [], QueryCacheProfile $qcp = null)
|
/** {@inheritdoc} */
|
||||||
|
public function executeQuery($query, array $params = [], $types = [], ?QueryCacheProfile $qcp = null)
|
||||||
{
|
{
|
||||||
return new ArrayStatement([]);
|
return new ArrayStatement([]);
|
||||||
}
|
}
|
||||||
|
@ -76,4 +76,3 @@ DQL;
|
|||||||
$this->parsedQueryWithDeclaredParameterType->execute();
|
$this->parsedQueryWithDeclaredParameterType->execute();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user