You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to follow modern PHP best practices, the Drupal 8 ebsco.module file and the various classes in the lib folder should be refactored to use PSR-4 autoloading.
A more complete solution however would be to consider extracting EBSCODocument and all the other classes into a separate repository, so they can be exposed to Packagist, and installed via a composer dependency in the Drupal module's composer.json this would mean that any PHP project (eg Symfony or Laravel) could benefit from using these classes.
In order to follow modern PHP best practices, the Drupal 8 ebsco.module file and the various classes in the
lib
folder should be refactored to use PSR-4 autoloading.A more complete solution however would be to consider extracting
EBSCODocument
and all the other classes into a separate repository, so they can be exposed to Packagist, and installed via a composer dependency in the Drupal module's composer.json this would mean that any PHP project (eg Symfony or Laravel) could benefit from using these classes.See Drupal 8 Coding Standards for PSR-4 Namespaces and Autoloading
The text was updated successfully, but these errors were encountered: