This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Follow these steps to refactor annotations to attributes in a symfony 5.4+ project | |
### **Annotation to attribute steps:** ## | |
1) Install rector: | |
composer require rector/rector --dev | |
2) Create rector.php | |
vendor/bin/rector init | |
3) Add the following code to rector.php | |
``` |