1
0
mirror of synced 2025-01-18 14:31:40 +03:00

Fix coding standards

This commit is contained in:
Benjamin Eberlei 2012-05-04 19:16:07 +02:00
parent 63b2c03a02
commit f566b79c87

View File

@ -10,14 +10,14 @@ class DDC1757Test extends \Doctrine\Tests\OrmFunctionalTestCase
{ {
public function testFailingCase() public function testFailingCase()
{ {
$qb = $this->_em->createQueryBuilder(); $qb = $this->_em->createQueryBuilder();
/* @var $qb \Doctrine\ORM\QueryBuilder */ /* @var $qb \Doctrine\ORM\QueryBuilder */
$qb->select('_a') $qb->select('_a')
->from(__NAMESPACE__ . '\DDC1757A', '_a') ->from(__NAMESPACE__ . '\DDC1757A', '_a')
->from(__NAMESPACE__ . '\DDC1757B', '_b') ->from(__NAMESPACE__ . '\DDC1757B', '_b')
->join('_b.c', '_c') ->join('_b.c', '_c')
->join('_c.d', '_d'); ->join('_c.d', '_d');
$q = $qb->getQuery(); $q = $qb->getQuery();
$dql = $q->getDQL(); $dql = $q->getDQL();
@ -37,7 +37,7 @@ class DDC1757A
/** /**
* @Column(type="integer") * @Column(type="integer")
* @Id * @Id
* @GeneratedValue(strategy="AUTO") * @GeneratedValue(strategy="AUTO")
*/ */
private $id; private $id;
} }
@ -50,7 +50,7 @@ class DDC1757B
/** /**
* @Column(type="integer") * @Column(type="integer")
* @Id * @Id
* @GeneratedValue(strategy="AUTO") * @GeneratedValue(strategy="AUTO")
*/ */
private $id; private $id;
@ -72,7 +72,7 @@ class DDC1757C
*/ */
public $id; public $id;
/** /**
* @OneToOne(targetEntity="DDC1757D") * @OneToOne(targetEntity="DDC1757D")
*/ */
private $d; private $d;