diff --git a/composer.json b/composer.json index 97ef123..ed9282c 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,10 @@ "Drupal\\Core": "core/lib/", "Drupal\\Component": "core/lib/", "Drupal\\Driver": "drivers/lib/" - } + }, + "files": [ + "core/lib/Drupal.php" + ] }, "config": { "vendor-dir": "core/vendor", diff --git a/core/authorize.php b/core/authorize.php index fe39394..8a76fe4 100644 --- a/core/authorize.php +++ b/core/authorize.php @@ -23,6 +23,8 @@ // Change the directory to the Drupal root. chdir('..'); +require_once __DIR__ . '/vendor/autoload.php'; + /** * Global flag to identify update.php and authorize.php runs. * diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index f7ab2d7..01a7767 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -10,8 +10,6 @@ use Drupal\Core\DrupalKernel; use Drupal\Core\Database\Database; use Drupal\Core\DependencyInjection\ContainerBuilder; -use Symfony\Component\ClassLoader\ClassLoader; -use Symfony\Component\ClassLoader\ApcClassLoader; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\Reference; @@ -512,9 +510,6 @@ function drupal_override_server_variables($variables = array()) { * Initializes the PHP environment. */ function drupal_environment_initialize() { - // Make sure the \Drupal class is available. - require_once DRUPAL_ROOT . '/core/lib/Drupal.php'; - if (!isset($_SERVER['HTTP_REFERER'])) { $_SERVER['HTTP_REFERER'] = ''; } @@ -597,7 +592,7 @@ function drupal_settings_initialize() { if (is_readable(DRUPAL_ROOT . '/' . $conf_path . '/settings.php')) { include_once DRUPAL_ROOT . '/' . $conf_path . '/settings.php'; } - require_once DRUPAL_ROOT . '/core/lib/Drupal/Component/Utility/Settings.php'; + new Settings(isset($settings) ? $settings : array()); $is_https = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on'; @@ -1847,51 +1842,6 @@ function drupal_bootstrap($phase = NULL, $new_phase = TRUE) { } /** - * Handles an entire PHP request. - * - * This function may be called by PHP scripts (e.g., Drupal's index.php) that - * want Drupal to take over the entire PHP processing of the request. The only - * expectation is that PHP's superglobals are initialized as desired (PHP does - * this automatically, but some scripts might want to alter them) and that the - * DRUPAL_ROOT constant is defined and set to the absolute server directory of - * Drupal's codebase. - * - * Scripts and applications that want to invoke multiple Drupal requests within - * a single PHP request, or Drupal request handling within some larger workflow, - * should not call this function, but instead instantiate and use - * \Drupal\Core\DrupalKernel as needed. - * - * @param boolean $test_only - * Whether to restrict handling to only requests invoked by SimpleTest. - * - * @see index.php - */ -function drupal_handle_request($test_only = FALSE) { - // Initialize the environment, load settings.php, and activate a PSR-0 class - // autoloader with required namespaces registered. - drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION); - - // Exit if we should be in a test environment but aren't. - if ($test_only && !drupal_valid_test_ua()) { - header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); - exit; - } - - $kernel = new DrupalKernel('prod', drupal_classloader(), !$test_only); - - // @todo Remove this once everything in the bootstrap has been - // converted to services in the DIC. - $kernel->boot(); - drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE); - - // Create a request object from the HttpFoundation. - $request = Request::createFromGlobals(); - $response = $kernel->handle($request)->prepare($request)->send(); - - $kernel->terminate($request, $response); -} - -/** * Returns the time zone of the current user. */ function drupal_get_user_timezone() { @@ -1981,9 +1931,6 @@ function _drupal_bootstrap_configuration() { // Make sure we are using the test database prefix in child Drupal sites. _drupal_initialize_db_test_prefix(); - // Activate the class loader. - drupal_classloader(); - // Start a page timer: Timer::start('page'); @@ -2742,56 +2689,22 @@ function arg($index = NULL, $path = NULL) { } /** - * Initializes and returns the class loader. + * Returns the class loader. * * The class loader is responsible for lazy-loading all PSR-0 compatible - * classes, interfaces, and traits (PHP 5.4 and later). It's only dependency - * is DRUPAL_ROOT. Otherwise it may be called as early as possible. - * - * @param $class_loader - * The name of class loader to use. This can be used to change the class - * loader class when calling drupal_classloader() from settings.php. It is - * ignored otherwise. + * classes, interfaces, and traits (PHP 5.4 and later). * - * @return \Symfony\Component\ClassLoader\ClassLoader + * @return \Composer\Autoload\ClassLoader * A ClassLoader class instance (or extension thereof). */ -function drupal_classloader($class_loader = NULL) { - // By default, use the ClassLoader which is best for development, as it does - // not break when code is moved on the file system. However, as it is slow, - // allow to use the APC class loader in production. +function drupal_classloader() { static $loader; if (!isset($loader)) { - - // Include the Symfony ClassLoader for loading PSR-0-compatible classes. - require_once DRUPAL_ROOT . '/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/ClassLoader.php'; - $loader = new ClassLoader(); - - // Register the class loader. - // When configured to use APC, the ApcClassLoader is registered instead. - // Note that ApcClassLoader decorates ClassLoader and only provides the - // findFile() method, but none of the others. The actual registry is still - // in ClassLoader. - if (!isset($class_loader)) { - $class_loader = settings()->get('class_loader', 'default'); - } - if ($class_loader === 'apc') { - require_once DRUPAL_ROOT . '/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/ApcClassLoader.php'; - $apc_loader = new ApcClassLoader('drupal.' . drupal_get_hash_salt(), $loader); - $apc_loader->register(); - } - else { - $loader->register(); - } - - // Register namespaces for vendor libraries managed by Composer. - $prefixes_and_namespaces = require DRUPAL_ROOT . '/core/vendor/composer/autoload_namespaces.php'; - $loader->addPrefixes($prefixes_and_namespaces); - - // Register the loader with PHP. - $loader->register(); + // Retrieve the Composer ClassLoader for loading classes. + $loader = include __DIR__ . '/../vendor/autoload.php'; } + return $loader; } @@ -2805,7 +2718,7 @@ function drupal_classloader($class_loader = NULL) { */ function drupal_classloader_register($name, $path) { $loader = drupal_classloader(); - $loader->addPrefix('Drupal\\' . $name, DRUPAL_ROOT . '/' . $path . '/lib'); + $loader->add('Drupal\\' . $name, DRUPAL_ROOT . '/' . $path . '/lib'); } /** diff --git a/core/install.php b/core/install.php index 641403d..7152fd8 100644 --- a/core/install.php +++ b/core/install.php @@ -8,6 +8,8 @@ // Change the directory to the Drupal root. chdir('..'); +require_once __DIR__ . '/vendor/autoload.php'; + /** * Global flag to indicate the site is in installation mode. * diff --git a/core/lib/Drupal.php b/core/lib/Drupal.php index 1fa80fc..0ccde9e 100644 --- a/core/lib/Drupal.php +++ b/core/lib/Drupal.php @@ -5,6 +5,8 @@ * Contains Drupal. */ +use Drupal\Core\DrupalKernel; +use Symfony\Component\HttpFoundation\Request; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -77,6 +79,54 @@ class Drupal { /** + * Handles an entire PHP request. + * + * This function may be called by PHP scripts (e.g., Drupal's index.php) that + * want Drupal to take over the entire PHP processing of the request. The only + * expectation is that PHP's superglobals are initialized as desired (PHP does + * this automatically, but some scripts might want to alter them) and that the + * DRUPAL_ROOT constant is defined and set to the absolute server directory of + * Drupal's codebase. + * + * Scripts and applications that want to invoke multiple Drupal requests within + * a single PHP request, or Drupal request handling within some larger workflow, + * should not call this function, but instead instantiate and use + * \Drupal\Core\DrupalKernel as needed. + * + * @param boolean $test_only + * Whether to restrict handling to only requests invoked by SimpleTest. + * + * @see index.php + */ + public static function handleRequest($test_only = FALSE) { + // Prepare the Drupal bootstrap. + require_once __DIR__ . '/../includes/bootstrap.inc'; + + // Initialize the environment, load settings.php, and activate a PSR-0 class + // autoloader with required namespaces registered. + drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION); + + // Exit if we should be in a test environment but aren't. + if ($test_only && !drupal_valid_test_ua()) { + header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); + exit; + } + + $kernel = new DrupalKernel('prod', drupal_classloader(), !$test_only); + + // @todo Remove this once everything in the bootstrap has been + // converted to services in the DIC. + $kernel->boot(); + drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE); + + // Create a request object from the HttpFoundation. + $request = Request::createFromGlobals(); + $response = $kernel->handle($request)->prepare($request)->send(); + + $kernel->terminate($request, $response); + } + + /** * The currently active container object. * * @var \Symfony\Component\DependencyInjection\ContainerInterface diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index af1fe52..6203142 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -12,7 +12,6 @@ use Drupal\Core\CoreServiceProvider; use Drupal\Core\DependencyInjection\ContainerBuilder; use Drupal\Core\DependencyInjection\YamlFileLoader; -use Symfony\Component\ClassLoader\ClassLoader; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; use Symfony\Component\DependencyInjection\Dumper\PhpDumper; @@ -20,6 +19,7 @@ use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpKernel\TerminableInterface; +use Composer\Autoload\ClassLoader; /** * The DrupalKernel class is the core of Drupal itself. @@ -97,7 +97,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface { /** * The classloader object. * - * @var \Symfony\Component\ClassLoader\ClassLoader + * @var \Composer\Autoload\ClassLoader */ protected $classLoader; @@ -150,7 +150,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface { * String indicating the environment, e.g. 'prod' or 'dev'. Used by * Symfony\Component\HttpKernel\Kernel::__construct(). Drupal does not use * this value currently. Pass 'prod'. - * @param \Symfony\Component\ClassLoader\ClassLoader $class_loader + * @param \Composer\Autoload\ClassLoader $class_loader * (optional) The classloader is only used if $storage is not given or * the load from storage fails and a container rebuild is required. In * this case, the loaded modules will be registered with this loader in @@ -521,7 +521,7 @@ protected function buildContainer() { $container->setParameter('container.namespaces', $namespaces); // Register synthetic services. - $container->register('class_loader', 'Symfony\Component\ClassLoader\ClassLoader')->setSynthetic(TRUE); + $container->register('class_loader', 'Composer\Autoload\ClassLoader')->setSynthetic(TRUE); $container->register('kernel', 'Symfony\Component\HttpKernel\KernelInterface')->setSynthetic(TRUE); $container->register('service_container', 'Symfony\Component\DependencyInjection\ContainerInterface')->setSynthetic(TRUE); $yaml_loader = new YamlFileLoader($container); @@ -661,6 +661,8 @@ protected function getModuleNamespaces($moduleFileNames) { * Registers a list of namespaces. */ protected function registerNamespaces(array $namespaces = array()) { - $this->classLoader->addPrefixes($namespaces); + foreach ($namespaces as $prefix => $path) { + $this->classLoader->add($prefix, $path); + } } } diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module index 587b6c0..033716d 100644 --- a/core/modules/simpletest/simpletest.module +++ b/core/modules/simpletest/simpletest.module @@ -520,27 +520,28 @@ function simpletest_classloader_register() { 'theme' => array('dir' => 'themes', 'extension' => 'info'), 'profile' => array('dir' => 'profiles', 'extension' => 'profile'), ); + + $classloader = drupal_classloader(); + foreach ($types as $type => $info) { $matches = drupal_system_listing('/^' . DRUPAL_PHP_FUNCTION_PATTERN . '\.' . $info['extension'] . '$/', $info['dir']); foreach ($matches as $name => $file) { drupal_classloader_register($name, dirname($file->uri)); - drupal_classloader()->addPrefix('Drupal\\' . $name . '\\Tests', DRUPAL_ROOT . '/' . dirname($file->uri) . '/tests'); + $classloader->add('Drupal\\' . $name . '\\Tests', DRUPAL_ROOT . '/' . dirname($file->uri) . '/tests'); // While being there, prime drupal_get_filename(). drupal_get_filename($type, $name, $file->uri); } } // Register the core test directory so we can find \Drupal\UnitTestCase. - drupal_classloader()->addPrefix('Drupal\\Tests', DRUPAL_ROOT . '/core/tests'); + $classloader->add('Drupal\\Tests', DRUPAL_ROOT . '/core/tests'); // Manually register phpunit prefixes because they use a classmap instead of a // prefix. This can be safely removed if we move to using composer's // autoloader with a classmap. - drupal_classloader()->addPrefixes(array( - 'PHPUnit' => DRUPAL_ROOT . '/core/vendor/phpunit/phpunit', - 'File_Iterator' => DRUPAL_ROOT . '/core/vendor/phpunit/php-file-iterator/', - 'PHP_Timer' => DRUPAL_ROOT . '/core/vendor/phpunit/php-timer/', - )); + $classloader->add('PHPUnit', DRUPAL_ROOT . '/core/vendor/phpunit/phpunit'); + $classloader->add('File_Iterator', DRUPAL_ROOT . '/core/vendor/phpunit/php-file-iterator/'); + $classloader->add('PHP_Timer', DRUPAL_ROOT . '/core/vendor/phpunit/php-timer/'); } /** diff --git a/core/modules/statistics/statistics.php b/core/modules/statistics/statistics.php index 22d2fb4..3b431a3 100644 --- a/core/modules/statistics/statistics.php +++ b/core/modules/statistics/statistics.php @@ -9,7 +9,8 @@ chdir('../../..'); // Load the Drupal bootstrap. -include_once dirname(dirname(__DIR__)) . '/includes/bootstrap.inc'; +require_once dirname(dirname(__DIR__)) . '/vendor/autoload.php'; +require_once dirname(dirname(__DIR__)) . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_VARIABLES); if (config('statistics.settings')->get('count_content_views')) { diff --git a/core/modules/system/lib/Drupal/system/Tests/Module/ClassLoaderTest.php b/core/modules/system/lib/Drupal/system/Tests/Module/ClassLoaderTest.php index 2fd8eb9..b7f879f 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Module/ClassLoaderTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Module/ClassLoaderTest.php @@ -39,8 +39,8 @@ function testClassLoading() { // Check twice to test an unprimed and primed system_list() cache. for ($i=0; $i<2; $i++) { $this->drupalGet('module-test/class-loading'); - $this->assertText($this->expected, 'Autoloader loads classes from an enabled module.'); } + $this->assertText($this->expected, 'Autoloader loads classes from an enabled module.'); } /** @@ -55,7 +55,7 @@ function testClassLoadingDisabledModules() { // Check twice to test an unprimed and primed system_list() cache. for ($i=0; $i<2; $i++) { $this->drupalGet('module-test/class-loading'); - $this->assertNoText($this->expected, 'Autoloader does not load classes from a disabled module.'); } + $this->assertNoText($this->expected, 'Autoloader does not load classes from a disabled module.'); } } diff --git a/core/modules/system/tests/http.php b/core/modules/system/tests/http.php index 5e5e702..61f2a37 100644 --- a/core/modules/system/tests/http.php +++ b/core/modules/system/tests/http.php @@ -18,5 +18,5 @@ // Change current directory to the Drupal root. chdir('../../../..'); -require_once dirname(dirname(dirname(__DIR__))) . '/includes/bootstrap.inc'; -drupal_handle_request(TRUE); +require_once dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php'; +Drupal::handleRequest(TRUE); diff --git a/core/modules/system/tests/https.php b/core/modules/system/tests/https.php index e509c15..ef00392 100644 --- a/core/modules/system/tests/https.php +++ b/core/modules/system/tests/https.php @@ -20,5 +20,5 @@ // Change current directory to the Drupal root. chdir('../../../..'); -require_once dirname(dirname(dirname(__DIR__))) . '/includes/bootstrap.inc'; -drupal_handle_request(TRUE); +require_once dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php'; +Drupal::handleRequest(TRUE); diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 49b1a44..4392a70 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -4,6 +4,8 @@ * This script runs Drupal tests from command line. */ +require_once __DIR__ . '/../vendor/autoload.php'; + const SIMPLETEST_SCRIPT_COLOR_PASS = 32; // Green. const SIMPLETEST_SCRIPT_COLOR_FAIL = 31; // Red. const SIMPLETEST_SCRIPT_COLOR_EXCEPTION = 33; // Brown. diff --git a/core/tests/bootstrap.php b/core/tests/bootstrap.php index 08d8871..f1c3e40 100644 --- a/core/tests/bootstrap.php +++ b/core/tests/bootstrap.php @@ -2,9 +2,7 @@ // Register the namespaces we'll need to autoload from. $loader = require __DIR__ . "/../vendor/autoload.php"; -$loader->add('Drupal\\', __DIR__); -$loader->add('Drupal\Core', __DIR__ . "/../../core/lib"); -$loader->add('Drupal\Component', __DIR__ . "/../../core/lib"); +$loader->add('Drupal\\Tests', __DIR__); foreach (scandir(__DIR__ . "/../modules") as $module) { $loader->add('Drupal\\' . $module, __DIR__ . "/../modules/" . $module . "/lib"); @@ -17,10 +15,6 @@ } } -require __DIR__ . "/../../core/lib/Drupal.php"; -// Look into removing this later. -define('REQUEST_TIME', (int) $_SERVER['REQUEST_TIME']); - // Set sane locale settings, to ensure consistent string, dates, times and // numbers handling. // @see drupal_environment_initialize() diff --git a/core/update.php b/core/update.php index fba6b86..d1fd738 100644 --- a/core/update.php +++ b/core/update.php @@ -22,6 +22,8 @@ // Change the directory to the Drupal root. chdir('..'); +require_once __DIR__ . '/vendor/autoload.php'; + // Exit early if an incompatible PHP version would cause fatal errors. // The minimum version is specified explicitly, as DRUPAL_MINIMUM_PHP is not // yet available. It is defined in bootstrap.inc, but it is not possible to diff --git a/core/vendor/autoload.php b/core/vendor/autoload.php index 51fea2c..9a6d203 100644 --- a/core/vendor/autoload.php +++ b/core/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer' . '/autoload_real.php'; -return ComposerAutoloaderInit4ae4005bb4ec82f3372265feb7e84f37::getLoader(); +return ComposerAutoloaderInitee5a0911063acb96d1226287cb4e6d49::getLoader(); diff --git a/core/vendor/composer/ClassLoader.php b/core/vendor/composer/ClassLoader.php index 1db8d9a..bcf9809 100644 --- a/core/vendor/composer/ClassLoader.php +++ b/core/vendor/composer/ClassLoader.php @@ -49,7 +49,7 @@ class ClassLoader public function getPrefixes() { - return call_user_func_array('array_merge', $this->prefixes); + return $this->prefixes; } public function getFallbackDirs() @@ -98,21 +98,19 @@ public function add($prefix, $paths, $prepend = false) return; } - - $first = $prefix[0]; - if (!isset($this->prefixes[$first][$prefix])) { - $this->prefixes[$first][$prefix] = (array) $paths; + if (!isset($this->prefixes[$prefix])) { + $this->prefixes[$prefix] = (array) $paths; return; } if ($prepend) { - $this->prefixes[$first][$prefix] = array_merge( + $this->prefixes[$prefix] = array_merge( (array) $paths, - $this->prefixes[$first][$prefix] + $this->prefixes[$prefix] ); } else { - $this->prefixes[$first][$prefix] = array_merge( - $this->prefixes[$first][$prefix], + $this->prefixes[$prefix] = array_merge( + $this->prefixes[$prefix], (array) $paths ); } @@ -121,8 +119,8 @@ public function add($prefix, $paths, $prepend = false) /** * Registers a set of classes, replacing any others previously set. * - * @param string $prefix The classes prefix - * @param array|string $paths The location(s) of the classes + * @param string $prefix The classes prefix + * @param array|string $paths The location(s) of the classes */ public function set($prefix, $paths) { @@ -131,7 +129,7 @@ public function set($prefix, $paths) return; } - $this->prefixes[substr($prefix, 0, 1)][$prefix] = (array) $paths; + $this->prefixes[$prefix] = (array) $paths; } /** @@ -197,7 +195,6 @@ public function loadClass($class) */ public function findFile($class) { - // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731 if ('\\' == $class[0]) { $class = substr($class, 1); } @@ -208,7 +205,7 @@ public function findFile($class) if (false !== $pos = strrpos($class, '\\')) { // namespaced class name - $classPath = strtr(substr($class, 0, $pos), '\\', DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; + $classPath = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 0, $pos)) . DIRECTORY_SEPARATOR; $className = substr($class, $pos + 1); } else { // PEAR-like class name @@ -216,16 +213,13 @@ public function findFile($class) $className = $class; } - $classPath .= strtr($className, '_', DIRECTORY_SEPARATOR) . '.php'; + $classPath .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; - $first = $class[0]; - if (isset($this->prefixes[$first])) { - foreach ($this->prefixes[$first] as $prefix => $dirs) { - if (0 === strpos($class, $prefix)) { - foreach ($dirs as $dir) { - if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) { - return $dir . DIRECTORY_SEPARATOR . $classPath; - } + foreach ($this->prefixes as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) { + return $dir . DIRECTORY_SEPARATOR . $classPath; } } } diff --git a/core/vendor/composer/autoload_namespaces.php b/core/vendor/composer/autoload_namespaces.php index 87cf570..bbd4a45 100644 --- a/core/vendor/composer/autoload_namespaces.php +++ b/core/vendor/composer/autoload_namespaces.php @@ -6,32 +6,32 @@ $baseDir = dirname(dirname($vendorDir)); return array( - 'Zend\\Stdlib\\' => array($vendorDir . '/zendframework/zend-stdlib'), - 'Zend\\Feed\\' => array($vendorDir . '/zendframework/zend-feed'), - 'Zend\\Escaper\\' => array($vendorDir . '/zendframework/zend-escaper'), - 'Twig_' => array($vendorDir . '/twig/twig/lib'), - 'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'), - 'Symfony\\Component\\Validator\\' => array($vendorDir . '/symfony/validator'), - 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'), - 'Symfony\\Component\\Serializer\\' => array($vendorDir . '/symfony/serializer'), - 'Symfony\\Component\\Routing\\' => array($vendorDir . '/symfony/routing'), - 'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), - 'Symfony\\Component\\HttpKernel\\' => array($vendorDir . '/symfony/http-kernel'), - 'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'), - 'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'), - 'Symfony\\Component\\DependencyInjection\\' => array($vendorDir . '/symfony/dependency-injection'), - 'Symfony\\Component\\Debug\\' => array($vendorDir . '/symfony/debug'), - 'Symfony\\Component\\ClassLoader\\' => array($vendorDir . '/symfony/class-loader'), - 'Symfony\\Cmf\\Component\\Routing' => array($vendorDir . '/symfony-cmf/routing'), - 'Psr\\Log\\' => array($vendorDir . '/psr/log'), - 'Guzzle\\Stream' => array($vendorDir . '/guzzle/stream'), - 'Guzzle\\Parser' => array($vendorDir . '/guzzle/parser'), - 'Guzzle\\Http' => array($vendorDir . '/guzzle/http'), - 'Guzzle\\Common' => array($vendorDir . '/guzzle/common'), - 'EasyRdf_' => array($vendorDir . '/easyrdf/easyrdf/lib'), - 'Drupal\\Driver' => array($baseDir . '/drivers/lib'), - 'Drupal\\Core' => array($baseDir . '/core/lib'), - 'Drupal\\Component' => array($baseDir . '/core/lib'), - 'Doctrine\\Common' => array($vendorDir . '/doctrine/common/lib'), - 'Assetic' => array($vendorDir . '/kriswallsmith/assetic/src'), + 'Zend\\Stdlib\\' => $vendorDir . '/zendframework/zend-stdlib', + 'Zend\\Feed\\' => $vendorDir . '/zendframework/zend-feed', + 'Zend\\Escaper\\' => $vendorDir . '/zendframework/zend-escaper', + 'Twig_' => $vendorDir . '/twig/twig/lib', + 'Symfony\\Component\\Yaml\\' => $vendorDir . '/symfony/yaml', + 'Symfony\\Component\\Validator\\' => $vendorDir . '/symfony/validator', + 'Symfony\\Component\\Translation\\' => $vendorDir . '/symfony/translation', + '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\\Debug\\' => $vendorDir . '/symfony/debug', + 'Symfony\\Component\\ClassLoader\\' => $vendorDir . '/symfony/class-loader', + 'Symfony\\Cmf\\Component\\Routing' => $vendorDir . '/symfony-cmf/routing', + 'Psr\\Log\\' => $vendorDir . '/psr/log', + 'Guzzle\\Stream' => $vendorDir . '/guzzle/stream', + 'Guzzle\\Parser' => $vendorDir . '/guzzle/parser', + 'Guzzle\\Http' => $vendorDir . '/guzzle/http', + 'Guzzle\\Common' => $vendorDir . '/guzzle/common', + 'EasyRdf_' => $vendorDir . '/easyrdf/easyrdf/lib', + 'Drupal\\Driver' => $baseDir . '/drivers/lib', + 'Drupal\\Core' => $baseDir . '/core/lib', + 'Drupal\\Component' => $baseDir . '/core/lib', + 'Doctrine\\Common' => $vendorDir . '/doctrine/common/lib', + 'Assetic' => $vendorDir . '/kriswallsmith/assetic/src', ); diff --git a/core/vendor/composer/autoload_real.php b/core/vendor/composer/autoload_real.php index 7d1d4ad..71fc52c 100644 --- a/core/vendor/composer/autoload_real.php +++ b/core/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php generated by Composer -class ComposerAutoloaderInit4ae4005bb4ec82f3372265feb7e84f37 +class ComposerAutoloaderInitee5a0911063acb96d1226287cb4e6d49 { private static $loader; @@ -19,9 +19,9 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit4ae4005bb4ec82f3372265feb7e84f37', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitee5a0911063acb96d1226287cb4e6d49', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit4ae4005bb4ec82f3372265feb7e84f37', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitee5a0911063acb96d1226287cb4e6d49', 'loadClassLoader')); $vendorDir = dirname(__DIR__); $baseDir = dirname(dirname($vendorDir)); @@ -32,7 +32,7 @@ public static function getLoader() $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { - $loader->set($namespace, $path); + $loader->add($namespace, $path); } $classMap = require __DIR__ . '/autoload_classmap.php'; @@ -43,6 +43,7 @@ public static function getLoader() $loader->register(true); require $vendorDir . '/kriswallsmith/assetic/src/functions.php'; + require $baseDir . '/core/lib/Drupal.php'; return $loader; } diff --git a/core/vendor/composer/include_paths.php b/core/vendor/composer/include_paths.php index 66f7098..989402a 100644 --- a/core/vendor/composer/include_paths.php +++ b/core/vendor/composer/include_paths.php @@ -6,10 +6,10 @@ $baseDir = dirname(dirname($vendorDir)); return array( + $vendorDir . '/phpunit/php-token-stream', $vendorDir . '/phpunit/php-text-template', $vendorDir . '/phpunit/phpunit-mock-objects', $vendorDir . '/phpunit/php-timer', - $vendorDir . '/phpunit/php-token-stream', $vendorDir . '/phpunit/php-file-iterator', $vendorDir . '/phpunit/php-code-coverage', $vendorDir . '/phpunit/phpunit', diff --git a/core/vendor/composer/installed.json b/core/vendor/composer/installed.json index 322247d..c45fc03 100644 --- a/core/vendor/composer/installed.json +++ b/core/vendor/composer/installed.json @@ -127,28 +127,32 @@ ] }, { - "name": "symfony/class-loader", - "version": "v2.3.1", - "version_normalized": "2.3.1.0", - "target-dir": "Symfony/Component/ClassLoader", + "name": "symfony/event-dispatcher", + "version": "v2.3.0", + "version_normalized": "2.3.0.0", + "target-dir": "Symfony/Component/EventDispatcher", "source": { "type": "git", - "url": "https://github.com/symfony/ClassLoader.git", - "reference": "v2.3.1" + "url": "https://github.com/symfony/EventDispatcher.git", + "reference": "v2.3.0-RC1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/ClassLoader/zipball/v2.3.1", - "reference": "v2.3.1", + "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/v2.3.0-RC1", + "reference": "v2.3.0-RC1", "shasum": "" }, "require": { "php": ">=5.3.3" }, "require-dev": { - "symfony/finder": ">=2.0,<3.0" + "symfony/dependency-injection": ">=2.0,<3.0" }, - "time": "2013-05-24 17:54:44", + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "time": "2013-05-13 14:36:40", "type": "library", "extra": { "branch-alias": { @@ -158,7 +162,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\ClassLoader\\": "" + "Symfony\\Component\\EventDispatcher\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -175,101 +179,87 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony ClassLoader Component", + "description": "Symfony EventDispatcher Component", "homepage": "http://symfony.com" }, { - "name": "symfony/dependency-injection", - "version": "v2.3.1", - "version_normalized": "2.3.1.0", - "target-dir": "Symfony/Component/DependencyInjection", + "name": "guzzle/common", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Common", "source": { "type": "git", - "url": "https://github.com/symfony/DependencyInjection.git", - "reference": "v2.3.1" + "url": "git://github.com/guzzle/common.git", + "reference": "v3.1.2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/DependencyInjection/zipball/v2.3.1", - "reference": "v2.3.1", + "url": "https://github.com/guzzle/common/archive/v3.1.2.zip", + "reference": "v3.1.2", "shasum": "" }, "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/config": ">=2.2,<3.0", - "symfony/yaml": ">=2.0,<3.0" - }, - "suggest": { - "symfony/config": "", - "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", - "symfony/yaml": "" + "php": ">=5.3.2", + "symfony/event-dispatcher": ">=2.1" }, - "time": "2013-06-05 09:51:05", + "time": "2013-01-28 00:07:40", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "3.0-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\DependencyInjection\\": "" + "Guzzle\\Common": "" } }, "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 DependencyInjection Component", - "homepage": "http://symfony.com" + "description": "Common libraries used by Guzzle", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "collection", + "common", + "event", + "exception" + ] }, { - "name": "symfony/http-foundation", - "version": "v2.3.1", - "version_normalized": "2.3.1.0", - "target-dir": "Symfony/Component/HttpFoundation", + "name": "guzzle/stream", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Stream", "source": { "type": "git", - "url": "https://github.com/symfony/HttpFoundation.git", - "reference": "v2.3.1" + "url": "https://github.com/guzzle/stream", + "reference": "v3.0.7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/v2.3.1", - "reference": "v2.3.1", + "url": "https://github.com/guzzle/stream/archive/v3.0.7.zip", + "reference": "v3.0.7", "shasum": "" }, "require": { - "php": ">=5.3.3" + "guzzle/common": "self.version", + "php": ">=5.3.2" }, - "time": "2013-05-10 06:00:03", + "time": "2012-12-07 16:45:11", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "3.0-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\HttpFoundation\\": "" - }, - "classmap": [ - "Symfony/Component/HttpFoundation/Resources/stubs" - ] + "Guzzle\\Stream": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -277,104 +267,101 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" } ], - "description": "Symfony HttpFoundation Component", - "homepage": "http://symfony.com" + "description": "Guzzle stream wrapper component", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "Guzzle", + "component", + "stream" + ] }, { - "name": "symfony/serializer", - "version": "v2.3.1", - "version_normalized": "2.3.1.0", - "target-dir": "Symfony/Component/Serializer", + "name": "guzzle/parser", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Parser", "source": { "type": "git", - "url": "https://github.com/symfony/Serializer.git", - "reference": "v2.3.1" + "url": "git://github.com/guzzle/parser.git", + "reference": "v3.1.2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Serializer/zipball/v2.3.1", - "reference": "v2.3.1", + "url": "https://github.com/guzzle/parser/archive/v3.1.2.zip", + "reference": "v3.1.2", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.3.2" }, - "time": "2013-05-10 18:12:13", + "time": "2013-01-12 21:43:21", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "3.0-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Serializer\\": "" + "Guzzle\\Parser": "" } }, "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 Serializer Component", - "homepage": "http://symfony.com" + "description": "Interchangeable parsers used by Guzzle", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "URI Template", + "cookie", + "http", + "message", + "url" + ] }, { - "name": "symfony/translation", - "version": "v2.3.0", - "version_normalized": "2.3.0.0", - "target-dir": "Symfony/Component/Translation", + "name": "guzzle/http", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Http", "source": { "type": "git", - "url": "https://github.com/symfony/Translation.git", - "reference": "v2.3.0-RC1" + "url": "git://github.com/guzzle/http.git", + "reference": "v3.1.2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Translation/zipball/v2.3.0-RC1", - "reference": "v2.3.0-RC1", + "url": "https://github.com/guzzle/http/archive/v3.1.2.zip", + "reference": "v3.1.2", "shasum": "" }, "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/config": ">=2.0,<3.0", - "symfony/yaml": ">=2.2,<3.0" + "guzzle/common": "self.version", + "guzzle/parser": "self.version", + "guzzle/stream": "self.version", + "php": ">=5.3.2" }, "suggest": { - "symfony/config": "", - "symfony/yaml": "" + "ext-curl": "*" }, - "time": "2013-05-13 14:36:40", + "time": "2013-01-26 08:20:43", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "3.0-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Translation\\": "" + "Guzzle\\Http": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -383,38 +370,51 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" } ], - "description": "Symfony Translation Component", - "homepage": "http://symfony.com" + "description": "HTTP libraries used by Guzzle", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "Guzzle", + "client", + "curl", + "http", + "http client" + ] }, { - "name": "psr/log", - "version": "1.0.0", - "version_normalized": "1.0.0.0", + "name": "symfony/process", + "version": "v2.3.1", + "version_normalized": "2.3.1.0", + "target-dir": "Symfony/Component/Process", "source": { "type": "git", - "url": "https://github.com/php-fig/log", - "reference": "1.0.0" + "url": "https://github.com/symfony/Process.git", + "reference": "v2.3.1" }, "dist": { "type": "zip", - "url": "https://github.com/php-fig/log/archive/1.0.0.zip", - "reference": "1.0.0", + "url": "https://api.github.com/repos/symfony/Process/zipball/v2.3.1", + "reference": "v2.3.1", "shasum": "" }, - "time": "2012-12-21 11:40:51", + "require": { + "php": ">=5.3.3" + }, + "time": "2013-05-06 20:03:44", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, "installation-source": "dist", "autoload": { "psr-0": { - "Psr\\Log\\": "" + "Symfony\\Component\\Process\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -423,158 +423,157 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Common interface for logging libraries", - "keywords": [ - "log", - "psr", - "psr-3" - ] + "description": "Symfony Process Component", + "homepage": "http://symfony.com" }, { - "name": "twig/twig", - "version": "v1.12.3", - "version_normalized": "1.12.3.0", + "name": "kriswallsmith/assetic", + "version": "v1.1.1", + "version_normalized": "1.1.1.0", "source": { "type": "git", - "url": "https://github.com/fabpot/Twig.git", - "reference": "v1.12.3" + "url": "https://github.com/kriswallsmith/assetic.git", + "reference": "v1.1.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fabpot/Twig/zipball/v1.12.3", - "reference": "v1.12.3", + "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.1", + "reference": "v1.1.1", "shasum": "" }, "require": { - "php": ">=5.2.4" + "php": ">=5.3.1", + "symfony/process": ">=2.1,<3.0" }, - "time": "2013-04-08 12:40:11", + "require-dev": { + "cssmin/cssmin": "*", + "joliclic/javascript-packer": "*", + "kamicane/packager": "*", + "leafo/lessphp": "*", + "leafo/scssphp": "*", + "leafo/scssphp-compass": "*", + "mrclay/minify": "*", + "phpunit/phpunit": ">=3.7,<4.0", + "ptachoire/cssembed": "*", + "twig/twig": ">=1.6,<2.0" + }, + "suggest": { + "leafo/lessphp": "Assetic provides the integration with the lessphp LESS compiler", + "leafo/scssphp": "Assetic provides the integration with the scssphp SCSS compiler", + "leafo/scssphp-compass": "Assetic provides the integration with the SCSS compass plugin", + "ptachoire/cssembed": "Assetic provides the integration with phpcssembed to embed data uris", + "twig/twig": "Assetic provides the integration with the Twig templating engine" + }, + "time": "2013-06-01 22:13:43", "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.1-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Twig_": "lib/" - } + "Assetic": "src/" + }, + "files": [ + "src/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3" + "MIT" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Armin Ronacher", - "email": "armin.ronacher@active-4.com" + "name": "Kris Wallsmith", + "email": "kris.wallsmith@gmail.com", + "homepage": "http://kriswallsmith.net/" } ], - "description": "Twig, the flexible, fast, and secure template language for PHP", - "homepage": "http://twig.sensiolabs.org", + "description": "Asset Management for PHP", + "homepage": "https://github.com/kriswallsmith/assetic", "keywords": [ - "templating" + "assets", + "compression", + "minification" ] }, { - "name": "symfony/validator", - "version": "v2.3.1", - "version_normalized": "2.3.1.0", - "target-dir": "Symfony/Component/Validator", + "name": "phpunit/php-token-stream", + "version": "1.1.5", + "version_normalized": "1.1.5.0", "source": { "type": "git", - "url": "https://github.com/symfony/Validator.git", - "reference": "v2.3.1" + "url": "git://github.com/sebastianbergmann/php-token-stream.git", + "reference": "1.1.5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Validator/zipball/v2.3.1", - "reference": "v2.3.1", + "url": "https://github.com/sebastianbergmann/php-token-stream/zipball/1.1.5", + "reference": "1.1.5", "shasum": "" }, "require": { - "php": ">=5.3.3", - "symfony/translation": ">=2.0,<3.0" - }, - "require-dev": { - "symfony/config": ">=2.2,<3.0", - "symfony/http-foundation": ">=2.1,<3.0", - "symfony/intl": ">=2.3,<3.0", - "symfony/yaml": ">=2.0,<3.0" - }, - "suggest": { - "doctrine/common": "", - "symfony/config": "", - "symfony/http-foundation": "", - "symfony/intl": "", - "symfony/yaml": "" + "ext-tokenizer": "*", + "php": ">=5.3.3" }, - "time": "2013-06-10 16:23:25", + "time": "2012-10-11 04:47:14", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, "installation-source": "dist", "autoload": { - "psr-0": { - "Symfony\\Component\\Validator\\": "" - } + "classmap": [ + "PHP/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } ], - "description": "Symfony Validator Component", - "homepage": "http://symfony.com" + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "http://www.phpunit.de/", + "keywords": [ + "tokenizer" + ] }, { - "name": "symfony/event-dispatcher", - "version": "v2.3.0", - "version_normalized": "2.3.0.0", - "target-dir": "Symfony/Component/EventDispatcher", + "name": "symfony/yaml", + "version": "v2.3.1", + "version_normalized": "2.3.1.0", + "target-dir": "Symfony/Component/Yaml", "source": { "type": "git", - "url": "https://github.com/symfony/EventDispatcher.git", - "reference": "v2.3.0-RC1" + "url": "https://github.com/symfony/Yaml.git", + "reference": "v2.3.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/v2.3.0-RC1", - "reference": "v2.3.0-RC1", + "url": "https://api.github.com/repos/symfony/Yaml/zipball/v2.3.1", + "reference": "v2.3.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "require-dev": { - "symfony/dependency-injection": ">=2.0,<3.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "time": "2013-05-13 14:36:40", + "time": "2013-05-10 18:12:13", "type": "library", "extra": { "branch-alias": { @@ -584,7 +583,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\EventDispatcher\\": "" + "Symfony\\Component\\Yaml\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -601,232 +600,364 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony EventDispatcher Component", + "description": "Symfony Yaml Component", "homepage": "http://symfony.com" }, { - "name": "guzzle/common", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Common", + "name": "phpunit/php-text-template", + "version": "1.1.4", + "version_normalized": "1.1.4.0", "source": { "type": "git", - "url": "git://github.com/guzzle/common.git", - "reference": "v3.1.2" + "url": "git://github.com/sebastianbergmann/php-text-template.git", + "reference": "1.1.4" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/common/archive/v3.1.2.zip", - "reference": "v3.1.2", + "url": "https://github.com/sebastianbergmann/php-text-template/zipball/1.1.4", + "reference": "1.1.4", "shasum": "" }, "require": { - "php": ">=5.3.2", - "symfony/event-dispatcher": ">=2.1" + "php": ">=5.3.3" }, - "time": "2013-01-28 00:07:40", + "time": "2012-10-31 11:15:28", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, "installation-source": "dist", "autoload": { - "psr-0": { - "Guzzle\\Common": "" - } + "classmap": [ + "Text/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "Common libraries used by Guzzle", - "homepage": "http://guzzlephp.org/", + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", "keywords": [ - "collection", - "common", - "event", - "exception" + "template" ] }, { - "name": "guzzle/stream", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Stream", + "name": "phpunit/phpunit-mock-objects", + "version": "1.2.3", + "version_normalized": "1.2.3.0", "source": { "type": "git", - "url": "https://github.com/guzzle/stream", - "reference": "v3.0.7" + "url": "git://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "1.2.3" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/stream/archive/v3.0.7.zip", - "reference": "v3.0.7", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects/archive/1.2.3.zip", + "reference": "1.2.3", "shasum": "" }, "require": { - "guzzle/common": "self.version", - "php": ">=5.3.2" + "php": ">=5.3.3", + "phpunit/php-text-template": ">=1.1.1@stable" }, - "time": "2012-12-07 16:45:11", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } + "suggest": { + "ext-soap": "*" }, + "time": "2013-01-13 10:24:48", + "type": "library", "installation-source": "dist", "autoload": { - "psr-0": { - "Guzzle\\Stream": "" - } + "classmap": [ + "PHPUnit/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } ], - "description": "Guzzle stream wrapper component", - "homepage": "http://guzzlephp.org/", + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", "keywords": [ - "Guzzle", - "component", - "stream" + "mock", + "xunit" ] }, { - "name": "guzzle/parser", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Parser", + "name": "phpunit/php-timer", + "version": "1.0.4", + "version_normalized": "1.0.4.0", "source": { "type": "git", - "url": "git://github.com/guzzle/parser.git", - "reference": "v3.1.2" + "url": "git://github.com/sebastianbergmann/php-timer.git", + "reference": "1.0.4" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/parser/archive/v3.1.2.zip", - "reference": "v3.1.2", + "url": "https://github.com/sebastianbergmann/php-timer/zipball/1.0.4", + "reference": "1.0.4", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": ">=5.3.3" }, - "time": "2013-01-12 21:43:21", + "time": "2012-10-11 04:45:58", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" + "installation-source": "dist", + "autoload": { + "classmap": [ + "PHP/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } + ], + "description": "Utility class for timing", + "homepage": "http://www.phpunit.de/", + "keywords": [ + "timer" + ] + }, + { + "name": "phpunit/php-file-iterator", + "version": "1.3.3", + "version_normalized": "1.3.3.0", + "source": { + "type": "git", + "url": "git://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "1.3.3" + }, + "dist": { + "type": "zip", + "url": "https://github.com/sebastianbergmann/php-file-iterator/zipball/1.3.3", + "reference": "1.3.3", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" }, + "time": "2012-10-11 04:44:38", + "type": "library", "installation-source": "dist", "autoload": { - "psr-0": { - "Guzzle\\Parser": "" + "classmap": [ + "File/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "http://www.phpunit.de/", + "keywords": [ + "filesystem", + "iterator" + ] + }, + { + "name": "phpunit/php-code-coverage", + "version": "1.2.11", + "version_normalized": "1.2.11.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "1.2.11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1.2.11", + "reference": "1.2.11", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "phpunit/php-file-iterator": ">=1.3.0@stable", + "phpunit/php-text-template": ">=1.1.1@stable", + "phpunit/php-token-stream": ">=1.1.3@stable" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*" + }, + "suggest": { + "ext-dom": "*", + "ext-xdebug": ">=2.0.5" + }, + "time": "2013-05-23 18:23:24", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "PHP/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "Interchangeable parsers used by Guzzle", - "homepage": "http://guzzlephp.org/", + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", "keywords": [ - "URI Template", - "cookie", - "http", - "message", - "url" + "coverage", + "testing", + "xunit" ] }, { - "name": "guzzle/http", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Http", + "name": "phpunit/phpunit", + "version": "3.7.21", + "version_normalized": "3.7.21.0", "source": { "type": "git", - "url": "git://github.com/guzzle/http.git", - "reference": "v3.1.2" + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "3.7.21" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/http/archive/v3.1.2.zip", - "reference": "v3.1.2", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3.7.21", + "reference": "3.7.21", "shasum": "" }, "require": { - "guzzle/common": "self.version", - "guzzle/parser": "self.version", - "guzzle/stream": "self.version", - "php": ">=5.3.2" + "ext-dom": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=5.3.3", + "phpunit/php-code-coverage": ">=1.2.1,<1.3.0", + "phpunit/php-file-iterator": ">=1.3.1", + "phpunit/php-text-template": ">=1.1.1", + "phpunit/php-timer": ">=1.0.2,<1.1.0", + "phpunit/phpunit-mock-objects": ">=1.2.0,<1.3.0", + "symfony/yaml": ">=2.0,<3.0" + }, + "require-dev": { + "pear-pear/pear": "1.9.4" }, "suggest": { - "ext-curl": "*" + "ext-json": "*", + "ext-simplexml": "*", + "ext-tokenizer": "*", + "phpunit/php-invoker": ">=1.1.0,<1.2.0" }, - "time": "2013-01-26 08:20:43", + "time": "2013-05-23 18:54:29", + "bin": [ + "composer/bin/phpunit" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.7.x-dev" } }, "installation-source": "dist", "autoload": { - "psr-0": { - "Guzzle\\Http": "" - } + "classmap": [ + "PHPUnit/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "", + "../../symfony/yaml/" + ], "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "HTTP libraries used by Guzzle", - "homepage": "http://guzzlephp.org/", + "description": "The PHP Unit Testing framework.", + "homepage": "http://www.phpunit.de/", "keywords": [ - "Guzzle", - "client", - "curl", - "http", - "http client" + "phpunit", + "testing", + "xunit" ] }, { - "name": "symfony/process", - "version": "v2.3.1", - "version_normalized": "2.3.1.0", - "target-dir": "Symfony/Component/Process", + "name": "symfony/routing", + "version": "v2.3.0", + "version_normalized": "2.3.0.0", + "target-dir": "Symfony/Component/Routing", "source": { "type": "git", - "url": "https://github.com/symfony/Process.git", - "reference": "v2.3.1" + "url": "https://github.com/symfony/Routing.git", + "reference": "v2.3.0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Process/zipball/v2.3.1", - "reference": "v2.3.1", + "url": "https://api.github.com/repos/symfony/Routing/zipball/v2.3.0", + "reference": "v2.3.0", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2013-05-06 20:03:44", + "require-dev": { + "doctrine/common": ">=2.2,<3.0", + "psr/log": ">=1.0,<2.0", + "symfony/config": ">=2.2,<3.0", + "symfony/yaml": ">=2.0,<3.0" + }, + "suggest": { + "doctrine/common": "", + "symfony/config": "", + "symfony/yaml": "" + }, + "time": "2013-05-20 08:57:26", "type": "library", "extra": { "branch-alias": { @@ -836,7 +967,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Process\\": "" + "Symfony\\Component\\Routing\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -853,61 +984,42 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony Process Component", + "description": "Symfony Routing Component", "homepage": "http://symfony.com" }, { - "name": "kriswallsmith/assetic", - "version": "v1.1.1", - "version_normalized": "1.1.1.0", + "name": "symfony/http-foundation", + "version": "v2.3.1", + "version_normalized": "2.3.1.0", + "target-dir": "Symfony/Component/HttpFoundation", "source": { "type": "git", - "url": "https://github.com/kriswallsmith/assetic.git", - "reference": "v1.1.1" + "url": "https://github.com/symfony/HttpFoundation.git", + "reference": "v2.3.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.1", - "reference": "v1.1.1", + "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/v2.3.1", + "reference": "v2.3.1", "shasum": "" }, "require": { - "php": ">=5.3.1", - "symfony/process": ">=2.1,<3.0" - }, - "require-dev": { - "cssmin/cssmin": "*", - "joliclic/javascript-packer": "*", - "kamicane/packager": "*", - "leafo/lessphp": "*", - "leafo/scssphp": "*", - "leafo/scssphp-compass": "*", - "mrclay/minify": "*", - "phpunit/phpunit": ">=3.7,<4.0", - "ptachoire/cssembed": "*", - "twig/twig": ">=1.6,<2.0" - }, - "suggest": { - "leafo/lessphp": "Assetic provides the integration with the lessphp LESS compiler", - "leafo/scssphp": "Assetic provides the integration with the scssphp SCSS compiler", - "leafo/scssphp-compass": "Assetic provides the integration with the SCSS compass plugin", - "ptachoire/cssembed": "Assetic provides the integration with phpcssembed to embed data uris", - "twig/twig": "Assetic provides the integration with the Twig templating engine" + "php": ">=5.3.3" }, - "time": "2013-06-01 22:13:43", + "time": "2013-05-10 06:00:03", "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "2.3-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Assetic": "src/" + "Symfony\\Component\\HttpFoundation\\": "" }, - "files": [ - "src/functions.php" + "classmap": [ + "Symfony/Component/HttpFoundation/Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -916,18 +1028,16 @@ ], "authors": [ { - "name": "Kris Wallsmith", - "email": "kris.wallsmith@gmail.com", - "homepage": "http://kriswallsmith.net/" - } - ], - "description": "Asset Management for PHP", - "homepage": "https://github.com/kriswallsmith/assetic", - "keywords": [ - "assets", - "compression", - "minification" - ] + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + } + ], + "description": "Symfony HttpFoundation Component", + "homepage": "http://symfony.com" }, { "name": "symfony/debug", @@ -988,6 +1098,46 @@ "homepage": "http://symfony.com" }, { + "name": "psr/log", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log", + "reference": "1.0.0" + }, + "dist": { + "type": "zip", + "url": "https://github.com/php-fig/log/archive/1.0.0.zip", + "reference": "1.0.0", + "shasum": "" + }, + "time": "2012-12-21 11:40:51", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "Psr\\Log\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "keywords": [ + "log", + "psr", + "psr-3" + ] + }, + { "name": "symfony/http-kernel", "version": "v2.3.0", "version_normalized": "2.3.0.0", @@ -1060,66 +1210,6 @@ "homepage": "http://symfony.com" }, { - "name": "symfony/routing", - "version": "v2.3.0", - "version_normalized": "2.3.0.0", - "target-dir": "Symfony/Component/Routing", - "source": { - "type": "git", - "url": "https://github.com/symfony/Routing.git", - "reference": "v2.3.0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Routing/zipball/v2.3.0", - "reference": "v2.3.0", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "doctrine/common": ">=2.2,<3.0", - "psr/log": ">=1.0,<2.0", - "symfony/config": ">=2.2,<3.0", - "symfony/yaml": ">=2.0,<3.0" - }, - "suggest": { - "doctrine/common": "", - "symfony/config": "", - "symfony/yaml": "" - }, - "time": "2013-05-20 08:57:26", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Routing\\": "" - } - }, - "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 Routing Component", - "homepage": "http://symfony.com" - }, - { "name": "symfony-cmf/routing", "version": "1.1.0-beta1", "version_normalized": "1.1.0.0-beta1", @@ -1175,25 +1265,28 @@ ] }, { - "name": "symfony/yaml", + "name": "symfony/class-loader", "version": "v2.3.1", "version_normalized": "2.3.1.0", - "target-dir": "Symfony/Component/Yaml", + "target-dir": "Symfony/Component/ClassLoader", "source": { "type": "git", - "url": "https://github.com/symfony/Yaml.git", + "url": "https://github.com/symfony/ClassLoader.git", "reference": "v2.3.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Yaml/zipball/v2.3.1", + "url": "https://api.github.com/repos/symfony/ClassLoader/zipball/v2.3.1", "reference": "v2.3.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2013-05-10 18:12:13", + "require-dev": { + "symfony/finder": ">=2.0,<3.0" + }, + "time": "2013-05-24 17:54:44", "type": "library", "extra": { "branch-alias": { @@ -1203,7 +1296,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Yaml\\": "" + "Symfony\\Component\\ClassLoader\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -1220,378 +1313,285 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony Yaml Component", + "description": "Symfony ClassLoader Component", "homepage": "http://symfony.com" }, { - "name": "phpunit/php-text-template", - "version": "1.1.4", - "version_normalized": "1.1.4.0", + "name": "symfony/dependency-injection", + "version": "v2.3.1", + "version_normalized": "2.3.1.0", + "target-dir": "Symfony/Component/DependencyInjection", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/php-text-template.git", - "reference": "1.1.4" + "url": "https://github.com/symfony/DependencyInjection.git", + "reference": "v2.3.1" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/php-text-template/zipball/1.1.4", - "reference": "1.1.4", + "url": "https://api.github.com/repos/symfony/DependencyInjection/zipball/v2.3.1", + "reference": "v2.3.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2012-10-31 11:15:28", - "type": "library", - "installation-source": "dist", - "autoload": { - "classmap": [ - "Text/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ] - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "1.2.3", - "version_normalized": "1.2.3.0", - "source": { - "type": "git", - "url": "git://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "1.2.3" - }, - "dist": { - "type": "zip", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects/archive/1.2.3.zip", - "reference": "1.2.3", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "phpunit/php-text-template": ">=1.1.1@stable" + "require-dev": { + "symfony/config": ">=2.2,<3.0", + "symfony/yaml": ">=2.0,<3.0" }, "suggest": { - "ext-soap": "*" + "symfony/config": "", + "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", + "symfony/yaml": "" }, - "time": "2013-01-13 10:24:48", + "time": "2013-06-05 09:51:05", "type": "library", - "installation-source": "dist", - "autoload": { - "classmap": [ - "PHPUnit/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ] - }, - { - "name": "phpunit/php-timer", - "version": "1.0.4", - "version_normalized": "1.0.4.0", - "source": { - "type": "git", - "url": "git://github.com/sebastianbergmann/php-timer.git", - "reference": "1.0.4" - }, - "dist": { - "type": "zip", - "url": "https://github.com/sebastianbergmann/php-timer/zipball/1.0.4", - "reference": "1.0.4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" }, - "time": "2012-10-11 04:45:58", - "type": "library", "installation-source": "dist", "autoload": { - "classmap": [ - "PHP/" - ] + "psr-0": { + "Symfony\\Component\\DependencyInjection\\": "" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Utility class for timing", - "homepage": "http://www.phpunit.de/", - "keywords": [ - "timer" - ] + "description": "Symfony DependencyInjection Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/php-token-stream", - "version": "1.1.5", - "version_normalized": "1.1.5.0", + "name": "symfony/serializer", + "version": "v2.3.1", + "version_normalized": "2.3.1.0", + "target-dir": "Symfony/Component/Serializer", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/php-token-stream.git", - "reference": "1.1.5" + "url": "https://github.com/symfony/Serializer.git", + "reference": "v2.3.1" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/php-token-stream/zipball/1.1.5", - "reference": "1.1.5", + "url": "https://api.github.com/repos/symfony/Serializer/zipball/v2.3.1", + "reference": "v2.3.1", "shasum": "" }, "require": { - "ext-tokenizer": "*", "php": ">=5.3.3" }, - "time": "2012-10-11 04:47:14", + "time": "2013-05-10 18:12:13", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "PHP/" - ] + "psr-0": { + "Symfony\\Component\\Serializer\\": "" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "http://www.phpunit.de/", - "keywords": [ - "tokenizer" - ] + "description": "Symfony Serializer Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/php-file-iterator", - "version": "1.3.3", - "version_normalized": "1.3.3.0", + "name": "symfony/translation", + "version": "v2.3.0", + "version_normalized": "2.3.0.0", + "target-dir": "Symfony/Component/Translation", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "1.3.3" + "url": "https://github.com/symfony/Translation.git", + "reference": "v2.3.0-RC1" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/php-file-iterator/zipball/1.3.3", - "reference": "1.3.3", + "url": "https://api.github.com/repos/symfony/Translation/zipball/v2.3.0-RC1", + "reference": "v2.3.0-RC1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2012-10-11 04:44:38", + "require-dev": { + "symfony/config": ">=2.0,<3.0", + "symfony/yaml": ">=2.2,<3.0" + }, + "suggest": { + "symfony/config": "", + "symfony/yaml": "" + }, + "time": "2013-05-13 14:36:40", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "File/" - ] + "psr-0": { + "Symfony\\Component\\Translation\\": "" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "http://www.phpunit.de/", - "keywords": [ - "filesystem", - "iterator" - ] + "description": "Symfony Translation Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/php-code-coverage", - "version": "1.2.11", - "version_normalized": "1.2.11.0", + "name": "symfony/validator", + "version": "v2.3.1", + "version_normalized": "2.3.1.0", + "target-dir": "Symfony/Component/Validator", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "1.2.11" + "url": "https://github.com/symfony/Validator.git", + "reference": "v2.3.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1.2.11", - "reference": "1.2.11", + "url": "https://api.github.com/repos/symfony/Validator/zipball/v2.3.1", + "reference": "v2.3.1", "shasum": "" }, "require": { "php": ">=5.3.3", - "phpunit/php-file-iterator": ">=1.3.0@stable", - "phpunit/php-text-template": ">=1.1.1@stable", - "phpunit/php-token-stream": ">=1.1.3@stable" + "symfony/translation": ">=2.0,<3.0" }, "require-dev": { - "phpunit/phpunit": "3.7.*" + "symfony/config": ">=2.2,<3.0", + "symfony/http-foundation": ">=2.1,<3.0", + "symfony/intl": ">=2.3,<3.0", + "symfony/yaml": ">=2.0,<3.0" }, "suggest": { - "ext-dom": "*", - "ext-xdebug": ">=2.0.5" + "doctrine/common": "", + "symfony/config": "", + "symfony/http-foundation": "", + "symfony/intl": "", + "symfony/yaml": "" }, - "time": "2013-05-23 18:23:24", + "time": "2013-06-10 16:23:25", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "PHP/" - ] + "psr-0": { + "Symfony\\Component\\Validator\\": "" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ] + "description": "Symfony Validator Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/phpunit", - "version": "3.7.21", - "version_normalized": "3.7.21.0", + "name": "twig/twig", + "version": "v1.12.3", + "version_normalized": "1.12.3.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3.7.21" + "url": "https://github.com/fabpot/Twig.git", + "reference": "v1.12.3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3.7.21", - "reference": "3.7.21", + "url": "https://api.github.com/repos/fabpot/Twig/zipball/v1.12.3", + "reference": "v1.12.3", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=5.3.3", - "phpunit/php-code-coverage": ">=1.2.1,<1.3.0", - "phpunit/php-file-iterator": ">=1.3.1", - "phpunit/php-text-template": ">=1.1.1", - "phpunit/php-timer": ">=1.0.2,<1.1.0", - "phpunit/phpunit-mock-objects": ">=1.2.0,<1.3.0", - "symfony/yaml": ">=2.0,<3.0" - }, - "require-dev": { - "pear-pear/pear": "1.9.4" - }, - "suggest": { - "ext-json": "*", - "ext-simplexml": "*", - "ext-tokenizer": "*", - "phpunit/php-invoker": ">=1.1.0,<1.2.0" + "php": ">=5.2.4" }, - "time": "2013-05-23 18:54:29", - "bin": [ - "composer/bin/phpunit" - ], + "time": "2013-04-08 12:40:11", "type": "library", "extra": { "branch-alias": { - "dev-master": "3.7.x-dev" + "dev-master": "1.12-dev" } }, "installation-source": "dist", "autoload": { - "classmap": [ - "PHPUnit/" - ] + "psr-0": { + "Twig_": "lib/" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "", - "../../symfony/yaml/" - ], "license": [ - "BSD-3-Clause" + "BSD-3" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Armin Ronacher", + "email": "armin.ronacher@active-4.com" } ], - "description": "The PHP Unit Testing framework.", - "homepage": "http://www.phpunit.de/", + "description": "Twig, the flexible, fast, and secure template language for PHP", + "homepage": "http://twig.sensiolabs.org", "keywords": [ - "phpunit", - "testing", - "xunit" + "templating" ] }, { diff --git a/index.php b/index.php index 4934bd2..dbd7415 100644 --- a/index.php +++ b/index.php @@ -8,9 +8,10 @@ * See COPYRIGHT.txt and LICENSE.txt files in the "core" directory. */ -require_once __DIR__ . '/core/includes/bootstrap.inc'; +require_once __DIR__ . '/core/vendor/autoload.php'; + try { - drupal_handle_request(); + Drupal::handleRequest(); } catch (Exception $e) { print 'If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild'; diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php index fe16cfc..f58c6ac 100644 --- a/sites/default/default.settings.php +++ b/sites/default/default.settings.php @@ -409,20 +409,6 @@ # $settings['omit_vary_cookie'] = TRUE; /** - * Class Loader. - * - * By default, Drupal uses the Symfony UniversalClassLoader which is best for - * development, as it does not break when code is moved on the file system. - * The APC classloader provides better performance and is recommended for - * production sites. - * - * Examples: - * $class_loader = 'apc' - * $class_loader = 'default' - */ -# $settings['class_loader'] = 'apc'; - -/** * Authorized file system operations: * * The Update Manager module included with Drupal provides a mechanism for