Completed
Push — master ( c00bbf...06e52a )
by Pavel
17:08 queued 22s
created
Tests/Unit/Processor/FormProcessorTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use ScayTrase\Api\Cruds\Exception\EntityProcessingException;
8 8
 use ScayTrase\Api\Cruds\PublicPropertyMapper;
9 9
 use ScayTrase\Api\Cruds\Tests\WebTestCase;
10
-use ScayTrase\Api\Cruds\Tests\Fixtures\SymfonySerializer\SymfonyTestKernel;
11
-use ScayTrase\Api\Cruds\Tests\StaticKernelTestTrait;
12 10
 use Symfony\Component\Form\AbstractType;
13 11
 use Symfony\Component\Form\Extension\Core\Type\CollectionType;
14 12
 use Symfony\Component\Form\Extension\Core\Type\IntegerType;
Please login to merge, or discard this patch.
Tests/Fixtures/Common/CrudsTestKernel.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     public function getLogDir()
29 29
     {
30
-        return __DIR__ . '/../../../build/' . $this->getClassName() . '/logs';
30
+        return __DIR__.'/../../../build/'.$this->getClassName().'/logs';
31 31
     }
32 32
 
33 33
     /**
@@ -43,13 +43,13 @@  discard block
 block discarded – undo
43 43
     /** {@inheritdoc} */
44 44
     public function registerContainerConfiguration(LoaderInterface $loader)
45 45
     {
46
-        return $loader->load(__DIR__ . '/config.yml');
46
+        return $loader->load(__DIR__.'/config.yml');
47 47
     }
48 48
 
49 49
     protected function initializeContainer()
50 50
     {
51 51
         $class = $this->getContainerClass();
52
-        $cache = new ConfigCache($this->getCacheDir() . '/' . $class . '.php', $this->debug);
52
+        $cache = new ConfigCache($this->getCacheDir().'/'.$class.'.php', $this->debug);
53 53
 
54 54
         $container = $this->buildContainer();
55 55
         $container->compile();
@@ -60,15 +60,15 @@  discard block
 block discarded – undo
60 60
 
61 61
     public function getCacheDir()
62 62
     {
63
-        return __DIR__ . '/../../../build/' . $this->getClassName() . '/cache';
63
+        return __DIR__.'/../../../build/'.$this->getClassName().'/cache';
64 64
     }
65 65
 
66 66
     /** {@inheritdoc} */
67 67
     protected function buildContainer()
68 68
     {
69 69
         $container = parent::buildContainer();
70
-        $container->addResource(new FileResource(__DIR__ . '/config.yml'));
71
-        $container->addResource(new FileResource(__DIR__ . '/routing.yml'));
70
+        $container->addResource(new FileResource(__DIR__.'/config.yml'));
71
+        $container->addResource(new FileResource(__DIR__.'/routing.yml'));
72 72
 
73 73
         return $container;
74 74
     }
Please login to merge, or discard this patch.
Adaptors/JmsSerializer/JmsSerializerProcessor.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace ScayTrase\Api\Cruds\Adaptors\JmsSerializer;
4 4
 
5 5
 use JMS\Serializer\ArrayTransformerInterface as JmsDenormalizerInterface;
6
-use JMS\Serializer\Serializer;
7 6
 use ScayTrase\Api\Cruds\EntityProcessorInterface;
8 7
 
9 8
 final class JmsSerializerProcessor implements EntityProcessorInterface
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /** {@inheritdoc} */
25 25
     public function updateEntity($entity, $data)
26 26
     {
27
-        $newObject =$this->denormalizer->fromArray(
27
+        $newObject = $this->denormalizer->fromArray(
28 28
             $data,
29 29
             get_class($entity),
30 30
             JmsContextFactory::deserialization(['object_to_populate' => $entity])
Please login to merge, or discard this patch.