Releases: ajgarlag/AjglBreakpointTwigExtension
Releases · ajgarlag/AjglBreakpointTwigExtension
0.4.4
Symfony 6 and PHP 8.2 support
Added
- Add support for PHP 8.2
- Add support for Symfony 6
Changed
- Mark all classes as
final - Add return type hints
- Print an empty string with twig
breakpointfunction - Delegate Xdebug detection to
composer/xdebug-handlerwhen available
Removed
- Drop support for PHP<7.4
- Drop support for Symfony<4.4
- Drop support for Twig<2.15.3
Support Twig 3 and Symfony 5
This version finally supports Twig 3 and Symfony 5
Fix population of $arguments
In #11 a bug related to the $arguments variable population was reported.
Thanks to @alanhatch his PR #12 which fixes the bug.
Fix deprecation warnings
Use namespace twig classes
Symfony 4 support
Symfony 4 is officially supported
Twig 2 support
The extension is now compatible with Twig 2.x
Easily inspect the function context
Once the debugger to stop, there will be three variables defined to easily inspect the function context:
$environment: TheTwig_Environmentinstance.$context: The twig context with all defined variables.$arguments: The arguments passed to thebreakpointtwig function itself.
Symfony Bundle
This new release includes a Symfony Bundle, so it can be directly integrated into your Symfony app.
Initial release
This first release introduces the breakpoint twig function