Test Failed
Branch main (71aea1)
by Iain
22:07
created
src/Athena/AbstractSection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
22 22
     {
23 23
         $reflectionObject = new \ReflectionObject($this->getEntity());
24 24
 
25
-        $camelCaseToSnakeCase = function ($input) {
25
+        $camelCaseToSnakeCase = function($input) {
26 26
             if (0 === preg_match('/[A-Z]/', $input)) {
27 27
                 return $input;
28 28
             }
29 29
             $pattern = '/([a-z])([A-Z])/';
30 30
 
31
-            return strtolower(preg_replace_callback($pattern, function ($a) {
31
+            return strtolower(preg_replace_callback($pattern, function($a) {
32 32
                 return $a[1].'_'.strtolower($a[2]);
33 33
             }, $input));
34 34
         };
Please login to merge, or discard this patch.
src/ParthenonBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/RuleEngine/Repository/ProxyFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $factory = new Factory();
26 26
         $proxy = $factory->createProxy(
27 27
             $ruleEngineRepository,
28
-            ['save' => function ($proxy, $instance, $method, $params) { $this->instantProcessor->process(current($params)); }],
28
+            ['save' => function($proxy, $instance, $method, $params) { $this->instantProcessor->process(current($params)); }],
29 29
             []
30 30
         );
31 31
 
Please login to merge, or discard this patch.
src/RuleEngine/Form/Type/AddRuleType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function buildForm(FormBuilderInterface $builder, array $options)
33 33
     {
34 34
         foreach ($options['entityProperties'] as $entityName => $properties) {
35
-            $builder->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event) use ($properties, $entityName) {
35
+            $builder->addEventListener(FormEvents::PRE_SUBMIT, function(FormEvent $event) use ($properties, $entityName) {
36 36
                 $rule = $event->getData();
37 37
                 $form = $event->getForm();
38 38
 
Please login to merge, or discard this patch.
src/Subscriptions/Athena/TeamSubscriberSection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Subscriptions/Athena/UserSubscriberSection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.