Test Setup Failed
Push — master ( 568f60...80f464 )
by
unknown
03:06
created
Oro/Bundle/ChannelBundle/Entity/Repository/ChannelRepositoryAbstract.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
             ->setParameter('dateStart', $start)
58 58
             ->setParameter('dateEnd', $end);
59 59
 
60
-        return (int) $aclHelper->apply($qb)->getSingleScalarResult();
60
+        return (int)$aclHelper->apply($qb)->getSingleScalarResult();
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.
Oro/Bundle/ChannelBundle/Entity/Repository/LifetimeHistoryRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $qb->select(sprintf('(%s)', implode(' + ', $selectFields)));
56 56
 
57
-        return (float) $qb->getQuery()->getSingleScalarResult();
57
+        return (float)$qb->getQuery()->getSingleScalarResult();
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
Entity/Repository/LifetimeValueAverageAggregationRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
         $sqlNames = $this->getSQLColumnNamesArray();
169 169
         $sql      = preg_replace_callback(
170 170
             '/{(\w+)}/',
171
-            function ($matches) use ($sqlNames) {
171
+            function($matches) use ($sqlNames) {
172 172
                 $fieldName = trim(end($matches));
173 173
                 if (isset($sqlNames[$fieldName])) {
174 174
                     return $sqlNames[$fieldName];
Please login to merge, or discard this patch.
src/Oro/Bundle/ChannelBundle/Provider/MetadataProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     protected function getChannelEntities()
78 78
     {
79 79
         $customEntities = $this->configManager->getProvider('extend')->map(
80
-            function (ConfigInterface $extendConfig) {
80
+            function(ConfigInterface $extendConfig) {
81 81
                 $isCustom
82 82
                     = $extendConfig->is('is_extend')
83 83
                     && $extendConfig->get('owner') === ExtendScope::OWNER_CUSTOM
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $customEntities = array_filter($customEntities);
90 90
 
91 91
         $entities = array_map(
92
-            function ($setting) {
92
+            function($setting) {
93 93
                 return $setting['name'];
94 94
             },
95 95
             $this->settings->getSettings(SettingsProvider::DATA_PATH)
Please login to merge, or discard this patch.
src/Oro/Bundle/ChannelBundle/Provider/StateProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 
135 135
             $assignedEntityNames = $this->aclHelper->apply($qb)->getArrayResult();
136 136
             $assignedEntityNames = array_map(
137
-                function ($result) {
137
+                function($result) {
138 138
                     return $result['name'];
139 139
                 },
140 140
                 $assignedEntityNames
Please login to merge, or discard this patch.
src/Oro/Bundle/ChannelBundle/Tests/Unit/Form/Type/ChannelTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $this->builder->expects($this->exactly(4))->method('add')
53 53
             ->will(
54 54
                 $this->returnCallback(
55
-                    function ($filedName, $fieldType) use (&$fields) {
55
+                    function($filedName, $fieldType) use (&$fields) {
56 56
                         $fields[$filedName] = $fieldType;
57 57
                     }
58 58
                 )
Please login to merge, or discard this patch.
Oro/Bundle/ChannelBundle/Tests/Unit/Form/Type/ChannelDatasourceTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
             ->method('getLabel')
86 86
             ->willReturn($transportName);
87 87
 
88
-        $registry        = new TypesRegistry();
88
+        $registry = new TypesRegistry();
89 89
         $registry->addChannelType(self::TEST_TYPE, $integrationType);
90 90
         $registry->addTransportType($transportName, self::TEST_TYPE, $transportType);
91 91
 
Please login to merge, or discard this patch.
Bundle/ChannelBundle/Tests/Unit/ImportExport/Helper/ChannelHelperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             ->method('query')
71 71
             ->will(
72 72
                 $this->returnCallback(
73
-                    function () use ($integrationId, $expected, $existingIntegrationId, $existingChannelId) {
73
+                    function() use ($integrationId, $expected, $existingIntegrationId, $existingChannelId) {
74 74
                         return $this->createFetchStatementMock(
75 75
                             [['id_0' => $existingChannelId, 'id_1' => $existingIntegrationId]]
76 76
                         );
Please login to merge, or discard this patch.
src/Oro/Bundle/ChannelBundle/Async/AggregateLifetimeAverageProcessor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,11 +54,11 @@
 block discarded – undo
54 54
         $ownerId = $message->getMessageId();
55 55
         $jobName = 'oro_channel:aggregate_lifetime_average';
56 56
 
57
-        $result = $this->jobRunner->runUnique($ownerId, $jobName, function () use ($body) {
57
+        $result = $this->jobRunner->runUnique($ownerId, $jobName, function() use ($body) {
58 58
             /** @var LifetimeValueAverageAggregationRepository $repository */
59
-            $repository  = $this->registry->getRepository(LifetimeValueAverageAggregation::class);
59
+            $repository = $this->registry->getRepository(LifetimeValueAverageAggregation::class);
60 60
             if ($body['force']) {
61
-                $repository->clearTableData(! $body['use_truncate']);
61
+                $repository->clearTableData(!$body['use_truncate']);
62 62
             }
63 63
 
64 64
             $repository->aggregate($this->localeSettings->getTimeZone(), $body['force']);
Please login to merge, or discard this patch.