@@ -45,7 +45,7 @@ |
||
45 | 45 | $bundles = $container->getParameter('kernel.bundles'); |
46 | 46 | |
47 | 47 | if (isset($bundles['DoctrineBundle'])) { |
48 | - $container->addCompilerPass(DoctrineOrmMappingsPass::createXmlMappingDriver($mappings, ['parthenon.orm'], )); |
|
48 | + $container->addCompilerPass(DoctrineOrmMappingsPass::createXmlMappingDriver($mappings, ['parthenon.orm'],)); |
|
49 | 49 | Type::overrideType('datetime', UtcDateTimeType::class); |
50 | 50 | Type::overrideType('datetimetz', UtcDateTimeType::class); |
51 | 51 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | ->children() |
50 | 50 | ->scalarNode('default_role')->defaultValue('ROLE_USER')->end() |
51 | 51 | ->arrayNode('user_assignable') |
52 | - ->useAttributeAsKey('name') |
|
52 | + ->useAttributeAsKey('name') |
|
53 | 53 | ->scalarPrototype()->end() |
54 | 54 | ->end() |
55 | 55 | ->arrayNode('athena_assignable') |
@@ -93,11 +93,11 @@ discard block |
||
93 | 93 | $query = current($this->queries); |
94 | 94 | |
95 | 95 | return $this->addAggregation([ |
96 | - 'query' => [ |
|
97 | - $query['queryType'] => [ |
|
98 | - $query['fieldName'] => $query['fieldValue'], |
|
99 | - ], |
|
100 | - ], |
|
96 | + 'query' => [ |
|
97 | + $query['queryType'] => [ |
|
98 | + $query['fieldName'] => $query['fieldValue'], |
|
99 | + ], |
|
100 | + ], |
|
101 | 101 | ]); |
102 | 102 | } |
103 | 103 | |
@@ -127,10 +127,10 @@ discard block |
||
127 | 127 | $output['bool'][$qualifierType] = []; |
128 | 128 | } |
129 | 129 | $output['bool'][$qualifierType][] = [ |
130 | - $query['queryType'] => [ |
|
131 | - $query['fieldName'] => $query['fieldValue'], |
|
132 | - ], |
|
133 | - ]; |
|
130 | + $query['queryType'] => [ |
|
131 | + $query['fieldName'] => $query['fieldValue'], |
|
132 | + ], |
|
133 | + ]; |
|
134 | 134 | } |
135 | 135 | } |
136 | 136 |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | $entityForm = parent::buildEntityForm($entityForm); |
48 | 48 | |
49 | - $planNames = array_map(function (Plan $plan) { |
|
49 | + $planNames = array_map(function(Plan $plan) { |
|
50 | 50 | return $plan->getName(); |
51 | 51 | }, $this->planManager->getPlans()); |
52 | 52 |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | { |
47 | 47 | if (!$input->getArgument('email')) { |
48 | 48 | $emailQuestion = new Question('Please provide an email:'); |
49 | - $emailQuestion->setValidator(function ($email) { |
|
49 | + $emailQuestion->setValidator(function($email) { |
|
50 | 50 | if (empty($email)) { |
51 | 51 | throw new \Exception('Email can not be empty'); |
52 | 52 | } |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | |
62 | 62 | if (!$input->getArgument('password')) { |
63 | 63 | $passwordQuestion = new Question('Please provide a password:'); |
64 | - $passwordQuestion->setValidator(function ($password) { |
|
64 | + $passwordQuestion->setValidator(function($password) { |
|
65 | 65 | if (empty($password)) { |
66 | 66 | throw new \Exception('password can not be empty'); |
67 | 67 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | { |
45 | 45 | if (!$input->getArgument('email')) { |
46 | 46 | $emailQuestion = new Question('Please provide an email:'); |
47 | - $emailQuestion->setValidator(function ($email) { |
|
47 | + $emailQuestion->setValidator(function($email) { |
|
48 | 48 | if (empty($email)) { |
49 | 49 | throw new \Exception('Email can not be empty'); |
50 | 50 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | $entityForm = parent::buildEntityForm($entityForm); |
48 | 48 | |
49 | - $planNames = array_map(function (Plan $plan) { |
|
49 | + $planNames = array_map(function(Plan $plan) { |
|
50 | 50 | return $plan->getName(); |
51 | 51 | }, $this->planManager->getPlans()); |
52 | 52 |