Ah now I got it.. the problem is you mapped the root directory of your
project in your autoload config:
"autoload": {
"psr-4": {
"\\app\\": "."
}
},
So it looks for all classes in the current dir, and while we did exclude
classes not within the app\ namespace, this was done after printing the
warnings out. I just fixed that so you can try again, after a `composer
self-update` it should work fine :)
Cheers
On 29/04/2014 13:04, Suralc wrote:
> As I already posted:
> composer selfupdate && composer --version
>
> * You are already using composer version
> 29c39cc2662547b1128149d1a4c7ddf93c69bb9d.
> * Composer version 29c39cc2662547b1128149d1a4c7ddf93c69bb9d 2014-04-28
> 15:57:52
>
> composer show -i and composer dump-autoload directly after that:
>
> /composer show -i ///ezyang/htmlpurifier
>
> /name : ezyang/htmlpurifier
> , the first will be used./
>
> Parth shortened, nothing else changed. 4.6 is the latest tagged version.
> Git hash matches the tag.
>
> Am Dienstag, 29. April 2014 12:48:51 UTC+2 schrieb Jordi Boggiano:
>
> On 29/04/2014 12:12, Suralc wrote:
> > * make composer only include classes that are autoloadable in the
> > optimized classmap:
> > o The path that has the 2nd class definition is not
> autoloadable
> > by default:
> >
>
https://github.com/ezyang/htmlpurifier/blob/344e0640b6610883a0aa6766cc6750d26d091c76/composer.json
> <
https://github.com/ezyang/htmlpurifier/blob/344e0640b6610883a0aa6766cc6750d26d091c76/composer.json>
>
>
> There is no "autoloadable by not default". Either it's autoloadable or
> it is not. That's why the warning makes no sense unless you have an
> outdated composer or possibly an outdated htmlpurifier version which
> had
> a broader autoload config (you can check that with `composer show -i
> ezyang/htmlpurifier` - what does that output for the autoload config?).
>
> > * disable warnings for a specific package
>
> No
>
> > * or to exclude a specific package from autoload optimization
>
> No
>
>
>
> --
> Jordi Boggiano
> @seldaek -
http://nelm.io/jordi
>
> --
> You received this message because you are subscribed to the Google
> Groups "composer-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
composer-user...@googlegroups.com
> <mailto:
composer-user...@googlegroups.com>.