Skip to content

Commit

Permalink
Remove deprecated methods (#207)
Browse files Browse the repository at this point in the history
### Added

- AbstractCsv::getHeader
- AbstractCsv::getHeaderOffset
- AbstractCsv::setHeader

### Fixed

- BOM stripping is done by default
- Improve fetchPairs and fetchColumn methods
- input encoding is done only on the Reader object

### Removed

- Reader::each
- Reader::fetch
- Reader::fetchAssoc
- Reader::fetchPairsWithoutDuplicates
- The Writer no longer implements JsonSerializable and IteratorAggregate
- The Writer can only writes new records and output the full CSV
  • Loading branch information
nyamsprod authored Jan 31, 2017
1 parent de2f2e4 commit ef1cb2a
Show file tree
Hide file tree
Showing 17 changed files with 1,398 additions and 1,539 deletions.
19 changes: 1 addition & 18 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,12 @@ filter:
checks:
php:
code_rating: true
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
tools:
external_code_coverage:
timeout: 600
runs: 2
runs: 1
php_code_coverage: false
php_code_sniffer:
config:
standard: PSR2
filter:
paths: ['src']
php_loc:
enabled: true
excluded_dirs: [tests, vendor]
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ All Notable changes to `Csv` will be documented in this file

- PHP5 support
- `examples` directory
- `League\Csv\AbstractCsv::stripBom`
- `League\Csv\Reader::fetch`
- `League\Csv\Reader::each`
- `League\Csv\Reader::fetchPairsWithoutDuplicates`
- `League\Csv\Reader::fetchAssoc`
- `League\Csv\Writer::removeFormatter`
- `League\Csv\Writer::hasFormatter`
- `League\Csv\Writer::clearFormatters`
- `League\Csv\Writer::removeValidator`
- `League\Csv\Writer::hasValidator`
- `League\Csv\Writer::clearValidators`
- `League\Csv\Writer::jsonSerialize`
- `League\Csv\Writer::toHTML`
- `League\Csv\Writer::toXML`

## 8.2.0 - 2017-01-25

Expand Down
Loading

0 comments on commit ef1cb2a

Please sign in to comment.