Use php8 attributes instead of phpdoc annotations#25122
Use php8 attributes instead of phpdoc annotations#25122ChristophWurst wants to merge 1 commit intomasterfrom
Conversation
Signed-off-by: Christoph Wurst <[email protected]>
|
Do we want to close this for now? As we can't really depend on it fully yet anyway. |
We can thanks to the polyfill. This can be done today. We just need consent on how we want to do this. |
|
Ok let us discuss next week then |
soooo let's :) |
|
What are the pros and cons? Because it is basically a this infront of the method, right: (and the correct import statement in the |
|
I just noticed that there is a forum post 🙈 Let me read that. Edit: Replied there. |
|
This was a PoC. Will resume this work when time allows. For now I've opened a separate PR to phase out the annotation reflector: #27544 |
This is more an experiment or PoC than anything mergeable. As I wrote this bit of code I realized there are a few things that we might want to discuss before we jump onto this new feature and change our public API for this. Hence I'd wait for 22 so we don't rush anything.
I'll open a dev forum post about this to get some input.https://help.nextcloud.com/t/how-should-we-use-php8-attributes/104278