Skip to content

Commit

Permalink
Added semicolon after namespace, fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen-G committed Jun 27, 2015
1 parent 24eb5de commit 2216769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PackagerNewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function handle()

// Replacing skeleton namespaces
$this->info('Replacing skeleton namespaces...');
$this->helper->replaceAndSave($fullPath.'/src/SkeletonClass.php', 'namespace League\Skeleton;', 'namespace '.$cVendor.'\\'.$cName);
$this->helper->replaceAndSave($fullPath.'/src/SkeletonClass.php', 'namespace League\Skeleton;', 'namespace '.$cVendor.'\\'.$cName.';');
$search = ['league/:package_name', '"php"', 'League\\\\Skeleton\\\\', 'League\\\\Skeleton\\\\Test\\\\'];
$replace = [$vendor.'/'.$name, $requireSupport, $cVendor.'\\\\'.$cName.'\\\\', $cVendor.'\\\\'.$cName.'\\\\Test\\\\'];
$this->helper->replaceAndSave($fullPath.'/composer.json', $search, $replace);
Expand Down

0 comments on commit 2216769

Please sign in to comment.