Test Setup Failed
Pull Request — master (#793)
by
unknown
04:30
created
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.
src/Oro/Bundle/UserBundle/Tests/Functional/ControllersGroupTest.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
         $form = $crawler->selectButton('Save and Close')->form();
31 31
 
32 32
         $form['oro_user_group_form[name]'] = 'testGroup';
33
-        $form['oro_user_group_form[owner]']= 1;
33
+        $form['oro_user_group_form[owner]'] = 1;
34 34
 
35 35
         $this->client->followRedirects(true);
36 36
         $crawler = $this->client->submit($form);
Please login to merge, or discard this patch.
Tests/Unit/Datagrid/Extension/MassAction/ResetPasswordActionHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $results
81 81
             ->expects($this->atLeastOnce())
82 82
             ->method('current')
83
-            ->willReturnCallback(function () {
83
+            ->willReturnCallback(function() {
84 84
                 $this->methodCalls++;
85 85
                 return $this->methodCalls < 7 ? new ResultRecord(new User()) : null;
86 86
             });
Please login to merge, or discard this patch.
src/Oro/Bundle/UserBundle/Entity/Role.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
     {
193 193
         $dataForSerialization = [$this->id, $this->role, $this->label];
194 194
         if (property_exists($this, 'organization')) {
195
-            $dataForSerialization[] =  is_object($this->organization) ? clone $this->organization : $this->organization;
195
+            $dataForSerialization[] = is_object($this->organization) ? clone $this->organization : $this->organization;
196 196
         }
197 197
 
198 198
         return serialize($dataForSerialization);
Please login to merge, or discard this patch.
Tests/Unit/DependencyInjection/OroMessageQueueExtensionTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
 
91 91
         self::assertEquals(
92 92
             'oro_message_queue.transport.default.connection',
93
-            (string) $container->getAlias('oro_message_queue.transport.connection')
93
+            (string)$container->getAlias('oro_message_queue.transport.connection')
94 94
         );
95 95
         self::assertEquals(
96 96
             'oro_message_queue.transport.null.connection',
97
-            (string) $container->getAlias('oro_message_queue.transport.default.connection')
97
+            (string)$container->getAlias('oro_message_queue.transport.default.connection')
98 98
         );
99 99
     }
100 100
 
@@ -136,11 +136,11 @@  discard block
 block discarded – undo
136 136
 
137 137
         self::assertEquals(
138 138
             'oro_message_queue.transport.default.connection',
139
-            (string) $container->getAlias('oro_message_queue.transport.connection')
139
+            (string)$container->getAlias('oro_message_queue.transport.connection')
140 140
         );
141 141
         self::assertEquals(
142 142
             'oro_message_queue.transport.foo.connection',
143
-            (string) $container->getAlias('oro_message_queue.transport.default.connection')
143
+            (string)$container->getAlias('oro_message_queue.transport.default.connection')
144 144
         );
145 145
     }
146 146
 
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         self::assertInstanceOf(Reference::class, $messageProducer->getArgument(0));
234 234
         self::assertEquals(
235 235
             'oro_message_queue.client.traceable_message_producer.inner',
236
-            (string) $messageProducer->getArgument(0)
236
+            (string)$messageProducer->getArgument(0)
237 237
         );
238 238
     }
239 239
 
Please login to merge, or discard this patch.
MessageQueueBundle/Tests/Unit/DependencyInjection/ConfigurationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
             ]
154 154
         ]]);
155 155
 
156
-        $pidDir = rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'oro-message-queue';
156
+        $pidDir = rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'oro-message-queue';
157 157
 
158 158
         $this->assertEquals([
159 159
             'transport' => [
Please login to merge, or discard this patch.
Bundle/MessageQueueBundle/Tests/Unit/Consumption/ConsumerHeartbeatTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     protected function setUp()
17 17
     {
18 18
         $this->driver = $this->createMock(StateDriverInterface::class);
19
-        $this->consumerHeartbeat= new ConsumerHeartbeat($this->driver, 15);
19
+        $this->consumerHeartbeat = new ConsumerHeartbeat($this->driver, 15);
20 20
     }
21 21
 
22 22
     public function testTick()
Please login to merge, or discard this patch.
Bundle/MessageQueueBundle/DependencyInjection/OroMessageQueueExtension.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
         $config = $this->processConfiguration(new Configuration($this->factories), $configs);
56 56
 
57
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
57
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
58 58
         $loader->load('services.yml');
59 59
         $loader->load('log.yml');
60 60
         $loader->load('job.yml');
Please login to merge, or discard this patch.