Completed
Push — 0.3-dev ( 912fea...ada888 )
by Arnaud
08:42 queued 06:06
created
Tests/AdminBundle/Admin/Factory/AdminFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         // test with no configuration
82 82
         $adminFactory = $this->mockAdminFactory();
83 83
         // unknow admin not exists, it should throw an exception
84
-        $this->assertExceptionRaised('Exception', function () use ($adminFactory) {
84
+        $this->assertExceptionRaised('Exception', function() use ($adminFactory) {
85 85
             $adminFactory->getAdmin('unknown_admin');
86 86
         });
87 87
         // test with configurations samples
Please login to merge, or discard this patch.
Tests/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
         $repository = $this->mockEntityRepository();
260 260
         $repository
261 261
             ->method('getEntityPersister')
262
-            ->willReturn( $this
262
+            ->willReturn($this
263 263
                 ->getMockBuilder('Doctrine\ORM\Persisters\Entity\BasicEntityPersister')
264 264
                 ->disableOriginalConstructor()
265 265
                 ->getMock());
Please login to merge, or discard this patch.
Tests/app/AppKernel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     public function registerContainerConfiguration(LoaderInterface $loader)
24 24
     {
25
-        $loader->load(__DIR__.'/config/config_test.yml');
25
+        $loader->load(__DIR__ . '/config/config_test.yml');
26 26
     }
27 27
 
28 28
     /**
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function getCacheDir()
32 32
     {
33
-        $cacheDir = sys_get_temp_dir().'/phpunit/cache';
33
+        $cacheDir = sys_get_temp_dir() . '/phpunit/cache';
34 34
 
35 35
         if (!is_dir($cacheDir)) {
36 36
             mkdir($cacheDir, 0777, true);
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function getLogDir()
46 46
     {
47
-        $logDir = sys_get_temp_dir().'/phpunit/logs';
47
+        $logDir = sys_get_temp_dir() . '/phpunit/logs';
48 48
 
49 49
         if (!is_dir($logDir)) {
50 50
             mkdir($logDir, 0777, true);
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@  discard block
 block discarded – undo
4 4
 
5 5
 //use Symfony\Component\HttpFoundation\Request;
6 6
 
7
-if (!is_file($loaderFile = __DIR__.'/../vendor/autoload.php') && !is_file($loaderFile = __DIR__.'/../../../../../../vendor/autoload.php')) {
7
+if (!is_file($loaderFile = __DIR__ . '/../vendor/autoload.php') && !is_file($loaderFile = __DIR__ . '/../../../../../../vendor/autoload.php')) {
8 8
     throw new LogicException('Could not find autoload.php in vendor/. Did you run "composer install --dev"?');
9 9
 }
10 10
 
11 11
 /** @var \Composer\Autoload\ClassLoader $loader */
12 12
 $loader = require $loaderFile;
13
-$loader->add('', __DIR__.'/src/');
13
+$loader->add('', __DIR__ . '/src/');
14 14
 $loader->register();
15 15
 
16 16
 //require_once __DIR__ . '/src/Entity/TestEntity.php';
@@ -30,4 +30,4 @@  discard block
 block discarded – undo
30 30
 //$loader = require_once __DIR__.'/app/bootstrap.php.cache';
31 31
 
32 32
 //require_once __DIR__ . '/src/Test/TestBundle/TestTestBundle.php';
33
-require_once __DIR__.'/app/AppKernel.php';
33
+require_once __DIR__ . '/app/AppKernel.php';
Please login to merge, or discard this patch.