Test Setup Failed
Push — master ( 335bea...ddb6c0 )
by
unknown
09:11 queued 05:05
created
src/Oro/Bundle/WorkflowBundle/Formatter/WorkflowVariableFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         }
39 39
 
40 40
         if (in_array(strtolower($workflowVariable->getType()), ['bool', 'boolean'], true)) {
41
-            $key =  $value ? 'Yes' : 'No';
41
+            $key = $value ? 'Yes' : 'No';
42 42
 
43 43
             return $this->translator->trans($key);
44 44
         }
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Controller/WorkflowDefinitionController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
                     $data['workflowsToDeactivation'],
219 219
                     $helper->getWorkflowsToDeactivation($workflowDefinition)
220 220
                         ->map(
221
-                            function (Workflow $workflow) {
221
+                            function(Workflow $workflow) {
222 222
                                 return $workflow->getName();
223 223
                             }
224 224
                         )->getValues()
Please login to merge, or discard this patch.
Bundle/WorkflowBundle/EventListener/WorkflowDefinitionEntityListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 $definition->getExclusiveActiveGroups()
63 63
             );
64 64
 
65
-            $conflictingWorkflows = $storedWorkflows->filter(function (Workflow $workflow) use ($definition) {
65
+            $conflictingWorkflows = $storedWorkflows->filter(function(Workflow $workflow) use ($definition) {
66 66
                 return $definition->getName() !== $workflow->getName();
67 67
             });
68 68
 
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/Transition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -610,7 +610,7 @@  discard block
 block discarded – undo
610 610
      */
611 611
     public function setScheduleCron($cron)
612 612
     {
613
-        $this->scheduleCron = (string) $cron;
613
+        $this->scheduleCron = (string)$cron;
614 614
 
615 615
         return $this;
616 616
     }
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
      */
630 630
     public function setScheduleFilter($dqlFilter)
631 631
     {
632
-        $this->scheduleFilter = (string) $dqlFilter;
632
+        $this->scheduleFilter = (string)$dqlFilter;
633 633
 
634 634
         return $this;
635 635
     }
Please login to merge, or discard this patch.
Tests/Unit/DataGrid/Extension/MassAction/MergeMassActionHandlerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             ->withAnyParameters()
138 138
             ->will(
139 139
                 $this->returnCallback(
140
-                    function () use (&$options) {
140
+                    function() use (&$options) {
141 141
                         return $options;
142 142
                     }
143 143
                 )
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 
227 227
         $this->setIteratedResultMock();
228 228
         $this->optionsArray['entity_name'] = 'AccountTestEntityName';
229
-        $callback = function ($param) use ($expectedIdFirst, $expectedIdSecond) {
229
+        $callback = function($param) use ($expectedIdFirst, $expectedIdSecond) {
230 230
             return $param[0] == $expectedIdFirst && $param[1] == $expectedIdSecond;
231 231
         };
232 232
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityMergeBundle/Controller/MergeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 
98 98
                 try {
99 99
                     $this->getEntityManager()->transactional(
100
-                        function () use ($merger, $entityData) {
100
+                        function() use ($merger, $entityData) {
101 101
                             $merger->merge($entityData);
102 102
                         }
103 103
                     );
Please login to merge, or discard this patch.
src/Oro/Bundle/IntegrationBundle/Test/FakeRestResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
      */
148 148
     public function json()
149 149
     {
150
-        $data = json_decode((string) $this->body, true);
150
+        $data = json_decode((string)$this->body, true);
151 151
         if (JSON_ERROR_NONE !== json_last_error()) {
152 152
             $exception = new \RuntimeException('Unable to parse response body into JSON: ' . json_last_error());
153 153
             throw new RestException(
Please login to merge, or discard this patch.
Bundle/IntegrationBundle/EventListener/LoggerClientDecoratorListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     protected function isEnabled(array $configuration)
53 53
     {
54
-        return (bool) $configuration['enabled'];
54
+        return (bool)$configuration['enabled'];
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
src/Oro/Bundle/UserBundle/Tests/Functional/CommandsTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $application = new \Symfony\Bundle\FrameworkBundle\Console\Application($kernel);
28 28
         $application->setAutoExit(false);
29 29
 
30
-        $doctrine =$this->client
30
+        $doctrine = $this->client
31 31
             ->getContainer()
32 32
             ->get('doctrine');
33 33
         /** @var Organization $organization */
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         return array(
89 89
             "user" => array(
90 90
                 "username" => 'user_' . mt_rand(),
91
-                "email" => 'test_'  . mt_rand() . '@test.com',
91
+                "email" => 'test_' . mt_rand() . '@test.com',
92 92
                 "enabled" => '1',
93 93
                 "plainPassword" => '1231231q',
94 94
                 "firstName" => "firstName",
Please login to merge, or discard this patch.