Skip to content

Conversation

@ghostwriter
Copy link

Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC yes
QA yes

Description

This pull request introduces compatibility improvements and code quality enhancements for the Mezzio Plates renderer.

  • Updated the mezzio/mezzio-template dependency in composer.json to support both v2 and v3.

  • Added a the deprecated Mezzio\Template\TemplatePath class in resources/Mezzio/Template/TemplatePath.php to maintain upgrade compatibility until the next major release mezzio/mezzio-platesrenderer v3.

  • Added the Mezzio\Template namespace in the autoloader configuration in composer.json and included the resources directory for code checks in phpcs.xml.dist.

  • Added the #[Override] attribute to methods in EscaperExtension, UrlExtension, and PlatesRenderer to explicitly mark method overrides.

Expanded mezzio/mezzio-template version constraint to include ^3.0 and added autoloading for Mezzio\Template namespace.

Signed-off-by: Nathanael Esayeas <[email protected]>
Introduces a the deprecated TemplatePath class to maintain upgrade compatibility with mezzio/template v3.0.0. This class will be removed in mezzio/mezzio-platesrenderer v3.0.0.

Signed-off-by: Nathanael Esayeas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant