v3.0.0
What's Changed
- PHPStan up to level 8 by @muxx in #22
- Drop PHP 7.4, 8.0 and Symfony 4.4 support + migrate from annotations to attributes by @muxx in #23
Full Changelog: v2.3.0...v3.0.0
You can use Rector to convert annotations @Sandbox
to attributes #[Sandbox]
:
$rectorConfig->ruleWithConfiguration(\Rector\Php80\Rector\Class_\AnnotationToAttributeRector::class, [
new \Rector\Php80\ValueObject\AnnotationToAttribute(
'Intaro\\TwigSandboxBundle\\Annotation\\Sandbox',
'Intaro\\TwigSandboxBundle\\Attribute\\Sandbox',
),
]);