Fabien Potencier hace 14 años
padre
commit
c7d5fd16e0

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/prototype_row.html.php

@@ -1,3 +1,3 @@
 <script type="text/html" id="<?php echo $view->escape($proto_id) ?>">
     <?php echo $view->render('FrameworkBundle:Form:field_row.html.php', array('form' => $form)) ?>
-</script>
+</script>

+ 1 - 1
src/Symfony/Component/Form/Extension/Core/Type/FieldType.php

@@ -41,7 +41,7 @@ class FieldType extends AbstractType
         if (!is_array($options['attr'])) {
             throw new FormException('The "attr" option must be "array".');
         }
-        
+
         $builder
             ->setRequired($options['required'])
             ->setReadOnly($options['read_only'])

+ 1 - 1
src/Symfony/Component/HttpFoundation/File/File.php

@@ -529,4 +529,4 @@ class File extends \SplFileInfo
 
         return new File($target);
     }
-}
+}

+ 1 - 1
src/Symfony/Component/HttpFoundation/File/UploadedFile.php

@@ -168,4 +168,4 @@ class UploadedFile extends File
 
         return parent::move($directory, $name);
     }
-}
+}

+ 1 - 1
tests/Symfony/Tests/Component/Form/Extension/Core/Type/FieldTypeTest.php

@@ -195,7 +195,7 @@ class FieldTypeTest extends TypeTestCase
         $this->assertSame($author, $form->getData());
         $this->assertEquals('Bernhard', $author->firstName);
     }
-    
+
     public function testGetAttributesIsEmpty()
     {
         $form = $this->factory->create('field', null, array('attr' => array()));

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/File/FileTest.php

@@ -133,4 +133,4 @@ class FileTest extends \PHPUnit_Framework_TestCase
 
         return $guesser;
     }
-}
+}

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/File/UploadedFileTest.php

@@ -134,4 +134,4 @@ class UploadedFileTest extends \PHPUnit_Framework_TestCase
 
         $this->assertEquals('original.gif', $file->getClientOriginalName());
     }
-}
+}

+ 1 - 0
tests/Symfony/Tests/Component/HttpKernel/TestHttpKernel.php

@@ -39,6 +39,7 @@ class TestHttpKernel extends HttpKernel implements ControllerResolverInterface
     public function callController(Request $request)
     {
         $this->request = $request;
+
         return new Response('Request: '.$request->getRequestUri());
     }
 }

+ 1 - 1
tests/Symfony/Tests/Component/Validator/Constraints/FileValidatorTest.php

@@ -199,4 +199,4 @@ class FileValidatorTest extends \PHPUnit_Framework_TestCase
             $this->assertEquals($this->validator->isValid(new FileObject($filename), $constraint), $valid);
         }
     }
-}
+}