Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature/14-inline-filters' into develop
Browse files Browse the repository at this point in the history
Close #14
Fixes #12
  • Loading branch information
weierophinney committed Nov 19, 2018
2 parents cd6e2c4 + e436aec commit a5828b3
Show file tree
Hide file tree
Showing 10 changed files with 738 additions and 426 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Expand Up @@ -11,9 +11,20 @@ All notable changes to this project will be documented in this file, in reverse
the `DateTime` constructor will still result in a `DateTime` instance during
hydration, even if the string does not follow the provided date-time format.

- [#14](https://github.com/zendframework/zend-hydrator/pull/14) adds the following `final` classes:
- `\Zend\Hydrator\NamingStrategy\UnderscoreNamingStrategy\UnderscoreToCamelCaseFilter`
- `\Zend\Hydrator\NamingStrategy\UnderscoreNamingStrategy\CamelCaseToUnderscoreFilter`

### Changed

- Nothing.
- [#14](https://github.com/zendframework/zend-hydrator/pull/14) replaces usage of zend-filter with the hardcoded filters referenced in
the above section.

- [#14](https://github.com/zendframework/zend-hydrator/pull/14) made the following visibility changes to `\Zend\Hydrator\NamingStrategy\UnderscoreNamingStrategy`:
- static property `$underscoreToStudlyCaseFilter` was renamed to `$underscoreToCamelCaseFilter` and marked `private`
- static property `$camelCaseToUnderscoreFilter` was marked `private`
- method `getCamelCaseToUnderscoreFilter` was marked `private`
- method `getUnderscoreToStudlyCaseFilter` was renamed to `getUnderscoreToCamelCaseFilter` and marked `private`

### Deprecated

Expand Down
2 changes: 0 additions & 2 deletions composer.json
Expand Up @@ -23,8 +23,6 @@
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2",
"zendframework/zend-coding-standard": "~1.0.0",
"zendframework/zend-eventmanager": "^2.6.2 || ^3.0",
"zendframework/zend-filter": "^2.6",
"zendframework/zend-inputfilter": "^2.6",
"zendframework/zend-serializer": "^2.6.1",
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3"
},
Expand Down

0 comments on commit a5828b3

Please sign in to comment.