Passed
Push — master ( 4f12b2...844eab )
by GRASSIOT
07:44 queued 12s
created
src/Test/DoctrineOrmFilterTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     protected function doTestApply(bool $request, array $properties = null, array $filterParameters, string $expectedDql, array $expectedParameters = null, callable $filterFactory = null)
83 83
     {
84 84
         if (null === $filterFactory) {
85
-            $filterFactory = function (ManagerRegistry $managerRegistry, RequestStack $requestStack = null, array $properties = null): FilterInterface {
85
+            $filterFactory = function(ManagerRegistry $managerRegistry, RequestStack $requestStack = null, array $properties = null): FilterInterface {
86 86
                 $filterClass = $this->filterClass;
87 87
 
88 88
                 return new $filterClass($managerRegistry, $requestStack, null, $properties);
Please login to merge, or discard this patch.
src/Serializer/AbstractItemNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     public function __construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, IriConverterInterface $iriConverter, ResourceClassResolverInterface $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false)
59 59
     {
60
-        $defaultContext = ['circular_reference_handler' => function ($object) {
60
+        $defaultContext = ['circular_reference_handler' => function($object) {
61 61
             return $this->iriConverter->getIriFromItem($object);
62 62
         }];
63 63
 
Please login to merge, or discard this patch.
src/Hal/Serializer/ItemNormalizer.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -165,8 +165,7 @@
 block discarded – undo
165 165
         $class = $this->getObjectClass($object);
166 166
 
167 167
         $attributesMetadata = \array_key_exists($class, $this->attributesMetadataCache) ?
168
-            $this->attributesMetadataCache[$class] :
169
-            $this->attributesMetadataCache[$class] = $this->classMetadataFactory ? $this->classMetadataFactory->getMetadataFor($object)->getAttributesMetadata() : null;
168
+            $this->attributesMetadataCache[$class] : $this->attributesMetadataCache[$class] = $this->classMetadataFactory ? $this->classMetadataFactory->getMetadataFor($object)->getAttributesMetadata() : null;
170 169
 
171 170
         $key = '_'.$type;
172 171
         foreach ($components[$type] as $relation) {
Please login to merge, or discard this patch.