Skip to content

Commit

Permalink
Update composer.json
Browse files Browse the repository at this point in the history
- use latest HTMLPurifier
- fix uppercase chars in pronouncableword package name
  • Loading branch information
abyssox committed Dec 5, 2020
1 parent f58687e commit 65495e4
Show file tree
Hide file tree
Showing 111 changed files with 2,596 additions and 10,302 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"require": {
"php-imap/php-imap": "*",
"php": "^7.2",
"gnugat/PronounceableWord": "*",
"ezyang/htmlpurifier": "^4.9",
"gnugat/pronounceableword": "*",
"ezyang/htmlpurifier": "*",
"fightbulc/moment": "*"
},
"config": {
Expand Down
48 changes: 26 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/vendor/composer/ClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
*
* @author Fabien Potencier <[email protected]>
* @author Jordi Boggiano <[email protected]>
* @see http://www.php-fig.org/psr/psr-0/
* @see http://www.php-fig.org/psr/psr-4/
* @see https://www.php-fig.org/psr/psr-0/
* @see https://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
Expand All @@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
}

return array();
Expand Down
1 change: 1 addition & 0 deletions src/vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
$baseDir = dirname(dirname($vendorDir));

return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
);
7 changes: 6 additions & 1 deletion src/vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ public static function loadClassLoader($class)
}
}

/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInitaa0b39385f5e64ad4c25b54d37853f67', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitaa0b39385f5e64ad4c25b54d37853f67', 'loadClassLoader'));

$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
require __DIR__ . '/autoload_static.php';

call_user_func(\Composer\Autoload\ComposerStaticInitaa0b39385f5e64ad4c25b54d37853f67::getInitializer($loader));
} else {
Expand Down
5 changes: 5 additions & 0 deletions src/vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,17 @@ class ComposerStaticInitaa0b39385f5e64ad4c25b54d37853f67
),
);

public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
);

public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitaa0b39385f5e64ad4c25b54d37853f67::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitaa0b39385f5e64ad4c25b54d37853f67::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInitaa0b39385f5e64ad4c25b54d37853f67::$prefixesPsr0;
$loader->classMap = ComposerStaticInitaa0b39385f5e64ad4c25b54d37853f67::$classMap;

}, null, ClassLoader::class);
}
Expand Down
Loading

0 comments on commit 65495e4

Please sign in to comment.