Commit a8068088 authored by webchick's avatar webchick

Issue #1834594 by effulgentsia, Rob Loach: Update dependencies (Symfony and...

Issue #1834594 by effulgentsia, Rob Loach: Update dependencies (Symfony and Twig) follow up fixes for Composer.
parent 97969786
......@@ -3,18 +3,18 @@
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"license": "GPL-2.0+",
"require": {
"symfony/class-loader": "<2.4@dev",
"symfony/dependency-injection": "<2.4@dev",
"symfony/event-dispatcher": "<2.4@dev",
"symfony/http-foundation": "<2.4@dev",
"symfony/http-kernel": "<2.4@dev",
"symfony/routing": "<2.4@dev",
"symfony/serializer": "<2.4@dev",
"symfony/yaml": "<2.4@dev",
"twig/twig": "1.*",
"doctrine/common": "2.3.*",
"guzzle/http": "3.*",
"kriswallsmith/assetic": "1.1.*"
"symfony/class-loader": "<2.4",
"symfony/dependency-injection": "<2.4",
"symfony/event-dispatcher": "<2.4",
"symfony/http-foundation": "<2.4",
"symfony/http-kernel": "<2.4",
"symfony/routing": "<2.4",
"symfony/serializer": "<2.4",
"symfony/yaml": "<2.4",
"twig/twig": "1.*@stable",
"doctrine/common": "2.3.*@stable",
"guzzle/http": "*",
"kriswallsmith/assetic": "1.1.*@alpha"
},
"minimum-stability": "alpha"
"minimum-stability": "dev"
}
{
"hash": "1a2c52fedf8d9a23498df41568d82ff4",
"hash": "5d17aee0bd24c24563c2c864600fc5bd",
"packages": [
{
"name": "doctrine/common",
......@@ -71,6 +71,182 @@
"persistence"
]
},
{
"name": "guzzle/common",
"version": "dev-master",
"target-dir": "Guzzle/Common",
"source": {
"type": "git",
"url": "git://github.com/guzzle/common.git",
"reference": "23162d56daa85b1ee6f1d73d9b5a5ecda2d70849"
},
"dist": {
"type": "zip",
"url": "https://github.com/guzzle/common/archive/23162d56daa85b1ee6f1d73d9b5a5ecda2d70849.zip",
"reference": "23162d56daa85b1ee6f1d73d9b5a5ecda2d70849",
"shasum": ""
},
"require": {
"php": ">=5.3.2",
"symfony/event-dispatcher": ">=2.1"
},
"time": "2012-12-06 02:26:39",
"type": "library",
"installation-source": "source",
"autoload": {
"psr-0": {
"Guzzle\\Common": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Common libraries used by Guzzle",
"homepage": "http://guzzlephp.org/",
"keywords": [
"event",
"exception",
"common",
"collection"
]
},
{
"name": "guzzle/http",
"version": "dev-master",
"target-dir": "Guzzle/Http",
"source": {
"type": "git",
"url": "git://github.com/guzzle/http.git",
"reference": "v3.0.5"
},
"dist": {
"type": "zip",
"url": "https://github.com/guzzle/http/archive/v3.0.5.zip",
"reference": "v3.0.5",
"shasum": ""
},
"require": {
"php": ">=5.3.2",
"guzzle/common": "self.version",
"guzzle/parser": "self.version",
"guzzle/stream": "self.version"
},
"time": "2012-11-18 05:28:55",
"type": "library",
"installation-source": "source",
"autoload": {
"psr-0": {
"Guzzle\\Http": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "HTTP libraries used by Guzzle",
"homepage": "http://guzzlephp.org/",
"keywords": [
"curl",
"http",
"http client",
"client",
"Guzzle"
]
},
{
"name": "guzzle/parser",
"version": "dev-master",
"target-dir": "Guzzle/Parser",
"source": {
"type": "git",
"url": "git://github.com/guzzle/parser.git",
"reference": "v3.0.5"
},
"dist": {
"type": "zip",
"url": "https://github.com/guzzle/parser/archive/v3.0.5.zip",
"reference": "v3.0.5",
"shasum": ""
},
"require": {
"php": ">=5.3.2"
},
"time": "2012-11-19 00:07:13",
"type": "library",
"installation-source": "source",
"autoload": {
"psr-0": {
"Guzzle\\Parser": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Interchangeable parsers used by Guzzle",
"homepage": "http://guzzlephp.org/",
"keywords": [
"http",
"url",
"message",
"cookie",
"URI Template"
]
},
{
"name": "guzzle/stream",
"version": "dev-master",
"target-dir": "Guzzle/Stream",
"source": {
"type": "git",
"url": "https://github.com/guzzle/stream",
"reference": "v3.0.5"
},
"dist": {
"type": "zip",
"url": "https://github.com/guzzle/stream/archive/v3.0.5.zip",
"reference": "v3.0.5",
"shasum": ""
},
"require": {
"php": ">=5.3.2",
"guzzle/common": "self.version"
},
"time": "2012-11-11 23:54:57",
"type": "library",
"installation-source": "source",
"autoload": {
"psr-0": {
"Guzzle\\Stream": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Guzzle stream wrapper component",
"homepage": "http://guzzlephp.org/",
"keywords": [
"stream",
"Guzzle",
"component"
]
},
{
"name": "kriswallsmith/assetic",
"version": "v1.1.0-alpha1",
......@@ -114,6 +290,7 @@
"Assetic": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
......@@ -301,18 +478,18 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/HttpFoundation",
"reference": "c209d2d5b6c99121d4f3144a41e449200f4c1477"
"reference": "067c310fe4d0691a24adc97f39500233a58e42cb"
},
"dist": {
"type": "zip",
"url": "https://github.com/symfony/HttpFoundation/archive/c209d2d5b6c99121d4f3144a41e449200f4c1477.zip",
"reference": "c209d2d5b6c99121d4f3144a41e449200f4c1477",
"url": "https://github.com/symfony/HttpFoundation/archive/067c310fe4d0691a24adc97f39500233a58e42cb.zip",
"reference": "067c310fe4d0691a24adc97f39500233a58e42cb",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"time": "2012-12-03 13:31:00",
"time": "2012-12-06 15:23:16",
"type": "library",
"extra": {
"branch-alias": {
......@@ -352,12 +529,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/HttpKernel",
"reference": "b8d175c14bdf4eb9771690eae9718673dcca8408"
"reference": "dbd6b331aab91deb9e97307eac666b77a0879e07"
},
"dist": {
"type": "zip",
"url": "https://github.com/symfony/HttpKernel/archive/b8d175c14bdf4eb9771690eae9718673dcca8408.zip",
"reference": "b8d175c14bdf4eb9771690eae9718673dcca8408",
"url": "https://github.com/symfony/HttpKernel/archive/dbd6b331aab91deb9e97307eac666b77a0879e07.zip",
"reference": "dbd6b331aab91deb9e97307eac666b77a0879e07",
"shasum": ""
},
"require": {
......@@ -384,7 +561,7 @@
"symfony/dependency-injection": "2.2.*",
"symfony/finder": "2.2.*"
},
"time": "2012-11-24 12:13:43",
"time": "2012-12-06 13:04:11",
"type": "library",
"extra": {
"branch-alias": {
......@@ -416,30 +593,25 @@
},
{
"name": "symfony/process",
"version": "v2.1.4",
"version": "2.1.x-dev",
"target-dir": "Symfony/Component/Process",
"source": {
"type": "git",
"url": "https://github.com/symfony/Process",
"reference": "v2.1.4"
"reference": "058ae5038a9623fa64b120a2d10ba81f1ade05c7"
},
"dist": {
"type": "zip",
"url": "https://github.com/symfony/Process/archive/v2.1.4.zip",
"reference": "v2.1.4",
"url": "https://github.com/symfony/Process/archive/058ae5038a9623fa64b120a2d10ba81f1ade05c7.zip",
"reference": "058ae5038a9623fa64b120a2d10ba81f1ade05c7",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"time": "2012-11-19 20:53:52",
"time": "2012-12-06 10:00:55",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"
}
},
"installation-source": "dist",
"installation-source": "source",
"autoload": {
"psr-0": {
"Symfony\\Component\\Process": ""
......@@ -469,12 +641,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/Routing",
"reference": "de5f6ded706bf50922c89864693c60793d21e935"
"reference": "17109bfef57e52b35d76db4d35b3b66b1d176701"
},
"dist": {
"type": "zip",
"url": "https://github.com/symfony/Routing/archive/de5f6ded706bf50922c89864693c60793d21e935.zip",
"reference": "de5f6ded706bf50922c89864693c60793d21e935",
"url": "https://github.com/symfony/Routing/archive/17109bfef57e52b35d76db4d35b3b66b1d176701.zip",
"reference": "17109bfef57e52b35d76db4d35b3b66b1d176701",
"shasum": ""
},
"require": {
......@@ -491,7 +663,7 @@
"symfony/config": "2.2.*",
"symfony/yaml": "2.2.*"
},
"time": "2012-12-03 22:11:37",
"time": "2012-12-05 15:37:03",
"type": "library",
"extra": {
"branch-alias": {
......@@ -672,15 +844,10 @@
"aliases": [
],
"minimum-stability": "alpha",
"minimum-stability": "dev",
"stability-flags": {
"symfony/class-loader": 20,
"symfony/dependency-injection": 20,
"symfony/event-dispatcher": 20,
"symfony/http-foundation": 20,
"symfony/http-kernel": 20,
"symfony/routing": 20,
"symfony/serializer": 20,
"symfony/yaml": 20
"twig/twig": 0,
"doctrine/common": 0,
"kriswallsmith/assetic": 15
}
}
......@@ -3096,18 +3096,31 @@ function drupal_classloader() {
'Drupal\Component' => DRUPAL_ROOT . '/core/lib',
));
// Register namespaces for vendor libraries managed by Composer.
$namespaces = require DRUPAL_ROOT . '/core/vendor/composer/autoload_namespaces.php';
// Register namespaces and PEAR-like prefixes for vendor libraries managed
// by Composer. Composer combines libraries that use PHP 5.3 namespaces and
// ones that use PEAR-like class prefixes in a single array, but the Symfony
// class loader requires them to be registered separately.
$prefixes_and_namespaces = require DRUPAL_ROOT . '/core/vendor/composer/autoload_namespaces.php';
$prefixes = array();
foreach ($namespaces as $namespace => $path) {
// Composer combines libraries that use PHP 5.3 namespaces and ones that
// use PEAR-style class prefixes in a single array, but the Symfony class
// loader requires them to be registered separately. PSR-0 disallows
// underscores in namespace names and requires at least one in a
// PEAR-style class prefix.
if (strpos($namespace, '_') !== FALSE) {
$prefixes[$namespace] = $path;
unset($namespaces[$namespace]);
$namespaces = array();
foreach ($prefixes_and_namespaces as $key => $path) {
// If the key:
// - Contains a namespace separator, we know it's a namespace.
// - Doesn't contain a namespace separator and ends in an "_" (e.g.,
// "Twig_"), it's likely intended as a PEAR-like prefix rather than a
// namespace.
// - Doesn't contain a namespace separator or end in an "_" (e.g.,
// "Assetic"), then it could be either a namespace or an incomplete
// PEAR-like prefix, but we assume the former, since the only example of
// that currently in Drupal is Assetic.
// @todo Switch to a class loader that doesn't require this guessing:
// http://drupal.org/node/1658720.
$is_namespace = (strpos($key, '\\') !== FALSE) && (substr($key, -1) !== '_');
if ($is_namespace) {
$namespaces[rtrim($key, '\\')] = $path;
}
else {
$prefixes[$key] = $path;
}
}
$loader->registerPrefixes($prefixes);
......
......@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitac017267abab05dbc458e3a320f5ad98::getLoader();
return ComposerAutoloaderInit295209ab8f7c3b45c210d28fa6db3592::getLoader();
......@@ -7,16 +7,15 @@
return array(
'Twig_' => $vendorDir . '/twig/twig/lib/',
'Symfony\\Component\\Yaml' => $vendorDir . '/symfony/yaml/',
'Symfony\\Component\\Serializer' => $vendorDir . '/symfony/serializer/',
'Symfony\\Component\\Routing' => $vendorDir . '/symfony/routing/',
'Symfony\\Component\\Yaml\\' => $vendorDir . '/symfony/yaml/',
'Symfony\\Component\\Serializer\\' => $vendorDir . '/symfony/serializer/',
'Symfony\\Component\\Routing\\' => $vendorDir . '/symfony/routing/',
'Symfony\\Component\\Process' => $vendorDir . '/symfony/process/',
'Symfony\\Component\\HttpKernel' => $vendorDir . '/symfony/http-kernel/',
'Symfony\\Component\\HttpFoundation' => $vendorDir . '/symfony/http-foundation/',
'Symfony\\Component\\EventDispatcher' => $vendorDir . '/symfony/event-dispatcher/',
'Symfony\\Component\\DependencyInjection' => $vendorDir . '/symfony/dependency-injection/',
'Symfony\\Component\\ClassLoader' => $vendorDir . '/symfony/class-loader/',
'SessionHandlerInterface' => $vendorDir . '/symfony/http-foundation/Symfony/Component/HttpFoundation/Resources/stubs',
'Symfony\\Component\\HttpKernel\\' => $vendorDir . '/symfony/http-kernel/',
'Symfony\\Component\\HttpFoundation\\' => $vendorDir . '/symfony/http-foundation/',
'Symfony\\Component\\EventDispatcher\\' => $vendorDir . '/symfony/event-dispatcher/',
'Symfony\\Component\\DependencyInjection\\' => $vendorDir . '/symfony/dependency-injection/',
'Symfony\\Component\\ClassLoader\\' => $vendorDir . '/symfony/class-loader/',
'Guzzle\\Stream' => $vendorDir . '/guzzle/stream/',
'Guzzle\\Parser' => $vendorDir . '/guzzle/parser/',
'Guzzle\\Http' => $vendorDir . '/guzzle/http/',
......
......@@ -2,7 +2,7 @@
// autoload_real.php generated by Composer
class ComposerAutoloaderInitac017267abab05dbc458e3a320f5ad98
class ComposerAutoloaderInit295209ab8f7c3b45c210d28fa6db3592
{
private static $loader;
......@@ -19,9 +19,9 @@ public static function getLoader()
return static::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitac017267abab05dbc458e3a320f5ad98', 'loadClassLoader'));
spl_autoload_register(array('ComposerAutoloaderInit295209ab8f7c3b45c210d28fa6db3592', 'loadClassLoader'));
static::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitac017267abab05dbc458e3a320f5ad98', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit295209ab8f7c3b45c210d28fa6db3592', 'loadClassLoader'));
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
......
[
{
"name": "doctrine/common",
"version": "2.3.0",
"version_normalized": "2.3.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/common",
"reference": "2.3.0"
},
"dist": {
"type": "zip",
"url": "https://github.com/doctrine/common/zipball/2.3.0",
"reference": "2.3.0",
"shasum": ""
},
"require": {
"php": ">=5.3.2"
},
"time": "2012-09-19 22:55:18",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.3.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-0": {
"Doctrine\\Common": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com",
"homepage": "http://www.jwage.com/"
},
{
"name": "Guilherme Blanco",
"email": "guilhermeblanco@gmail.com",
"homepage": "http://www.instaclick.com"
},
{
"name": "Roman Borschel",
"email": "roman@code-factory.org"
},
{
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
},
{
"name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com",
"homepage": "http://jmsyst.com",
"role": "Developer of wrapped JMSSerializerBundle"
}
],
"description": "Common Library for Doctrine projects",
"homepage": "http://www.doctrine-project.org",
"keywords": [
"collections",
"spl",
"eventmanager",
"annotations",
"persistence"
]
},
{
"name": "twig/twig",
"version": "v1.11.1",
"version_normalized": "1.11.1.0",
"source": {
"type": "git",
"url": "git://github.com/fabpot/Twig.git",
"reference": "v1.11.1"
},
"dist": {
"type": "zip",
"url": "https://github.com/fabpot/Twig/archive/v1.11.1.zip",
"reference": "v1.11.1",
"shasum": ""
},
"require": {
"php": ">=5.2.4"
},
"time": "2012-11-11 17:17:59",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.11-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-0": {
"Twig_": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Armin Ronacher",
"email": "armin.ronacher@active-4.com"
}
],
"description": "Twig, the flexible, fast, and secure template language for PHP",
"homepage": "http://twig.sensiolabs.org",
"keywords": [
"templating"
]
},
{
"name": "symfony/process",
"version": "2.1.x-dev",
"version_normalized": "2.1.9999999.9999999-dev",
"target-dir": "Symfony/Component/Process",
"source": {
"type": "git",
"url": "https://github.com/symfony/Process",
"reference": "058ae5038a9623fa64b120a2d10ba81f1ade05c7"
},
"dist": {
"type": "zip",
"url": "https://github.com/symfony/Process/archive/058ae5038a9623fa64b120a2d10ba81f1ade05c7.zip",
"reference": "058ae5038a9623fa64b120a2d10ba81f1ade05c7",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"time": "2012-12-06 10:00:55",
"type": "library",
"installation-source": "source",
"autoload": {
"psr-0": {
"Symfony\\Component\\Process": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"description": "Symfony Process Component",
"homepage": "http://symfony.com"
},
{
"name": "kriswallsmith/assetic",
"version": "v1.1.0-alpha1",
......@@ -43,6 +209,7 @@
"Assetic": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
......@@ -171,32 +338,25 @@
"homepage": "http://symfony.com"
},
{
"name": "symfony/event-dispatcher",
"name": "symfony/http-foundation",
"version": "dev-master",
"version_normalized": "9999999-dev",
"target-dir": "Symfony/Component/EventDispatcher",
"target-dir": "Symfony/Component/HttpFoundation",
"source": {
"type": "git",
"url": "https://github.com/symfony/EventDispatcher",
"reference": "eb290a447c0af5bea0d3de5d95d498afd8c82f89"
"url": "https://github.com/symfony/HttpFoundation",
"reference": "067c310fe4d0691a24adc97f39500233a58e42cb"
},
"dist": {
"type": "zip",
"url": "https://github.com/symfony/EventDispatcher/archive/eb290a447c0af5bea0d3de5d95d498afd8c82f89.zip",
"reference": "eb290a447c0af5bea0d3de5d95d498afd8c82f89",
"url": "https://github.com/symfony/HttpFoundation/archive/067c310fe4d0691a24adc97f39500233a58e42cb.zip",
"reference": "067c310fe4d0691a24adc97f39500233a58e42cb",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"symfony/dependency-injection": "2.2.*"
},
"suggest": {
"symfony/dependency-injection": "2.2.*",
"symfony/http-kernel": "2.2.*"
},
"time": "2012-11-13 14:08:04",
"time": "2012-12-06 15:23:16",
"type": "library",
"extra": {
"branch-alias": {
......@@ -206,8 +366,11 @@
"installation-source": "source",
"autoload": {
"psr-0": {
"Symfony\\Component\\EventDispatcher\\": ""
}
"Symfony\\Component\\HttpFoundation\\": ""
},
"classmap": [
"Symfony/Component/HttpFoundation/Resources/stubs"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
......@@ -223,29 +386,36 @@
"homepage": "http://symfony.com/contributors"
}
],
"description": "Symfony EventDispatcher Component",
"description": "Symfony HttpFoundation Component",
"homepage": "http://symfony.com"
},
{
"name": "symfony/http-foundation",
"name": "symfony/event-dispatcher",
"version": "dev-master",
"version_normalized": "9999999-dev",
"target-dir": "Symfony/Component/HttpFoundation",
"target-dir": "Symfony/Component/EventDispatcher",
"source": {
"type": "git",
"url": "https://github.com/symfony/HttpFoundation",
"reference": "c209d2d5b6c99121d4f3144a41e449200f4c1477"
"url": "https://github.com/symfony/EventDispatcher",
"reference": "eb290a447c0af5bea0d3de5d95d498afd8c82f89"
},
"dist": {
"type": "zip",
"url": "https://github.com/symfony/HttpFoundation/archive/c209d2d5b6c99121d4f3144a41e449200f4c1477.zip",
"reference": "c209d2d5b6c99121d4f3144a41e449200f4c1477",
"url": "https://github.com/symfony/EventDispatcher/archive/eb290a447c0af5bea0d3de5d95d498afd8c82f89.zip",
"reference": "eb290a447c0af5bea0d3de5d95d498afd8c82f89",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"time": "2012-12-03 13:31:00",
"require-dev": {
"symfony/dependency-injection": "2.2.*"
},
"suggest": {
"symfony/dependency-injection": "2.2.*",
"symfony/http-kernel": "2.2.*"
},
"time": "2012-11-13 14:08:04",
"type": "library",
"extra": {
"branch-alias": {
......@@ -255,11 +425,8 @@
"installation-source": "source",
"autoload": {
"psr-0": {
"Symfony\\Component\\HttpFoundation\\": ""
},