Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes

This commit is contained in:
Pantheon Automation 2016-04-20 09:56:34 -07:00 committed by Greg Anderson
parent b11a755ba8
commit c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions

View file

@ -29,6 +29,16 @@ class IcuResFileDumper extends FileDumper
* {@inheritdoc}
*/
public function format(MessageCatalogue $messages, $domain = 'messages')
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use the formatCatalogue() method instead.', E_USER_DEPRECATED);
return $this->formatCatalogue($messages, $domain);
}
/**
* {@inheritdoc}
*/
public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array())
{
$data = $indexes = $resources = '';
@ -79,11 +89,7 @@ class IcuResFileDumper extends FileDumper
1, 4, 0, 0 // Unicode version
);
$output = $header
.$root
.$data;
return $output;
return $header.$root.$data;
}
private function writePadding($data)
@ -97,9 +103,7 @@ class IcuResFileDumper extends FileDumper
private function getPosition($data)
{
$position = (strlen($data) + 28) / 4;
return $position;
return (strlen($data) + 28) / 4;
}
/**