Completed
Pull Request — master (#37)
by Daniel
04:38
created
src/Standard/Field/TextField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\ContentType\Standard\Field;
6 6
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function configureOptions(FieldOptionsResolver $options)
32 32
     {
33 33
         $options->setDefault('tag', null);
34
-        $options->setViewMapper(function (array $options)  {
34
+        $options->setViewMapper(function(array $options) {
35 35
             return $options;
36 36
         });
37 37
     }
Please login to merge, or discard this patch.
bridge/twig/tests/Functional/TwigRendererTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Psi\Bridge\ContentType\Twig\Tests\Functional;
4 4
 
5
-use Psi\Bridge\ContentType\Twig\ContentTypeExtension;
6
-use Psi\Bridge\ContentType\Twig\TwigRenderer;
7
-use Psi\Component\ContentType\Standard\View\ScalarView;
8
-use Psi\Component\ContentType\View\View;
9 5
 use Psi\Component\ContentType\Standard\View\ScalarType;
10 6
 use Psi\Component\ContentType\Standard\View\ObjectType;
11 7
 use Psi\Component\ContentType\Standard\View\CollectionType;
Please login to merge, or discard this patch.
bridge/twig/tests/Functional/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,10 +20,10 @@
 block discarded – undo
20 20
 
21 21
     private function loadTwig()
22 22
     {
23
-        $this['psi_content_type.view.twig.renderer'] = function ($container) {
23
+        $this['psi_content_type.view.twig.renderer'] = function($container) {
24 24
             return new TwigRenderer($container['twig']);
25 25
         };
26
-        $this['twig'] = function ($container) {
26
+        $this['twig'] = function($container) {
27 27
             $twig = new \Twig_Environment(new \Twig_Loader_Filesystem(__DIR__ . '/../../templates'), [
28 28
                 'debug' => true,
29 29
                 'strict_variables' => true,
Please login to merge, or discard this patch.