@@ -59,7 +59,7 @@ |
||
| 59 | 59 | $children = $cssRewriteFilterNode->children(); |
| 60 | 60 | $children->scalarNode('web_directory') |
| 61 | 61 | ->validate() |
| 62 | - ->ifTrue(function ($webDirectory) { |
|
| 62 | + ->ifTrue(function($webDirectory) { |
|
| 63 | 63 | return !file_exists($webDirectory); |
| 64 | 64 | }) |
| 65 | 65 | ->thenInvalid('The css rewrite web directory %s does not exist.') |
@@ -214,7 +214,7 @@ |
||
| 214 | 214 | { |
| 215 | 215 | $index = $this->findHeaderIndex($header); |
| 216 | 216 | |
| 217 | - $values = $sortedValues = array_map(function (NodeElement $node) { |
|
| 217 | + $values = $sortedValues = array_map(function(NodeElement $node) { |
|
| 218 | 218 | return $node->getText(); |
| 219 | 219 | }, $this->findCell(null, $index)); |
| 220 | 220 | |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | */ |
| 102 | 102 | private function decodeByProperty($property, $format) |
| 103 | 103 | { |
| 104 | - return array_map(function ($entry) use ($property) { |
|
| 104 | + return array_map(function($entry) use ($property) { |
|
| 105 | 105 | \PHPUnit_Framework_Assert::assertInternalType('array', $entry); |
| 106 | 106 | \PHPUnit_Framework_Assert::assertArrayHasKey($property, $entry); |
| 107 | 107 | |
@@ -71,11 +71,11 @@ |
||
| 71 | 71 | { |
| 72 | 72 | $resolver |
| 73 | 73 | ->setDefaults([ |
| 74 | - 'persistent' => function (Options $options) { |
|
| 74 | + 'persistent' => function(Options $options) { |
|
| 75 | 75 | return $options['grid']->hasOption('persistent') |
| 76 | 76 | && $options['grid']->getOption('persistent'); |
| 77 | 77 | }, |
| 78 | - 'xml_http_request' => function (Options $options) { |
|
| 78 | + 'xml_http_request' => function(Options $options) { |
|
| 79 | 79 | return $options['grid']->hasOption('xml_http_request') |
| 80 | 80 | && $options['grid']->getOption('xml_http_request'); |
| 81 | 81 | }, |
@@ -63,10 +63,10 @@ |
||
| 63 | 63 | { |
| 64 | 64 | $resolver |
| 65 | 65 | ->setDefaults([ |
| 66 | - 'constraints' => function (Options $options) { |
|
| 66 | + 'constraints' => function(Options $options) { |
|
| 67 | 67 | return new GridSortingConstraint(['grid' => $options['grid']]); |
| 68 | 68 | }, |
| 69 | - 'error_bubbling' => function (Options $options) { |
|
| 69 | + 'error_bubbling' => function(Options $options) { |
|
| 70 | 70 | return !$this->parameterResolver->resolveApi(); |
| 71 | 71 | }, |
| 72 | 72 | ]) |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $builder |
| 44 | 44 | ->add($builder->create('type', ChoiceType::class, [ |
| 45 | 45 | 'choices' => array_combine( |
| 46 | - array_map(function ($choice) use ($options) { |
|
| 46 | + array_map(function($choice) use ($options) { |
|
| 47 | 47 | return $options['label_prefix'].'.type.'.$choice; |
| 48 | 48 | }, $choices = ResourceType::getTypes()), |
| 49 | 49 | $choices |
@@ -28,10 +28,10 @@ |
||
| 28 | 28 | { |
| 29 | 29 | $resolver |
| 30 | 30 | ->setDefaults([ |
| 31 | - 'label' => function (Options $options) { |
|
| 31 | + 'label' => function(Options $options) { |
|
| 32 | 32 | return $options['filter']->getLabel(); |
| 33 | 33 | }, |
| 34 | - 'label_prefix' => function (Options $options) { |
|
| 34 | + 'label_prefix' => function(Options $options) { |
|
| 35 | 35 | return 'lug.filter.'.$options['filter']->getType(); |
| 36 | 36 | }, |
| 37 | 37 | ]) |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $builder |
| 43 | 43 | ->add($builder->create('type', ChoiceType::class, [ |
| 44 | 44 | 'choices' => array_combine( |
| 45 | - array_map(function ($choice) use ($options) { |
|
| 45 | + array_map(function($choice) use ($options) { |
|
| 46 | 46 | return $options['label_prefix'].'.type.'.$choice; |
| 47 | 47 | }, $choices = TextType::getTypes()), |
| 48 | 48 | $choices |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $builder |
| 43 | 43 | ->add($builder->create('type', ChoiceType::class, [ |
| 44 | 44 | 'choices' => array_combine( |
| 45 | - array_map(function ($choice) use ($options) { |
|
| 45 | + array_map(function($choice) use ($options) { |
|
| 46 | 46 | return $options['label_prefix'].'.type.'.$choice; |
| 47 | 47 | }, $choices = NumberType::getTypes()), |
| 48 | 48 | $choices |