Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2

This commit is contained in:
Pantheon Automation 2016-06-02 15:56:09 -07:00 committed by Greg Anderson
parent 9eae24d844
commit 28556d630e
1322 changed files with 6699 additions and 2064 deletions

View file

@ -29,4 +29,5 @@ class Container extends DrupalContainer {
assert(FALSE, 'The container was serialized.');
return array_keys(get_object_vars($this));
}
}

View file

@ -24,4 +24,5 @@ interface ContainerInjectionInterface {
* The service container this instance should use.
*/
public static function create(ContainerInterface $container);
}

View file

@ -52,7 +52,8 @@ class YamlFileLoader
/**
* Loads a Yaml file.
*
* @param mixed $file The resource
* @param mixed $file
* The resource
*/
public function load($file)
{
@ -99,7 +100,7 @@ class YamlFileLoader
/**
* Parses definitions
*
* @param array $content
* @param array $content
* @param string $file
*/
private function parseDefinitions($content, $file)
@ -121,10 +122,11 @@ class YamlFileLoader
* Parses a definition.
*
* @param string $id
* @param array $service
* @param array $service
* @param string $file
*
* @throws InvalidArgumentException When tags are invalid
* @throws InvalidArgumentException
* When tags are invalid.
*/
private function parseDefinition($id, $service, $file)
{
@ -318,7 +320,8 @@ class YamlFileLoader
*
* @return array The file content
*
* @throws InvalidArgumentException when the given file is not a local file or when it does not exist
* @throws InvalidArgumentException
* When the given file is not a local file or when it does not exist.
*/
protected function loadFile($file)
{
@ -336,12 +339,13 @@ class YamlFileLoader
/**
* Validates a YAML file.
*
* @param mixed $content
* @param mixed $content
* @param string $file
*
* @return array
*
* @throws InvalidArgumentException When service file is not valid
* @throws InvalidArgumentException
* When service file is not valid.
*/
private function validate($content, $file)
{