Closed driehle closed 3 years ago
@Ocramius I wanted to do this years ago but was told then that the Doctrine standard is PSR-0. Has that changed? Can we go ahead with PSR-4 (this has my recommendation)
We've had a discussion about this BTW: https://github.com/orgs/doctrine/teams/doctrinecore/discussions/27
Plus, doctrine-laminas-hydrator has been using PSR-4 ever since and I strongly dislike having different standards across the Laminas-related projects. Porting doctrine-laminas-hydrator from PSR-4 to PSR-0, something which is essentially dead, does not make any sense to me.
Since doctrine-laminas-hydrator is and has always been using PSR-4, this project should follow. This PR switches from PSR-0 to PSR-4 and moves all classes in the right places, effectively droping one level of folder hierarchy in both
src
andtest
.I'd like to target this at the next minor release, i.e. 4.2.0.