Upgrading to Attributes
Hello,
Are there any plans to migrate to Attributes?
Hello, master branch partially works on attributes already, please check the dev version
@lisachenko are we still waiting for this PR? https://github.com/laminas/laminas-code/pull/145
@jakublabno I don't believe that laminas-code is maintained now, therefore there is a need to refactor all code-generation part or switch to another library.
I have some local PoC with php-parser codegen, but it is slow and I haven't time to work on this. And for AI it is too big task to process currently.
Maybe I could help you with this?
@jakublabno any help is appreciated here ) Whole src/Proxy should be reviewed/replaced with something modern and capable of generating modern code with attributes.
I've tried to do it on AST level + phpstan level 10 to make all code-gen happening from pure AST and covered with 100% of tests, but unfortunately failed to finish it. This is the main blocker to run on PHP8 with attributes code-generation