@@ -66,6 +66,6 @@ |
||
| 66 | 66 | $path = $this->pathResolver->resolve($path, $theme); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - return $this->getBasePath() . ltrim($this->getVersionStrategy()->applyVersion($path), '/'); |
|
| 69 | + return $this->getBasePath().ltrim($this->getVersionStrategy()->applyVersion($path), '/'); |
|
| 70 | 70 | } |
| 71 | 71 | } |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | function let() |
| 23 | 23 | { |
| 24 | - $this->beConstructedWith('message', 'step_name', function(){}); |
|
| 24 | + $this->beConstructedWith('message', 'step_name', function() {}); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | function it_is_initializable() |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | function its_validation_is_mutable() |
| 50 | 50 | { |
| 51 | - $closure = function(){}; |
|
| 51 | + $closure = function() {}; |
|
| 52 | 52 | |
| 53 | 53 | $this->setValidation($closure)->shouldReturn($this); |
| 54 | 54 | $this->getValidation()->shouldReturn($closure); |
@@ -281,7 +281,7 @@ |
||
| 281 | 281 | return $this->adjustments; |
| 282 | 282 | } |
| 283 | 283 | |
| 284 | - return $this->adjustments->filter(function (AdjustmentInterface $adjustment) use ($type) { |
|
| 284 | + return $this->adjustments->filter(function(AdjustmentInterface $adjustment) use ($type) { |
|
| 285 | 285 | return $type === $adjustment->getType(); |
| 286 | 286 | }); |
| 287 | 287 | } |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | public function getMatchers() |
| 66 | 66 | { |
| 67 | 67 | return array( |
| 68 | - 'haveLength' => function ($subject, $key) { |
|
| 68 | + 'haveLength' => function($subject, $key) { |
|
| 69 | 69 | return $key === strlen($subject); |
| 70 | 70 | }, |
| 71 | 71 | ); |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | use Symfony\Component\Form\Exception\UnexpectedTypeException; |
| 17 | 17 | |
| 18 | 18 | // Since the root namespace "spec" is not in our autoload |
| 19 | -require_once __DIR__ . DIRECTORY_SEPARATOR . 'FakeEntity.php'; |
|
| 19 | +require_once __DIR__.DIRECTORY_SEPARATOR.'FakeEntity.php'; |
|
| 20 | 20 | |
| 21 | 21 | class ObjectSelectionToIdentifierCollectionTransformerSpec extends ObjectBehavior |
| 22 | 22 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | use Symfony\Component\Form\Exception\UnexpectedTypeException; |
| 17 | 17 | |
| 18 | 18 | // Since the root namespace "spec" is not in our autoload |
| 19 | -require_once __DIR__ . DIRECTORY_SEPARATOR . 'FakeEntity.php'; |
|
| 19 | +require_once __DIR__.DIRECTORY_SEPARATOR.'FakeEntity.php'; |
|
| 20 | 20 | |
| 21 | 21 | class ObjectSelectionToIdentifierCollectionTransformerSpec extends ObjectBehavior |
| 22 | 22 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | parent::configureOptions($resolver); |
| 28 | 28 | |
| 29 | 29 | $resolver->setDefaults(array( |
| 30 | - 'query_builder' => function (EntityRepository $repository) { |
|
| 30 | + 'query_builder' => function(EntityRepository $repository) { |
|
| 31 | 31 | return $repository->createQueryBuilder('o')->orderBy('o.left', 'asc'); |
| 32 | 32 | }, |
| 33 | 33 | )); |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | */ |
| 55 | 55 | public function configureOptions(OptionsResolver $resolver) |
| 56 | 56 | { |
| 57 | - $choiceList = function (Options $options) { |
|
| 57 | + $choiceList = function(Options $options) { |
|
| 58 | 58 | if (null === $options['enabled']) { |
| 59 | 59 | $choices = $this->localeRepository->findAll(); |
| 60 | 60 | } else { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | */ |
| 55 | 55 | public function configureOptions(OptionsResolver $resolver) |
| 56 | 56 | { |
| 57 | - $choiceList = function (Options $options) { |
|
| 57 | + $choiceList = function(Options $options) { |
|
| 58 | 58 | if (null === $options['enabled']) { |
| 59 | 59 | $choices = $this->localeRepository->findAll(); |
| 60 | 60 | } else { |