Re: annotations again
| From: | Jordi Boggiano | Date: | Thu, 12 May 2011 00:55:50 +0000 |
| Subject: | Re: annotations again | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52336@lists.php.net to get a copy of this message | ||
On 11.05.2011 23:57, guilhermeblanco@gmail.com wrote:
> Hi duke,
>
> I moved it to rejected in pro of a new proposal.
> I briefly drafted it here:
> https://wiki.php.net/rfc/annotations-in-docblock
>
> There's a lot of things to be officially defined, but basic idea is there.
> I expect to have a chat with interested core devs to see what can be
> done in this subject and find some common sense. =)
A few questions & remarks, mostly to trigger discussion:
- What about nested annotations? @Foo [@Bar, @Baz]?
- Your JSON is invalid, it should be {"repositoryClass":"val"} with
quotes. [1]
- simple strings should be handled without quotes if we want to support
current docblocks, like @author Guilherme Blanco should be enough.
Cheers
[1] And in this case single quotes are even invalid in json and I'm not
gonna complain ;)
--
Jordi Boggiano
@seldaek :: http://seld.be/