Skip to content
Snippets Groups Projects

Issue #3261847: Add helpful methods to compute the difference between two ComposerUtility objects

Merged Issue #3261847: Add helpful methods to compute the difference between two ComposerUtility objects
All threads resolved!
All threads resolved!
1 file
+ 0
15
Compare changes
  • Side-by-side
  • Inline
@@ -131,21 +131,6 @@ final class StagedProjectsValidator implements EventSubscriberInterface {
}
}
/**
* Checks if a given package is a Drupal package.
*
* @param \Composer\Package\PackageInterface $package
* The package to check.
*
* @return bool
* TRUE if the package is a recognized Drupal package type (drupal-module,
* drupal-theme, drupal-custom-module, or drupal-custom-theme), otherwise
* FALSE.
*/
protected function isDrupalPackage(PackageInterface $package): bool {
return array_key_exists($package->getType(), $this->getTypeMap());
}
/**
* {@inheritdoc}
*/
Loading