Johannes M. Schmitt 14 lat temu
rodzic
commit
b3081c79e9

+ 1 - 2
src/Symfony/Bundle/ZendBundle/DependencyInjection/ZendExtension.php

@@ -73,8 +73,7 @@ class ZendExtension extends Extension
             $definition = $container->findDefinition('zend.logger');
             if (false === $config['log_errors'] && $definition->hasMethodCall('registerErrorHandler')) {
                 $container->findDefinition('zend.logger')->removeMethodCall('registerErrorHandler');
-            }
-            else {
+            } else {
                 $container->findDefinition('zend.logger')->addMethodCall('registerErrorHandler');
             }
         }

+ 2 - 2
src/Symfony/Component/Form/PropertyPath.php

@@ -319,8 +319,8 @@ class PropertyPath implements \IteratorAggregate
 
                 return $object->$isser();
             } else if ($reflClass->hasMethod('__get')) {
-	            // needed to support magic method __get
-	            return $object->$property;
+                // needed to support magic method __get
+                return $object->$property;
             } else if ($reflClass->hasProperty($property)) {
                 if (!$reflClass->getProperty($property)->isPublic()) {
                     throw new PropertyAccessDeniedException(sprintf('Property "%s" is not public in class "%s". Maybe you should create the method "get%s()" or "is%s()"?', $property, $reflClass->getName(), ucfirst($property), ucfirst($property)));

+ 1 - 1
tests/Symfony/Tests/Component/Form/FieldTest.php

@@ -423,7 +423,7 @@ class FieldTest extends \PHPUnit_Framework_TestCase
                                 ->will($this->returnValue(' a '));
 
         $field = new TestField('title', array(
-        	'trim' => false,
+            'trim' => false,
             'value_transformer' => $transformer,
         ));
 

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/Fixtures/Namespaced/Bar.php

@@ -3,5 +3,5 @@
 namespace Namespaced;
 
 class Bar {
-	public static $loaded = true;
+    public static $loaded = true;
 }

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/Fixtures/Namespaced/Foo.php

@@ -3,5 +3,5 @@
 namespace Namespaced;
 
 class Foo {
-	public static $loaded = true;
+    public static $loaded = true;
 }

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/Fixtures/Pearlike/Bar.php

@@ -1,5 +1,5 @@
 <?php
 
 class Pearlike_Bar {
-	public static $loaded = true;
+    public static $loaded = true;
 }

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/Fixtures/Pearlike/Foo.php

@@ -1,5 +1,5 @@
 <?php
 
 class Pearlike_Foo {
-	public static $loaded = true;
+    public static $loaded = true;
 }

+ 1 - 1
tests/Symfony/Tests/Component/Validator/Mapping/MemberMetadataTest.php

@@ -17,7 +17,7 @@ class MemberMetadataTest extends \PHPUnit_Framework_TestCase
     protected function setUp()
     {
         $this->metadata = new TestMemberMetadata(
-        	'Symfony\Tests\Component\Validator\Fixtures\Entity',
+            'Symfony\Tests\Component\Validator\Fixtures\Entity',
             'getLastName',
             'lastName'
         );