Update dependency mezzio/mezzio-template to v3 #77
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.8.0->^2.8.0 || ^3.0.0Release Notes
mezzio/mezzio-template (mezzio/mezzio-template)
v3.0.0Compare Source
Release Notes for 3.0.0
Version 3.0.0 of
mezzio-templatecontains several changes that break backwards compatibility.Mezzio\Template\TemplateRendererInterfaceThe following methods have been removed:
addPathgetPathsAs an interface whose primary purpose is to render a named template to a string, adding and listing template file paths is out of scope. The engine in use may not even deal with the filesystem, so these methods are no longer forced on implementors.
General Changes
This affects a number of method signatures and will therefore require code changes in classes that override or implement these methods.
finalExceptionInterfacenow inherits fromThrowablearray<string, mixed>toarray<non-empty-string, mixed>. The more precise types will affect users of static analysis tooling, and as such a new method has been addedArrayParametersTrait::normalizeParamsAsMap()that should ease the burden of asserting the correct types for implementors3.0.0
Dependencies,Enhancement
QA
BC Break,QA
finalthanks to @gsteelBC Break,Bug,QA
ExceptionInterfaceshould inherit fromThrowablethanks to @gsteelBC Break,Enhancement,QA
BC Break,Feature Removal
addPathandgetPathsfromTemplateRendererInterfacethanks to @gsteelConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Read more information about the use of Renovate Bot within Laminas.