diff --git a/src/Composer/Package/RootAliasPackage.php b/src/Composer/Package/RootAliasPackage.php index 1105d22aa..862cb21a5 100644 --- a/src/Composer/Package/RootAliasPackage.php +++ b/src/Composer/Package/RootAliasPackage.php @@ -70,14 +70,6 @@ class RootAliasPackage extends AliasPackage implements RootPackageInterface return $this->aliasOf->getConfig(); } - /** - * {@inheritDoc} - */ - public function getScripts() - { - return $this->aliasOf->getScripts(); - } - /** * {@inheritDoc} */ diff --git a/src/Composer/Package/RootPackage.php b/src/Composer/Package/RootPackage.php index ecaf94ae1..52e851a5c 100644 --- a/src/Composer/Package/RootPackage.php +++ b/src/Composer/Package/RootPackage.php @@ -23,7 +23,6 @@ class RootPackage extends CompletePackage implements RootPackageInterface protected $preferStable = false; protected $stabilityFlags = array(); protected $config = array(); - protected $scripts = array(); protected $references = array(); protected $aliases = array(); @@ -99,24 +98,6 @@ class RootPackage extends CompletePackage implements RootPackageInterface return $this->config; } - /** - * Set the scripts - * - * @param array $scripts - */ - public function setScripts(array $scripts) - { - $this->scripts = $scripts; - } - - /** - * {@inheritDoc} - */ - public function getScripts() - { - return $this->scripts; - } - /** * Set the references * diff --git a/src/Composer/Package/RootPackageInterface.php b/src/Composer/Package/RootPackageInterface.php index 7cf846955..7a3be9d8e 100644 --- a/src/Composer/Package/RootPackageInterface.php +++ b/src/Composer/Package/RootPackageInterface.php @@ -65,13 +65,6 @@ interface RootPackageInterface extends CompletePackageInterface */ public function getConfig(); - /** - * Returns the root package's scripts - * - * @return array - */ - public function getScripts(); - /** * Set the required packages *