/trunk/dev/release.sh |
---|
35,34 → 35,9 |
esac |
done |
# 2. Run dev/translation/message_regenerate.phps and translate things which are missing in plugins/viathinksoft/language/dede/messages.xml (search for "TODO") |
echo "2. Checking translation..." |
while true; do |
"$DIR"/translation/message_regenerate.phps |
cat "$DIR"/../plugins/viathinksoft/language/dede/messages.xml | grep TODO > /dev/null |
if [ $? -eq 0 ]; then |
echo "Problem: There are untranslated strings! Please translate them." |
sleep 2 |
nano "$DIR"/../plugins/viathinksoft/language/dede/messages.xml |
else |
break |
fi |
done |
# 3. Run phpstan |
echo "3. Running PHPSTAN..." |
cd "$DIR"/.. && phpstan |
echo "Is PHPSTAN output OK?" |
select yn in "Yes" "No"; do |
case $yn in |
Yes ) break;; |
No ) echo "Please fix the issues and run release script again"; exit 1;; |
esac |
done |
# 4. Make sure there are no unversioned files (otherwise systemfile check will generate wrong stuff) |
# 2. Make sure there are no unversioned files (otherwise systemfile check will generate wrong stuff) |
# PLEASE MAKE SURE that the SVN/Git-Working copy has no unversioned files, otherwise they would be included in the checksum catalog |
echo "4. Checking unversioned files" |
echo "2. Checking unversioned files" |
if [ -d "$DIR"/../.svn ]; then |
cd "$DIR"/.. && svn stat | grep "^?" |
if [ $? -eq 0 ]; then |
86,6 → 61,31 |
done |
fi |
# 3. Run dev/translation/message_regenerate.phps and translate things which are missing in plugins/viathinksoft/language/dede/messages.xml (search for "TODO") |
echo "3. Checking translation..." |
while true; do |
"$DIR"/translation/message_regenerate.phps |
cat "$DIR"/../plugins/viathinksoft/language/dede/messages.xml | grep TODO > /dev/null |
if [ $? -eq 0 ]; then |
echo "Problem: There are untranslated strings! Please translate them." |
sleep 2 |
nano "$DIR"/../plugins/viathinksoft/language/dede/messages.xml |
else |
break |
fi |
done |
# 4. Run phpstan |
echo "4. Running PHPSTAN..." |
cd "$DIR"/.. && phpstan |
echo "Is PHPSTAN output OK?" |
select yn in "Yes" "No"; do |
case $yn in |
Yes ) break;; |
No ) echo "Please fix the issues and run release script again"; exit 1;; |
esac |
done |
# 5. Only if you want to start a new release: Add new entry to the top of changelog.json.php |
echo "5. Please edit changelog.json.php (add '-dev' for non-stable versions)" |
sleep 2 |
/trunk/plugins/viathinksoft/adminPages/900_software_update/private/funcs.inc.php |
---|
524,7 → 524,7 |
$outscript .= "\n"; |
$outscript .= "\n"; |
//$outscript .= "info('Update to OIDplus version $version done!');\n"; |
$outscript .= "echo 'DONE'; // This exact string will be compared in Update v\n"; |
$outscript .= "echo 'DONE'; // This exact string will be compared in Update v3\n"; |
$outscript .= "\n"; |
$outscript .= "unlink(__FILE__);\n"; |
$outscript .= "\n"; |
571,7 → 571,7 |
exec('php -l '.escapeshellarg($outfile), $out, $ec); |
if ($ec != 0) { |
fwrite(STDERR, "STOP! $outfile PHP syntax error!\n"); |
unlink($outfile); |
@unlink($outfile); |
return; |
} |
file_put_contents($outfile.'.gz', gzencode($outscript)); |
/trunk/plugins/viathinksoft/adminPages/900_software_update/private/gen_serverside_v3 |
---|
76,13 → 76,13 |
foreach (['a','b'] as $ab) { |
$tmpdir = '/tmp/oidplus_git_'.$ab; |
if (!is_dir($tmpdir)) { |
exec('git clone '.escapeshellarg(OIDplus::getEditionInfo()['gitrepo']).' '.escapeshellarg($tmpdir), $out, $ec); |
exec('git clone '.escapeshellarg(OIDplus::getEditionInfo()['gitrepo']).' '.escapeshellarg($tmpdir).' --quiet', $out, $ec); |
if ($ec != 0) { |
fwrite(STDERR, "GIT Clone failed\n"); |
exit(1); |
} |
} |
exec('cd '.escapeshellarg($tmpdir).' && git reset --hard && git checkout master && git pull', $out, $ec); |
exec('cd '.escapeshellarg($tmpdir).' && git reset --hard --quiet && git checkout master --quiet && git pull --quiet', $out, $ec); |
if ($ec != 0) { |
fwrite(STDERR, "GIT Pull failed\n"); |
exit(1); |
91,12 → 91,12 |
// Step 1: List all GIT commits and determine its OIDplus versions |
git_version_cache_file = OIDplus::localpath() . 'userdata/cache/git_version_cache.json'; |
$git_version_cache_file = OIDplus::localpath() . 'userdata/cache/git_version_cache.json'; |
$git_version_cache = file_exists($git_version_cache_file) ? json_decode(file_get_contents($git_version_cache_file),true) : ["git-to-ver"=>[],"version-first-commit"=>[]]; |
$ec = -1; |
$out = array(); |
exec('cd /tmp/oidplus_git_a && git reset --hard && git checkout master && git log --reverse', $out, $ec); |
exec('cd /tmp/oidplus_git_a && git reset --hard --quiet && git checkout master --quiet && git log --reverse --quiet', $out, $ec); |
if ($ec != 0) { |
fwrite(STDERR, "GIT Log failed\n"); |
exit(1); |
142,9 → 142,9 |
$prev_commit = '-'; |
$prev_version = '2.0.0.0'; |
foreach ($git_version_cache["version-first-commit"] as $version => $version_first_commit) { |
$changescript_file = $output_dir.'/output/changescript_'.$version.'.txt'; |
$changescript_file = $output_dir.'/changescript_'.$version.'.txt'; |
if ($force || !file_exists($changescript_file) || !file_exists($changescript_file.'.gz')) { |
#echo "$version = $prev_commit ... $version_first_commit => $changescript_file\n"; |
echo "Generate changescript for version $version ($version_first_commit)\n"; |
if ($prev_commit == '-') { |
$old_dir = '/tmp/oidplus_git_empty'; |
151,7 → 151,7 |
if (!is_dir($old_dir)) mkdir($old_dir); |
} else { |
$old_dir = '/tmp/oidplus_git_a'; |
exec('cd '.escapeshellarg($old_dir).' && git reset --hard && git checkout '.escapeshellarg($prev_commit).' >/dev/null 2>&1', $out, $ec); |
exec('cd '.escapeshellarg($old_dir).' && git reset --hard --quiet && git checkout '.escapeshellarg($prev_commit).' --quiet >/dev/null 2>&1', $out, $ec); |
if ($ec != 0) { |
fwrite(STDERR, "GIT Checkout $prev_commit failed\n"); |
exit(1); |
160,7 → 160,7 |
} |
$new_dir = '/tmp/oidplus_git_b'; |
exec('cd '.escapeshellarg($new_dir).' && git reset --hard && git checkout '.escapeshellarg($version_first_commit).' >/dev/null 2>&1', $out, $ec); |
exec('cd '.escapeshellarg($new_dir).' && git reset --hard --quiet && git checkout '.escapeshellarg($version_first_commit).' --quiet >/dev/null 2>&1', $out, $ec); |
if ($ec != 0) { |
fwrite(STDERR, "GIT Checkout $version_first_commit failed\n"); |
exit(1); |
/trunk/plugins/viathinksoft/adminPages/902_systemfile_check/checksums.json |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/json |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/json/vendor/autoload.php |
---|
3,9 → 3,22 |
// autoload.php @generated by Composer |
if (PHP_VERSION_ID < 50600) { |
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
exit(1); |
if (!headers_sent()) { |
header('HTTP/1.1 500 Internal Server Error'); |
} |
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
if (!ini_get('display_errors')) { |
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
fwrite(STDERR, $err); |
} elseif (!headers_sent()) { |
echo $err; |
} |
} |
trigger_error( |
$err, |
E_USER_ERROR |
); |
} |
require_once __DIR__ . '/composer/autoload_real.php'; |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/json/vendor/composer/ClassLoader.php |
---|
42,6 → 42,9 |
*/ |
class ClassLoader |
{ |
/** @var \Closure(string):void */ |
private static $includeFile; |
/** @var ?string */ |
private $vendorDir; |
106,6 → 109,7 |
public function __construct($vendorDir = null) |
{ |
$this->vendorDir = $vendorDir; |
self::initializeIncludeClosure(); |
} |
/** |
425,7 → 429,8 |
public function loadClass($class) |
{ |
if ($file = $this->findFile($class)) { |
includeFile($file); |
$includeFile = self::$includeFile; |
$includeFile($file); |
return true; |
} |
555,6 → 560,14 |
return false; |
} |
/** |
* @return void |
*/ |
private static function initializeIncludeClosure() |
{ |
if (self::$includeFile !== null) { |
return; |
} |
/** |
564,9 → 577,9 |
* |
* @param string $file |
* @return void |
* @private |
*/ |
function includeFile($file) |
{ |
self::$includeFile = \Closure::bind(static function($file) { |
include $file; |
}, null, null); |
} |
} |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/json/vendor/composer/InstalledVersions.php |
---|
98,7 → 98,7 |
{ |
foreach (self::getInstalled() as $installed) { |
if (isset($installed['versions'][$packageName])) { |
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); |
return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; |
} |
} |
119,7 → 119,7 |
*/ |
public static function satisfies(VersionParser $parser, $packageName, $constraint) |
{ |
$constraint = $parser->parseConstraints($constraint); |
$constraint = $parser->parseConstraints((string) $constraint); |
$provided = $parser->parseConstraints(self::getVersionRanges($packageName)); |
return $provided->matches($constraint); |
328,7 → 328,9 |
if (isset(self::$installedByVendor[$vendorDir])) { |
$installed[] = self::$installedByVendor[$vendorDir]; |
} elseif (is_file($vendorDir.'/composer/installed.php')) { |
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; |
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ |
$required = require $vendorDir.'/composer/installed.php'; |
$installed[] = self::$installedByVendor[$vendorDir] = $required; |
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
self::$installed = $installed[count($installed) - 1]; |
} |
340,12 → 342,17 |
// only require the installed.php file if this file is loaded from its dumped location, |
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
if (substr(__DIR__, -8, 1) !== 'C') { |
self::$installed = require __DIR__ . '/installed.php'; |
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ |
$required = require __DIR__ . '/installed.php'; |
self::$installed = $required; |
} else { |
self::$installed = array(); |
} |
} |
if (self::$installed !== array()) { |
$installed[] = self::$installed; |
} |
return $installed; |
} |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/json/vendor/composer/LICENSE |
---|
1,4 → 1,3 |
Copyright (c) Nils Adermann, Jordi Boggiano |
Permission is hereby granted, free of charge, to any person obtaining a copy |
18,4 → 17,3 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
THE SOFTWARE. |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/xml/vendor/autoload.php |
---|
3,9 → 3,22 |
// autoload.php @generated by Composer |
if (PHP_VERSION_ID < 50600) { |
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
exit(1); |
if (!headers_sent()) { |
header('HTTP/1.1 500 Internal Server Error'); |
} |
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
if (!ini_get('display_errors')) { |
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
fwrite(STDERR, $err); |
} elseif (!headers_sent()) { |
echo $err; |
} |
} |
trigger_error( |
$err, |
E_USER_ERROR |
); |
} |
require_once __DIR__ . '/composer/autoload_real.php'; |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/xml/vendor/composer/ClassLoader.php |
---|
42,6 → 42,9 |
*/ |
class ClassLoader |
{ |
/** @var \Closure(string):void */ |
private static $includeFile; |
/** @var ?string */ |
private $vendorDir; |
106,6 → 109,7 |
public function __construct($vendorDir = null) |
{ |
$this->vendorDir = $vendorDir; |
self::initializeIncludeClosure(); |
} |
/** |
425,7 → 429,8 |
public function loadClass($class) |
{ |
if ($file = $this->findFile($class)) { |
includeFile($file); |
$includeFile = self::$includeFile; |
$includeFile($file); |
return true; |
} |
555,6 → 560,14 |
return false; |
} |
/** |
* @return void |
*/ |
private static function initializeIncludeClosure() |
{ |
if (self::$includeFile !== null) { |
return; |
} |
/** |
564,9 → 577,9 |
* |
* @param string $file |
* @return void |
* @private |
*/ |
function includeFile($file) |
{ |
self::$includeFile = \Closure::bind(static function($file) { |
include $file; |
}, null, null); |
} |
} |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/xml/vendor/composer/InstalledVersions.php |
---|
98,7 → 98,7 |
{ |
foreach (self::getInstalled() as $installed) { |
if (isset($installed['versions'][$packageName])) { |
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); |
return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; |
} |
} |
119,7 → 119,7 |
*/ |
public static function satisfies(VersionParser $parser, $packageName, $constraint) |
{ |
$constraint = $parser->parseConstraints($constraint); |
$constraint = $parser->parseConstraints((string) $constraint); |
$provided = $parser->parseConstraints(self::getVersionRanges($packageName)); |
return $provided->matches($constraint); |
328,7 → 328,9 |
if (isset(self::$installedByVendor[$vendorDir])) { |
$installed[] = self::$installedByVendor[$vendorDir]; |
} elseif (is_file($vendorDir.'/composer/installed.php')) { |
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; |
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ |
$required = require $vendorDir.'/composer/installed.php'; |
$installed[] = self::$installedByVendor[$vendorDir] = $required; |
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
self::$installed = $installed[count($installed) - 1]; |
} |
340,12 → 342,17 |
// only require the installed.php file if this file is loaded from its dumped location, |
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
if (substr(__DIR__, -8, 1) !== 'C') { |
self::$installed = require __DIR__ . '/installed.php'; |
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ |
$required = require __DIR__ . '/installed.php'; |
self::$installed = $required; |
} else { |
self::$installed = array(); |
} |
} |
if (self::$installed !== array()) { |
$installed[] = self::$installed; |
} |
return $installed; |
} |
/trunk/plugins/viathinksoft/publicPages/100_whois/whois/xml/vendor/composer/LICENSE |
---|
1,4 → 1,3 |
Copyright (c) Nils Adermann, Jordi Boggiano |
Permission is hereby granted, free of charge, to any person obtaining a copy |
18,4 → 17,3 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
THE SOFTWARE. |
/trunk/vendor/autoload.php |
---|
3,9 → 3,22 |
// autoload.php @generated by Composer |
if (PHP_VERSION_ID < 50600) { |
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
exit(1); |
if (!headers_sent()) { |
header('HTTP/1.1 500 Internal Server Error'); |
} |
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
if (!ini_get('display_errors')) { |
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
fwrite(STDERR, $err); |
} elseif (!headers_sent()) { |
echo $err; |
} |
} |
trigger_error( |
$err, |
E_USER_ERROR |
); |
} |
require_once __DIR__ . '/composer/autoload_real.php'; |
/trunk/vendor/composer/ClassLoader.php |
---|
42,6 → 42,9 |
*/ |
class ClassLoader |
{ |
/** @var \Closure(string):void */ |
private static $includeFile; |
/** @var ?string */ |
private $vendorDir; |
106,6 → 109,7 |
public function __construct($vendorDir = null) |
{ |
$this->vendorDir = $vendorDir; |
self::initializeIncludeClosure(); |
} |
/** |
425,7 → 429,8 |
public function loadClass($class) |
{ |
if ($file = $this->findFile($class)) { |
includeFile($file); |
$includeFile = self::$includeFile; |
$includeFile($file); |
return true; |
} |
555,6 → 560,14 |
return false; |
} |
/** |
* @return void |
*/ |
private static function initializeIncludeClosure() |
{ |
if (self::$includeFile !== null) { |
return; |
} |
/** |
564,9 → 577,9 |
* |
* @param string $file |
* @return void |
* @private |
*/ |
function includeFile($file) |
{ |
self::$includeFile = \Closure::bind(static function($file) { |
include $file; |
}, null, null); |
} |
} |
/trunk/vendor/composer/InstalledVersions.php |
---|
98,7 → 98,7 |
{ |
foreach (self::getInstalled() as $installed) { |
if (isset($installed['versions'][$packageName])) { |
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); |
return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; |
} |
} |
119,7 → 119,7 |
*/ |
public static function satisfies(VersionParser $parser, $packageName, $constraint) |
{ |
$constraint = $parser->parseConstraints($constraint); |
$constraint = $parser->parseConstraints((string) $constraint); |
$provided = $parser->parseConstraints(self::getVersionRanges($packageName)); |
return $provided->matches($constraint); |
328,7 → 328,9 |
if (isset(self::$installedByVendor[$vendorDir])) { |
$installed[] = self::$installedByVendor[$vendorDir]; |
} elseif (is_file($vendorDir.'/composer/installed.php')) { |
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; |
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ |
$required = require $vendorDir.'/composer/installed.php'; |
$installed[] = self::$installedByVendor[$vendorDir] = $required; |
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
self::$installed = $installed[count($installed) - 1]; |
} |
340,12 → 342,17 |
// only require the installed.php file if this file is loaded from its dumped location, |
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
if (substr(__DIR__, -8, 1) !== 'C') { |
self::$installed = require __DIR__ . '/installed.php'; |
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ |
$required = require __DIR__ . '/installed.php'; |
self::$installed = $required; |
} else { |
self::$installed = array(); |
} |
} |
if (self::$installed !== array()) { |
$installed[] = self::$installed; |
} |
return $installed; |
} |
/trunk/vendor/composer/LICENSE |
---|
1,4 → 1,3 |
Copyright (c) Nils Adermann, Jordi Boggiano |
Permission is hereby granted, free of charge, to any person obtaining a copy |
18,4 → 17,3 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
THE SOFTWARE. |
/trunk/vendor/composer/autoload_real.php |
---|
33,25 → 33,18 |
$loader->register(true); |
$includeFiles = \Composer\Autoload\ComposerStaticInitOidPlusComposer::$files; |
foreach ($includeFiles as $fileIdentifier => $file) { |
composerRequireOidPlusComposer($fileIdentifier, $file); |
} |
return $loader; |
} |
} |
/** |
* @param string $fileIdentifier |
* @param string $file |
* @return void |
*/ |
function composerRequireOidPlusComposer($fileIdentifier, $file) |
{ |
$filesToLoad = \Composer\Autoload\ComposerStaticInitOidPlusComposer::$files; |
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) { |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
require $file; |
} |
}, null, null); |
foreach ($filesToLoad as $fileIdentifier => $file) { |
$requireFile($fileIdentifier, $file); |
} |
return $loader; |
} |
} |
/trunk/vendor/composer/installed.json |
---|
837,12 → 837,12 |
"source": { |
"type": "git", |
"url": "https://github.com/phpseclib/phpseclib.git", |
"reference": "3ecde6bf6a934e70f4dee95794c045ade788ac04" |
"reference": "c21db263b0b65116532684e6e3674dd2b9ceac18" |
}, |
"dist": { |
"type": "zip", |
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/3ecde6bf6a934e70f4dee95794c045ade788ac04", |
"reference": "3ecde6bf6a934e70f4dee95794c045ade788ac04", |
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/c21db263b0b65116532684e6e3674dd2b9ceac18", |
"reference": "c21db263b0b65116532684e6e3674dd2b9ceac18", |
"shasum": "" |
}, |
"require": { |
860,7 → 860,7 |
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", |
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." |
}, |
"time": "2023-11-04T21:13:09+00:00", |
"time": "2023-11-12T15:02:35+00:00", |
"type": "library", |
"installation-source": "dist", |
"autoload": { |
/trunk/vendor/composer/installed.php |
---|
189,7 → 189,7 |
'phpseclib/phpseclib' => array( |
'pretty_version' => '3.0.x-dev', |
'version' => '3.0.9999999.9999999-dev', |
'reference' => '3ecde6bf6a934e70f4dee95794c045ade788ac04', |
'reference' => 'c21db263b0b65116532684e6e3674dd2b9ceac18', |
'type' => 'library', |
'install_path' => __DIR__ . '/../phpseclib/phpseclib', |
'aliases' => array(), |
/trunk/vendor/licenses |
---|
28,7 → 28,7 |
matthiasmullie/path-converter 1.1.3 MIT |
paragonie/constant_time_encoding v2.6.3 MIT |
paragonie/random_compat v9.99.100 MIT |
phpseclib/phpseclib 3.0.x-dev 3ecde6b MIT |
phpseclib/phpseclib 3.0.x-dev c21db26 MIT |
script47/bs5-utils master master MIT |
spamspan/spamspan master GPL-2.0-only |
spomky-labs/php-punycode 9999999-dev d12fe5c MIT |
/trunk/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS8.php |
---|
141,6 → 141,7 |
break; |
case 'RC2': |
$cipher = new RC2('cbc'); |
$cipher->setKeyLength(64); |
break; |
case '3-KeyTripleDES': |
$cipher = new TripleDES('cbc'); |