1
0
Fork 0

Undo addition of a bunch of Script methods to RootPackage[Interface], refs #5401

pull/3788/merge
Jordi Boggiano 2016-07-02 15:27:45 +01:00
parent a72ef947d4
commit 98bf6d704e
3 changed files with 0 additions and 34 deletions

View File

@ -70,14 +70,6 @@ class RootAliasPackage extends AliasPackage implements RootPackageInterface
return $this->aliasOf->getConfig(); return $this->aliasOf->getConfig();
} }
/**
* {@inheritDoc}
*/
public function getScripts()
{
return $this->aliasOf->getScripts();
}
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */

View File

@ -23,7 +23,6 @@ class RootPackage extends CompletePackage implements RootPackageInterface
protected $preferStable = false; protected $preferStable = false;
protected $stabilityFlags = array(); protected $stabilityFlags = array();
protected $config = array(); protected $config = array();
protected $scripts = array();
protected $references = array(); protected $references = array();
protected $aliases = array(); protected $aliases = array();
@ -99,24 +98,6 @@ class RootPackage extends CompletePackage implements RootPackageInterface
return $this->config; 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 * Set the references
* *

View File

@ -65,13 +65,6 @@ interface RootPackageInterface extends CompletePackageInterface
*/ */
public function getConfig(); public function getConfig();
/**
* Returns the root package's scripts
*
* @return array
*/
public function getScripts();
/** /**
* Set the required packages * Set the required packages
* *