Skip to content

v3.0.0

Compare
Choose a tag to compare
@muxx muxx released this 16 Sep 13:30
· 3 commits to master since this release
34ff40f

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',
    ),
]);