@@ -68,7 +68,7 @@ |
||
68 | 68 | $class->expects($this->any())->method('getAssociationNames')->will($this->returnValue(array())); |
69 | 69 | $class->expects($this->any())->method('isIdentifier')->will( |
70 | 70 | $this->returnCallback( |
71 | - function ($field) { |
|
71 | + function($field) { |
|
72 | 72 | return $field === 'a'; |
73 | 73 | } |
74 | 74 | ) |
@@ -1,12 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace OnurbTest\Bundle\YumlBundle\Yuml; |
3 | 3 | |
4 | -use Onurb\Bundle\YumlBundle\DataCollector\DoctrineYumlDataCollector; |
|
5 | 4 | use Onurb\Bundle\YumlBundle\Yuml\YumlClient; |
6 | 5 | use Onurb\Doctrine\ORMMetadataGrapher\YUMLMetadataGrapherInterface; |
7 | 6 | use PHPUnit\Framework\TestCase; |
8 | -use Symfony\Component\HttpFoundation\Response; |
|
9 | -use Symfony\Component\HttpFoundation\Request; |
|
10 | 7 | use Doctrine\ORM\EntityManagerInterface; |
11 | 8 | |
12 | 9 | class YumlClientTest extends TestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Onurb\Bundle\YumlBundle\Yuml\YumlClient; |
6 | 6 | use Onurb\Bundle\YumlBundle\Yuml\YumlClientInterface; |
7 | -use Symfony\Bridge\Doctrine\RegistryInterface; |
|
8 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
9 | 8 | |
10 | 9 | /** |