Now that the PSR-4 class autoloading convention has been adopted by core ( see [[2246699]] )
We are now in a temporary transition period where to quote from the change notice
To ensure forward compatibility, it is recommend that modules are converted to the PSR-4 file layout at the earliest opportunity.
This patch below does this ... I will push this to 8.x-1.x-dev unless there are any objections?
The directory structure in simplereservation will be flattened :-
rename {lib/Drupal/simplereservation => src}/Access/ReservationAccessBase.php (100%)
rename {lib/Drupal/simplereservation => src}/Access/ReservationDeleteAccessCheck.php (100%)
rename {lib/Drupal/simplereservation => src}/Access/ReservationEditAccessCheck.php (100%)
rename {lib/Drupal/simplereservation => src}/Controller/SimpleReservationAdminController.php (100%)
rename {lib/Drupal/simplereservation => src}/Controller/SimpleReservationReservationController.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationAdminNodeTypeForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationAdminPageForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationItemDeleteForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationItemEditForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationNodeTypeChangeForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationNodeTypeDeleteForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationNodeTypeEditForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/SimpleReservationReservationDeleteForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/simpleReservationNodeTypeFormBase.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/simpleReservationReservationAddForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/simpleReservationReservationEditForm.php (100%)
rename {lib/Drupal/simplereservation => src}/Form/simpleReservationReservationFormBase.php (100%)
rename {lib/Drupal/simplereservation => src}/Plugin/Block/UpcomingReservationBlock.php (100%)
| Comment | File | Size | Author |
|---|---|---|---|
| psr-4.patch | 5.24 KB | martin107 |
Comments
Comment #1
ZZman commentedThanks for patch that is great.
Evolution will never stop :-)
In this case directory structure will be clearer, I think.
Comment #3
martin107 commentedPush to 8.x-1.x-dev
Comment #5
martin107 commented