Loading composer/Generator/PackageGenerator.php +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ public function __construct() { } /** * Generate Drupal's metapackages whenever composer.lock is updated * Generate Drupal's metapackages whenever composer.lock is updated. * * @param \Composer\IO\IOInterface $io * Composer IO object for interacting with the user. Loading composer/Plugin/ProjectMessage/Message.php +2 −0 Original line number Diff line number Diff line Loading @@ -73,11 +73,13 @@ public function getText() { $this->messageText[] = ' * Name: ' . $homepage; } break; case 'description': if ($homepage = $this->rootPackage->getDescription()) { $this->messageText[] = ' * Description: ' . $homepage; } break; case 'homepage': if ($homepage = $this->rootPackage->getHomepage()) { $this->messageText[] = ' * Homepage: ' . $homepage; Loading composer/Plugin/Scaffold/Git.php +8 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ use Composer\Util\ProcessExecutor; /** * Provide some Git utility operations * Provide some Git utility operations. * * @internal */ Loading @@ -21,6 +21,8 @@ private function __construct() { /** * Determines whether the specified scaffold file is already ignored. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $path * Path to scaffold file to check. * @param string $dir Loading @@ -39,6 +41,8 @@ public static function checkIgnore(IOInterface $io, $path, $dir = NULL) { /** * Determines whether the specified scaffold file is tracked by git. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $path * Path to scaffold file to check. * @param string $dir Loading @@ -57,8 +61,11 @@ public static function checkTracked(IOInterface $io, $path, $dir = NULL) { /** * Checks to see if the project root dir is in a git repository. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $dir * Base directory for git process. * * @return bool * True if this is a repository. */ Loading composer/Plugin/Scaffold/ManageGitIgnore.php +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ class ManageGitIgnore { /** * ManageGitIgnore constructor. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $dir * The directory where the project is located. */ Loading composer/Plugin/Scaffold/Operations/AppendOp.php +2 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,6 @@ public function process(ScaffoldFilePath $destination, IOInterface $io, Scaffold $io->write($interpolator->interpolate(" - Prepend to <info>[dest-rel-path]</info> from <info>[prepend-rel-path]</info>")); } // Notify that we are appending, if there is append data. $append_contents = ''; if (!empty($this->append)) { $this->append->addInterpolationData($interpolator, 'append'); $io->write($interpolator->interpolate(" - Append to <info>[dest-rel-path]</info> from <info>[append-rel-path]</info>")); Loading Loading @@ -187,10 +186,12 @@ public function scaffoldAtNewLocation(ScaffoldFilePath $destination) { /** * Check to see if the append/prepend data has already been applied. * * @param string $contents * The contents of the target file. * @param \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $data_path * The path to the data to append or prepend * * @return bool * 'TRUE' if the append/prepend data already exists in contents. */ Loading Loading
composer/Generator/PackageGenerator.php +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ public function __construct() { } /** * Generate Drupal's metapackages whenever composer.lock is updated * Generate Drupal's metapackages whenever composer.lock is updated. * * @param \Composer\IO\IOInterface $io * Composer IO object for interacting with the user. Loading
composer/Plugin/ProjectMessage/Message.php +2 −0 Original line number Diff line number Diff line Loading @@ -73,11 +73,13 @@ public function getText() { $this->messageText[] = ' * Name: ' . $homepage; } break; case 'description': if ($homepage = $this->rootPackage->getDescription()) { $this->messageText[] = ' * Description: ' . $homepage; } break; case 'homepage': if ($homepage = $this->rootPackage->getHomepage()) { $this->messageText[] = ' * Homepage: ' . $homepage; Loading
composer/Plugin/Scaffold/Git.php +8 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ use Composer\Util\ProcessExecutor; /** * Provide some Git utility operations * Provide some Git utility operations. * * @internal */ Loading @@ -21,6 +21,8 @@ private function __construct() { /** * Determines whether the specified scaffold file is already ignored. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $path * Path to scaffold file to check. * @param string $dir Loading @@ -39,6 +41,8 @@ public static function checkIgnore(IOInterface $io, $path, $dir = NULL) { /** * Determines whether the specified scaffold file is tracked by git. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $path * Path to scaffold file to check. * @param string $dir Loading @@ -57,8 +61,11 @@ public static function checkTracked(IOInterface $io, $path, $dir = NULL) { /** * Checks to see if the project root dir is in a git repository. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $dir * Base directory for git process. * * @return bool * True if this is a repository. */ Loading
composer/Plugin/Scaffold/ManageGitIgnore.php +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ class ManageGitIgnore { /** * ManageGitIgnore constructor. * * @param \Composer\IO\IOInterface $io * The Composer IO interface. * @param string $dir * The directory where the project is located. */ Loading
composer/Plugin/Scaffold/Operations/AppendOp.php +2 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,6 @@ public function process(ScaffoldFilePath $destination, IOInterface $io, Scaffold $io->write($interpolator->interpolate(" - Prepend to <info>[dest-rel-path]</info> from <info>[prepend-rel-path]</info>")); } // Notify that we are appending, if there is append data. $append_contents = ''; if (!empty($this->append)) { $this->append->addInterpolationData($interpolator, 'append'); $io->write($interpolator->interpolate(" - Append to <info>[dest-rel-path]</info> from <info>[append-rel-path]</info>")); Loading Loading @@ -187,10 +186,12 @@ public function scaffoldAtNewLocation(ScaffoldFilePath $destination) { /** * Check to see if the append/prepend data has already been applied. * * @param string $contents * The contents of the target file. * @param \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $data_path * The path to the data to append or prepend * * @return bool * 'TRUE' if the append/prepend data already exists in contents. */ Loading