doctrine/mongodb

Use PSR-4

Closed this issue · 3 comments

Is there any reason to not use PSR-4 instead of PSR-0?

Not exactly, but there's also no reason to use PSR-4 over PSR-0. The only benefit I can see in PSR-4 is that we could move the contents of "lib/Doctrine/MongoDB" to the "lib" folder, but that's about it.

That being said, I'm about to wrap up 1.4.0 which will be the last minor release for this library, so I don't think it's worth making that directory change just to change the autoloading standard.

On 2.0, will it be raised the minimum PHP version to 7?

Yes. It will be at least 7.1.