Skip to content

Commit

Permalink
Remove abstract declaration of CsvRfcUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgarlag committed Apr 6, 2016
1 parent ef80eb1 commit bd30e66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- New `Ajgl\Csv\Rfc\CsvRfcUtils::fixEnclosureEscape` method
- New stream filter `Ajgl\Csv\Rfc\CsvRfcWriteStreamFilter`

### Changed
- Remove the abstract declaration of `Ajgl\Csv\Rfc\CsvRfcUtils`
- Declare the `Ajgl\Csv\Rfc\CsvRfcUtils` constructor as private

## 0.1.0 - 2016-02-25
### Added
- Add alternative implementation for CSV related functions:
Expand Down
6 changes: 5 additions & 1 deletion src/CsvRfcUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@
/**
* @author Antonio J. García Lagar <[email protected]>
*/
abstract class CsvRfcUtils
class CsvRfcUtils
{
const EOL_WRITE_DEFAULT = "\n";
const EOL_WRITE_RFC = "\r\n";

private static $defaultEol = self::EOL_WRITE_DEFAULT;

private function __construct()
{
}

/**
* @see http://php.net/manual/en/function.fputcsv.php
*
Expand Down

0 comments on commit bd30e66

Please sign in to comment.