From cf50d16b1ea8abb7656a20ad96fdc87882e4b4ec Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Thu, 11 Feb 2010 15:31:06 +0100 Subject: [PATCH] CS --- framework/Exception/test/Horde/Exception/ExceptionTest.php | 4 ++-- framework/Injector/lib/Horde/Injector/Exception.php | 3 ++- .../test/Horde/Injector/Binder/ImplementationTest.php | 13 +++++++++---- framework/Injector/test/Horde/Injector/InjectorTest.php | 4 +++- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/framework/Exception/test/Horde/Exception/ExceptionTest.php b/framework/Exception/test/Horde/Exception/ExceptionTest.php index 086887208..dffbdf235 100644 --- a/framework/Exception/test/Horde/Exception/ExceptionTest.php +++ b/framework/Exception/test/Horde/Exception/ExceptionTest.php @@ -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 diff --git a/framework/Injector/lib/Horde/Injector/Exception.php b/framework/Injector/lib/Horde/Injector/Exception.php index bef06adeb..9ef52464f 100644 --- a/framework/Injector/lib/Horde/Injector/Exception.php +++ b/framework/Injector/lib/Horde/Injector/Exception.php @@ -6,4 +6,5 @@ * @package Horde_Injector */ class Horde_Injector_Exception extends Exception -{} +{ +} diff --git a/framework/Injector/test/Horde/Injector/Binder/ImplementationTest.php b/framework/Injector/test/Horde/Injector/Binder/ImplementationTest.php index 6a600774c..ee219fd40 100644 --- a/framework/Injector/test/Horde/Injector/Binder/ImplementationTest.php +++ b/framework/Injector/test/Horde/Injector/Binder/ImplementationTest.php @@ -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 { diff --git a/framework/Injector/test/Horde/Injector/InjectorTest.php b/framework/Injector/test/Horde/Injector/InjectorTest.php index fa31188b3..7c0a07c20 100644 --- a/framework/Injector/test/Horde/Injector/InjectorTest.php +++ b/framework/Injector/test/Horde/Injector/InjectorTest.php @@ -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) { -- 2.11.0