Re: Bundled Extension namespace(s)
| From: | Pierre Joye | Date: | Mon, 12 Jul 2021 11:33:47 +0000 |
| Subject: | Re: Bundled Extension namespace(s) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115401@lists.php.net to get a copy of this message | ||
On Mon, Jul 12, 2021, 6:31 PM Christoph M. Becker <cmbecker69@gmx.de> wrote:
> On 12.07.2021 at 11:10, Pierre Joye wrote:
>
> > What is the status of the extension namespace RFC
> > (https://wiki.php.net/rfc/namespaces_in_bundled_extensions)?
> >
> > In the near future, I plan to work a bit on the ext/gd one. Adding
> > quite a few things I have in my queue for too long. Check
> > https://github.com/libgd/libgd/issues/705 if interested.
> >
> > I am not sure about the base NS to be used. if I follow the RFC, it
> > should be Image\.
>
> The RFC states:
>
> | The top-level namespace should match the extension name (apart from
> | casing).
>
Ah I missed that part, I was looking at examples :)
> So shouldn't the namespace rather be Gd or GD?
>
I would go with Gd, double uppercase is "harder" to type :)
best,
Pierre
>