Passed
Push — master ( 0b1f4e...7599c9 )
by Ruslan
02:30
created
src/DependencyInjection/Compiler/RemoveOverwrittenServicesCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function process(ContainerBuilder $container)
13 13
     {
14
-        $servicesToRemove = ['fos_rest.serializer.exception_normalizer.jms',];
14
+        $servicesToRemove = ['fos_rest.serializer.exception_normalizer.jms', ];
15 15
 
16 16
         foreach ($servicesToRemove as $serviceId) {
17 17
             $container->removeDefinition($serviceId);
Please login to merge, or discard this patch.
src/DependencyInjection/Compiler/ExceptionDescriberCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             $definition = $container->findDefinition($serviceId);
31 31
             $class = $definition->getClass();
32 32
             $implements = class_implements($definition->getClass());
33
-            if (! isset($implements[ExceptionDescriberInterface::class])) {
33
+            if (!isset($implements[ExceptionDescriberInterface::class])) {
34 34
                 throw new InvalidArgumentException(
35 35
                     sprintf(
36 36
                         'Service "%s" with class "%s" must implement interface "%s"',
Please login to merge, or discard this patch.
src/ExceptionDescriber/ExceptionDescribersQueue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         foreach ($this->describersQueue as $describer) {
24 24
             $result = $describer->extractErrors($exception);
25 25
 
26
-            if (! empty($result)) {
26
+            if (!empty($result)) {
27 27
                 return $result;
28 28
             }
29 29
         }
Please login to merge, or discard this patch.
src/SerializerHandler/JmsExceptionNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 
60 60
         $errors = $this->exceptionDescriber->extractErrors($exception);
61 61
 
62
-        if (! empty($errors)) {
62
+        if (!empty($errors)) {
63 63
             return ['errors' => $errors];
64 64
         }
65 65
 
Please login to merge, or discard this patch.