From aed9cf021c61f78c168f80b8770516c5681be798 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 10 Mar 2015 09:11:28 +0100 Subject: [PATCH] indent --- tests/CsvParserTest.php | 2 -- tests/CsvTest.php | 8 ++++---- tests/bootstrap.php | 1 + 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/CsvParserTest.php b/tests/CsvParserTest.php index c6bf4fd..3f97961 100644 --- a/tests/CsvParserTest.php +++ b/tests/CsvParserTest.php @@ -1,7 +1,5 @@ compile() ); - - $csv = new Csv(); - - $csv->addLine(array('foo', 'bar')); + + $csv = new Csv(); + + $csv->addLine(array('foo', 'bar')); $csv->setLegend(array('bim', 'bam')); $this->assertEquals(true, $csv->getHasLegend()); diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 472d676..993c1bd 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -11,6 +11,7 @@ function autoload($className) $className = substr($className, $lastNsPos + 1); $fileName = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR; } + $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; if (file_exists('src/'.$fileName)) {