CS
authorGunnar Wrobel <p@rdus.de>
Thu, 11 Feb 2010 14:31:06 +0000 (15:31 +0100)
committerGunnar Wrobel <p@rdus.de>
Thu, 11 Feb 2010 14:31:06 +0000 (15:31 +0100)
framework/Exception/test/Horde/Exception/ExceptionTest.php
framework/Injector/lib/Horde/Injector/Exception.php
framework/Injector/test/Horde/Injector/Binder/ImplementationTest.php
framework/Injector/test/Horde/Injector/InjectorTest.php

index 0868872..dffbdf2 100644 (file)
@@ -60,13 +60,13 @@ class Horde_Exception_ExceptionTest extends  PHPUnit_Framework_TestCase
     public function testMethodTostringYieldsExceptionDescription()
     {
         $e = new Horde_Exception();
-        $this->assertContains('exception \'Horde_Exception\'', (string) $e);
+        $this->assertContains('exception \'Horde_Exception\'', (string)$e);
     }
 
     public function testMethodTostringContainsDescriptionOfPreviousException()
     {
         $e = new Horde_Exception(null, null, new Exception('previous'));
-        $this->assertContains('Next exception \'Horde_Exception\'', (string) $e);
+        $this->assertContains('Next exception \'Horde_Exception\'', (string)$e);
     }
 
     // NotFound Exception Testing
index bef06ad..9ef5246 100644 (file)
@@ -6,4 +6,5 @@
  * @package Horde_Injector
  */
 class Horde_Injector_Exception extends Exception
-{}
+{
+}
index 6a60077..ee219fd 100644 (file)
@@ -161,7 +161,8 @@ class Horde_Injector_Binder_ImplementationTest extends Horde_Test_Case
  */
 
 class Horde_Injector_Binder_ImplementationTest__NoDependencies
-{}
+{
+}
 
 class Horde_Injector_Binder_ImplementationTest__TypedDependency
 {
@@ -175,7 +176,9 @@ class Horde_Injector_Binder_ImplementationTest__TypedDependency
 
 class Horde_Injector_Binder_ImplementationTest__UntypedDependency
 {
-    public function __construct($dep) {}
+    public function __construct($dep)
+    {
+    }
 }
 
 class Horde_Injector_Binder_ImplementationTest__UntypedOptionalDependency
@@ -189,10 +192,12 @@ class Horde_Injector_Binder_ImplementationTest__UntypedOptionalDependency
 }
 
 interface Horde_Injector_Binder_ImplementationTest__Interface
-{}
+{
+}
 
 abstract class Horde_Injector_Binder_ImplementationTest__AbstractClass
-{}
+{
+}
 
 class Horde_Injector_Binder_ImplementationTest__SetterNoDependencies
 {
index fa31188..7c0a07c 100644 (file)
@@ -266,7 +266,9 @@ class Horde_Injector_Binder_MockWithDependencies implements Horde_Injector_Binde
 {
     private $_interface;
 
-    public function __construct($parameter1) {}
+    public function __construct($parameter1)
+    {
+    }
 
     public function create(Horde_Injector $injector)
     {