@@ -38,7 +38,7 @@ |
||
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 | } |
@@ -218,7 +218,7 @@ |
||
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() |
@@ -62,7 +62,7 @@ |
||
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 |
@@ -610,7 +610,7 @@ discard block |
||
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 |
||
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 | } |
@@ -137,7 +137,7 @@ discard block |
||
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 |
||
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 |
@@ -97,7 +97,7 @@ |
||
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 | ); |
@@ -147,7 +147,7 @@ |
||
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( |
@@ -51,7 +51,7 @@ |
||
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 | /** |
@@ -27,7 +27,7 @@ discard block |
||
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 |
||
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", |