-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d648bf7
commit 5eb4040
Showing
10 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ class ReaderTest extends PHPUnit_Framework_TestCase | |
|
||
public function setUp() | ||
{ | ||
$csv = new SplTempFileObject; | ||
$csv = new SplTempFileObject(); | ||
foreach ($this->expected as $row) { | ||
$csv->fputcsv($row); | ||
} | ||
|
@@ -117,7 +117,7 @@ public function testSortBy2() | |
$csv->addSortBy($func); | ||
$this->assertSame([ | ||
['john', 'doe', '[email protected]'], | ||
['john', 'doe', '[email protected]'] | ||
['john', 'doe', '[email protected]'], | ||
], $csv->fetchAll()); | ||
} | ||
|
||
|
@@ -190,10 +190,10 @@ public function testFetchColEmptyCol() | |
{ | ||
$raw = [ | ||
['john', 'doe'], | ||
['lara', 'croft', '[email protected]'] | ||
['lara', 'croft', '[email protected]'], | ||
]; | ||
|
||
$file = new SplTempFileObject; | ||
$file = new SplTempFileObject(); | ||
foreach ($raw as $row) { | ||
$file->fputcsv($row); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters