diff --git a/src/Parts/Composer/Part.php b/src/Parts/Composer/Part.php index 7774cd3..efc7a75 100644 --- a/src/Parts/Composer/Part.php +++ b/src/Parts/Composer/Part.php @@ -25,6 +25,7 @@ public function setupPackage($composer, Directory $target) ); // Normalize and store the namespace + $namespace = str_replace('/', '\\', $namespace); $namespace = rtrim($namespace, '\\'); @$composer->autoload->{'psr-4'}->{"$namespace\\"} = 'src/';