From 6d5d3af297a68127d8b20dbd84e601d75ae5c2e4 Mon Sep 17 00:00:00 2001 From: Bastian Hofmann Date: Sun, 6 May 2012 14:55:08 +0200 Subject: [PATCH] coding standard compliance --- .../Test/Repository/PearRepositoryTest.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/Composer/Test/Repository/PearRepositoryTest.php b/tests/Composer/Test/Repository/PearRepositoryTest.php index ab67a77c8..fd353d7ff 100644 --- a/tests/Composer/Test/Repository/PearRepositoryTest.php +++ b/tests/Composer/Test/Repository/PearRepositoryTest.php @@ -15,7 +15,8 @@ namespace Composer\Repository; use Composer\Repository\FilesystemRepository; use Composer\Test\TestCase; -class PearRepositoryTest extends TestCase { +class PearRepositoryTest extends TestCase +{ /** * @var PearRepository @@ -32,7 +33,8 @@ class PearRepositoryTest extends TestCase { * @param string $url * @param array $expectedPackages */ - public function testRepositoryRead($url, array $expectedPackages) { + public function testRepositoryRead($url, array $expectedPackages) + { $repoConfig = array( 'url' => $url ); @@ -46,10 +48,10 @@ class PearRepositoryTest extends TestCase { ' not found in pear channel ' . $url ); } - } - public function repositoryDataProvider() { + public function repositoryDataProvider() + { return array( array( 'pear.phpunit.de', @@ -103,7 +105,8 @@ class PearRepositoryTest extends TestCase { ); } - private function createRepository($repoConfig) { + private function createRepository($repoConfig) + { $ioInterface = $this->getMockBuilder('Composer\IO\IOInterface') ->getMock(); @@ -116,7 +119,8 @@ class PearRepositoryTest extends TestCase { $this->repository = new PearRepository($repoConfig, $ioInterface, $config, null); } - protected function tearDown() { + protected function tearDown() + { $this->repository = null; $this->remoteFilesystem = null; }