backdrop-contrib / coder_upgrade

Helps automate some/most of the work required to upgrade a module from Drupal to Backdrop 1.x
GNU General Public License v2.0
4 stars 7 forks source link

Issue: Handling of namespaces, ie: use statements and paths. Patch available. #40

Closed rbargerhuff closed 3 years ago

rbargerhuff commented 3 years ago

@docwilmot Hello there, during our testing and extensive evaluation of Coder Upgrade module, we discovered that namespaces, such as the following were not being handled at all.

namespace taco; /* Standard namespace statement */
namespace taco\cat; // Sub-namespace

use Drush\Backdrop; /* Standard use statement */
use Drush\Boot as TestAlias; // Use statement with alias

We took it upon ourselves to address this after forking this project and we will be pushing our changes soon.

bugfolder commented 3 years ago

Fixed by https://github.com/backdrop-contrib/coder_upgrade/pull/41.