Skip to content

Commit

Permalink
Merge pull request #178 from boesing/docs/bugfix-migration-typo
Browse files Browse the repository at this point in the history
Documentation: remove superfluous word
  • Loading branch information
boesing authored Nov 13, 2021
2 parents a9055df + cafa834 commit 2bcf864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/v3/reference/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ With `laminas-cache` v3, some classes/traits were removed as well:
- `CallbackCache`, `OutputCache` and `ObjectCache` now require the underlying cache adapter (`StorageInterface`) as 1st `__construct` dependency. The options can be passed via 2nd `__construct)[https://github.com/CallbackCache`, `OutputCache` and `ObjectCache` now require the underlying cache adapter (`StorageInterface` arguments but are optional.
**Please note that it is not possible to inject the pattern configuration as an array anymore**
- Storage configurations must be in a specific shape. For more details, head to the release notes of [2.12.0](https://github.com/laminas/laminas-cache/releases/tag/2.12.0)
- All cache adapters are now marked as `final` and are not extensible anymore. In case that you are extending one of the cache adapters, please switch change your code as `composition` should be preferred over inheritance. For an example, please check out the [composition over inheritance](#composition-over-inheritance) section.
- All cache adapters are now marked as `final` and are not extensible anymore. In case that you are extending one of the cache adapters, please change your code as `composition` should be preferred over inheritance. For an example, please check out the [composition over inheritance](#composition-over-inheritance) section.
- Due to the enhancement of `CacheItemPoolDecorator`, the maximum key length for the underlying cache adapter is validated before it is passed to the adapter.
- The `SerializationTrait` which was meant to be used by both `PSR-6` and `PSR-16` decorators is now marked as `internal`.
- The `PCRE_MAXIMUM_QUANTIFIER_LENGTH` constant of the `SimpleCacheDecorator` (which was marked as `internal`) has now been moved to the new (also `internal`) `MaximumKeyLengthTrait` and thus had to become a public static property (as traits do not support constants).
Expand Down

0 comments on commit 2bcf864

Please sign in to comment.