Fabien Potencier 14 éve
szülő
commit
f322a4a99d

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

@@ -1,2 +1,2 @@
 id="<?php echo $view->escape($id) ?>"
-<?php foreach($attr as $k => $v) { printf('%s="%s" ', $view->escape($k), $view->escape($v)); } ?>
+<?php foreach($attr as $k => $v) { printf('%s="%s" ', $view->escape($k), $view->escape($v)); } ?>

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

@@ -1,4 +1,4 @@
 <?php echo $view['form']->errors($form) ?>
 <?php foreach ($form as $child) : ?>
     <?php echo $view['form']->row($child) ?>
-<?php endforeach; ?>
+<?php endforeach; ?>

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

@@ -1 +1 @@
-<?php echo $view['form']->renderBlock('field_widget', array('type' => isset($type) ? $type : "number")) ?>
+<?php echo $view['form']->renderBlock('field_widget', array('type' => isset($type) ? $type : "number")) ?>

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

@@ -1 +1 @@
-<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "text")) ?>
+<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "text")) ?>

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

@@ -1 +1 @@
-<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "password")) ?>
+<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "password")) ?>

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

@@ -1 +1 @@
-<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "search")) ?>
+<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "search")) ?>

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

@@ -1 +1 @@
-<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "url")) ?>
+<?php echo $view['form']->renderBlock('field_widget',  array('type' => isset($type) ? $type : "url")) ?>

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Parent/field_widget.html.php

@@ -1,2 +1,2 @@
 <?php $type = isset($type) ? $type : 'text' ?>
-<input type="<?php echo $type ?>" <?php $view['form']->renderBlock('attributes') ?> value="<?php echo $value ?>" rel="theme" />
+<input type="<?php echo $type ?>" <?php $view['form']->renderBlock('attributes') ?> value="<?php echo $value ?>" rel="theme" />

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Tests/Templating/TemplateReferenceTest.php

@@ -25,4 +25,4 @@ class TemplateReferenceTest extends TestCase
             $reference->getPath()
         );
     }
-}
+}

+ 2 - 2
src/Symfony/Component/Process/Process.php

@@ -122,10 +122,10 @@ class Process
         foreach ($pipes as $pipe) {
             stream_set_blocking($pipe, false);
         }
-        
+
         if (null === $this->stdin) {
             fclose($pipes[0]);
-            $writePipes = null; 
+            $writePipes = null;
         } else {
             $writePipes = array($pipes[0]);
             $stdinLen = strlen($this->stdin);

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/ResponseTest.php

@@ -488,4 +488,4 @@ class StringableObject
     {
         return 'Foo';
     }
-}
+}

+ 2 - 1
tests/Symfony/Tests/Component/Process/ProcessTest.php

@@ -73,7 +73,7 @@ class ProcessTest extends \PHPUnit_Framework_TestCase
             array('output', 'getOutput', 'echo "output";'),
         );
     }
-     
+
     public function pipesCodeProvider()
     {
         $variations = array(
@@ -90,6 +90,7 @@ class ProcessTest extends \PHPUnit_Framework_TestCase
                 $codes[] = array($data, $code);
             }
         }
+
         return $codes;
     }
 

+ 4 - 4
tests/Symfony/Tests/Component/Process/ProcessTestHelper.php

@@ -18,13 +18,13 @@ while ($read || $write) {
     $w = $write;
     $e = null;
     $n = stream_select($r, $w, $e, 5);
-    
+
     if (false === $n) {
         die(ERR_SELECT_FAILED);
     } elseif ($n < 1) {
         die(ERR_TIMEOUT);
     }
-    
+
     if (in_array(STDOUT, $w) && strlen($out) > 0)
     {
          $written = fwrite(STDOUT, (binary) $out, 1024);
@@ -48,13 +48,13 @@ while ($read || $write) {
     if (null === $read && strlen($err) < 1) {
         $write = array_diff($write, array(STDERR));
     }
-        
+
     if ($r) {
         $str = fread(STDIN, 1024);
         if (false !== $str) {
             $out .= $str;
             $err .= $str;
-        } 
+        }
         if (false === $str || feof(STDIN)) {
             $read = null;
             if (!feof(STDIN)) {

+ 1 - 1
tests/Symfony/Tests/Component/Templating/TemplateNameParserTest.php

@@ -47,4 +47,4 @@ class TemplateNameParserTest extends \PHPUnit_Framework_TestCase
             array('name', new TemplateReference('name')),
         );
     }
-}
+}

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

@@ -146,4 +146,4 @@ class UrlValidatorTest extends \PHPUnit_Framework_TestCase
             '{{ value }}' => 'foobar',
         ));
     }
-}
+}