Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
fix(IDNAConvert): review adding vendor folder to archives
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSchwarz-cnic committed Oct 19, 2018
1 parent f62ec7c commit 7a2a432
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ FOLDER := pkg/whmcs-ispapi-backorder-$(ISPAPI_BACKORDER_MODULE_VERSION)

clean:
rm -rf $(FOLDER)
composer install

buildsources:
composer install --no-dev
mkdir -p $(FOLDER)/install/modules/addons/ispapibackorder
cp *.md HISTORY.old LICENSE *.pdf $(FOLDER)
cp *.php $(FOLDER)/install/modules/addons/ispapibackorder
cp -a api backend controller crons lang templates $(FOLDER)/install/modules/addons/ispapibackorder
mkdir $(FOLDER)/install/modules/addons/ispapibackorder/vendor
cp -a vendor/mso $(FOLDER)/install/modules/addons/ispapibackorder/vendor
cp -a api backend controller crons lang templates vendor $(FOLDER)/install/modules/addons/ispapibackorder
find $(FOLDER)/install -name "*~" | xargs rm -f
find $(FOLDER)/install -name "*.bak" | xargs rm -f
rm -f $(FOLDER)/install/modules/addons/ispapibackorder/crons/batch_test.php
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit3fe0deb2d6f126c09e6e43a1e54ddf43::getLoader();
return ComposerAutoloaderInitfee3c22d76b52a664ea7e2f252923419::getLoader();
2 changes: 1 addition & 1 deletion vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$baseDir = dirname($vendorDir);

return array(
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/reflection-docblock/src', $vendorDir . '/phpdocumentor/type-resolver/src'),
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/type-resolver/src', $vendorDir . '/phpdocumentor/reflection-docblock/src'),
'Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'),
'Mso\\IdnaConvert\\' => array($vendorDir . '/mso/idna-convert/src'),
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit3fe0deb2d6f126c09e6e43a1e54ddf43
class ComposerAutoloaderInitfee3c22d76b52a664ea7e2f252923419
{
private static $loader;

Expand All @@ -19,15 +19,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit3fe0deb2d6f126c09e6e43a1e54ddf43', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitfee3c22d76b52a664ea7e2f252923419', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit3fe0deb2d6f126c09e6e43a1e54ddf43', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitfee3c22d76b52a664ea7e2f252923419', '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';

call_user_func(\Composer\Autoload\ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitfee3c22d76b52a664ea7e2f252923419::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
Expand All @@ -48,19 +48,19 @@ public static function getLoader()
$loader->register(true);

if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43::$files;
$includeFiles = Composer\Autoload\ComposerStaticInitfee3c22d76b52a664ea7e2f252923419::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire3fe0deb2d6f126c09e6e43a1e54ddf43($fileIdentifier, $file);
composerRequirefee3c22d76b52a664ea7e2f252923419($fileIdentifier, $file);
}

return $loader;
}
}

function composerRequire3fe0deb2d6f126c09e6e43a1e54ddf43($fileIdentifier, $file)
function composerRequirefee3c22d76b52a664ea7e2f252923419($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43
class ComposerStaticInitfee3c22d76b52a664ea7e2f252923419
{
public static $files = array (
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
Expand Down Expand Up @@ -34,8 +34,8 @@ class ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43
'phpDocumentor\\Reflection\\' =>
array (
0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src',
1 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src',
2 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src',
1 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src',
2 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src',
),
'Webmozart\\Assert\\' =>
array (
Expand Down Expand Up @@ -613,10 +613,10 @@ class ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43::$prefixesPsr0;
$loader->classMap = ComposerStaticInit3fe0deb2d6f126c09e6e43a1e54ddf43::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitfee3c22d76b52a664ea7e2f252923419::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitfee3c22d76b52a664ea7e2f252923419::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInitfee3c22d76b52a664ea7e2f252923419::$prefixesPsr0;
$loader->classMap = ComposerStaticInitfee3c22d76b52a664ea7e2f252923419::$classMap;

}, null, ClassLoader::class);
}
Expand Down
Binary file modified whmcs-ispapi-backorder-latest.zip
Binary file not shown.

0 comments on commit 7a2a432

Please sign in to comment.