Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We need a rule to handle PSR-0 compatible class loader in core.
We need a rule to handle PSR-0 compatible class loader in core.
Comments
Comment #1
webchickComment #2
donquixote CreditAttribution: donquixote commentedWhat is needed here?
As I see it:
1. Transform the patch in #2083547: PSR-4: Putting it all together to use src instead of lib.
2. Commit #2083547: PSR-4: Putting it all together (without moving the files)
3. Close #2083547: PSR-4: Putting it all together.
4. Continue in this issue.
5. Run the switch-psr4.sh script, and upload the diff as a patch, in this issue.
6. Re-roll until someone commits it.
Correct?
EDIT:
Sorry, totally missed which project this issue is for. So the above totally misses the point.
This said: The core script does work for modules! You just need to specify a folder as a commandline argument.
Comment #3
webchickGood point. :) I might be able to just pull that in!
Comment #4
webchickMoving to new project.
Comment #7
phenaproximaI'm pretty sure this no longer applies to DMU, and there's a separate issue for PSR-4 conversion. Closing.