"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "matomo/vendor/composer/autoload_real.php" between
matomo-4.1.2-rc2.tar.gz and matomo-4.2.0.tar.gz

About: Matomo is a web analytics platform that aims to be an open source alternative to Google Analytics that let you retain ownership and control over your data (formerly Piwik).

autoload_real.php  (matomo-4.1.2-rc2):autoload_real.php  (matomo-4.2.0)
<?php <?php
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit9c3f4176e3c5fc035c762d82d1256579 class ComposerAutoloaderInitd31bd187fefd1fa64f4abce429657d5b
{ {
private static $loader; private static $loader;
public static function loadClassLoader($class) public static function loadClassLoader($class)
{ {
if ('Composer\Autoload\ClassLoader' === $class) { if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php'; require __DIR__ . '/ClassLoader.php';
} }
} }
/** /**
* @return \Composer\Autoload\ClassLoader * @return \Composer\Autoload\ClassLoader
*/ */
public static function getLoader() public static function getLoader()
{ {
if (null !== self::$loader) { if (null !== self::$loader) {
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInit9c3f4176e3c5fc035c762 d82d1256579', 'loadClassLoader'), true, false); spl_autoload_register(array('ComposerAutoloaderInitd31bd187fefd1fa64f4ab ce429657d5b', 'loadClassLoader'), true, false);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\d irname(__FILE__))); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\d irname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit9c3f4176e3c5fc035c7 62d82d1256579', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInitd31bd187fefd1fa64f4 abce429657d5b', 'loadClassLoader'));
$includePaths = require __DIR__ . '/include_paths.php'; $includePaths = require __DIR__ . '/include_paths.php';
$includePaths[] = get_include_path(); $includePaths[] = get_include_path();
set_include_path(implode(PATH_SEPARATOR, $includePaths)); set_include_path(implode(PATH_SEPARATOR, $includePaths));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') & & (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') & & (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) { if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php'; require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit9c3f4176e3c5fc03 5c762d82d1256579::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInitd31bd187fefd1fa6 4f4abce429657d5b::getInitializer($loader));
} else { } else {
$map = require __DIR__ . '/autoload_namespaces.php'; $map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
$loader->set($namespace, $path); $loader->set($namespace, $path);
} }
$map = require __DIR__ . '/autoload_psr4.php'; $map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path); $loader->setPsr4($namespace, $path);
} }
$classMap = require __DIR__ . '/autoload_classmap.php'; $classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) { if ($classMap) {
$loader->addClassMap($classMap); $loader->addClassMap($classMap);
} }
} }
$loader->register(false); $loader->register(false);
if ($useStaticLoader) { if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit9c3f4176e3c5fc03 5c762d82d1256579::$files; $includeFiles = Composer\Autoload\ComposerStaticInitd31bd187fefd1fa6 4f4abce429657d5b::$files;
} else { } else {
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
} }
foreach ($includeFiles as $fileIdentifier => $file) { foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire9c3f4176e3c5fc035c762d82d1256579($fileIdentifier, $fi le); composerRequired31bd187fefd1fa64f4abce429657d5b($fileIdentifier, $fi le);
} }
return $loader; return $loader;
} }
} }
function composerRequire9c3f4176e3c5fc035c762d82d1256579($fileIdentifier, $file) function composerRequired31bd187fefd1fa64f4abce429657d5b($fileIdentifier, $file)
{ {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file; require $file;
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
} }
} }
 End of changes. 7 change blocks. 
7 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)