New Features 🎉
- #5974 Refactor doctrine/annotations to static reflection - annotation classes don't have to be autoloaded anymore
use Symfony\Component\Routing\Annotation\Route;
final class SomeController
{
/**
* @Route(path="/some_path", name="some_name")
*/
public function some()
{
}
}
- #6045 make use of PHPDocNodeTraverser to work with docblock changes
Read more about these features:
- https://getrector.org/blog/from-doctrine-annotations-parser-to-static-reflection
- https://tomasvotruba.com/blog/how-to-traverse-phpdoc-and-modify-it/