Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106335 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 14897 invoked from network); 30 Jul 2019 10:47:21 -0000 Received: from unknown (HELO poczta.brzuchalski.com) (188.165.245.118) by pb1.pair.com with SMTP; 30 Jul 2019 10:47:21 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by poczta.brzuchalski.com (Postfix) with ESMTP id 55955298423A for ; Tue, 30 Jul 2019 10:12:11 +0200 (CEST) Received: from poczta.brzuchalski.com ([127.0.0.1]) by localhost (poczta.brzuchalski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cQMH4a92p2xi for ; Tue, 30 Jul 2019 10:12:08 +0200 (CEST) Received: from mail-oi1-f182.google.com (unknown [209.85.167.182]) by poczta.brzuchalski.com (Postfix) with ESMTPSA id 224002984233 for ; Tue, 30 Jul 2019 10:12:08 +0200 (CEST) Received: by mail-oi1-f182.google.com with SMTP id 65so47269178oid.13 for ; Tue, 30 Jul 2019 01:12:08 -0700 (PDT) X-Gm-Message-State: APjAAAVddqoTP5CN4VMXczRFq2WDaaHMjxqtpSUehPNTXTa1tRjlu9pb oXVN06tdrMiGopUsNKMT5EMpk6CVsE2+aHa1zlA= X-Google-Smtp-Source: APXvYqzB1r91jbjUKMEkOK18yV7hnDYP28B9H7FeYpGCS6jNWJXDeqwKNMY5CxYxwA9gnXGVbdXE15xLRw3OZcNtvss= X-Received: by 2002:aca:ad8d:: with SMTP id w135mr60059198oie.112.1564474326936; Tue, 30 Jul 2019 01:12:06 -0700 (PDT) MIME-Version: 1.0 References: <9ADC8994-9D3C-4810-A2DB-6FB81D513098@gmail.com> In-Reply-To: <9ADC8994-9D3C-4810-A2DB-6FB81D513098@gmail.com> Date: Tue, 30 Jul 2019 10:11:51 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000084728a058ee190f9" Subject: Re: [PHP-DEV] Re: [RFC] Namespace-scoped declares, again From: michal@brzuchalski.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --00000000000084728a058ee190f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Rowan, niedz., 28 lip 2019 o 12:15 Rowan Collins napisa=C5=82(a): > 1) Packages should be non-hierarchical. Perhaps most simply a package nam= e > could have exactly two parts, like in composer, so it's clear that there = is > no implied relationship between two packages. > IMO this would create a lot of problems cause name in Composer Package doesn't reflect used namespace declared in autoload, for eg. Composer package name =3D> used namespace --- ocramius/package-version =3D> PackageVersions\ doctrine/collections =3D> Doctrine\Common\Collections\ symfony/console =3D> Symfony\Component\Console\ --=20 regards / pozdrawiam, -- Micha=C5=82 Brzuchalski about.me/brzuchal brzuchalski.com --00000000000084728a058ee190f9--