Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 731 → Rev 732

/trunk/plugins/viathinksoft/adminPages/400_oidinfo_export/oidinfo_api.inc.php
2,8 → 2,8
 
/*
* OID-Info.com API for PHP
* Copyright 2019-2021 Daniel Marschall, ViaThinkSoft
* Version 2021-12-08
* Copyright 2019-2022 Daniel Marschall, ViaThinkSoft
* Version 2022-01-10
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
652,9 → 652,17
 
// TODO: if name is empty, but address has 1 line, take it as firstname (but remove hyperlink)
 
$ignore_current_registrant = false;
$test_keys = array_keys($elements['current-registrant']);
if ((count($test_keys) == 1) && ($test_keys[0] == 'modification-date')) {
// Modification dates without information about the current RA which are rejected by the OID repository
$ignore_current_registrant = true;
}
 
$out_loc = '';
foreach ($elements as $name => $val) {
if (($name == 'first-registrant') || ($name == 'current-registrant')) {
if (($name != 'current-registrant') || !$ignore_current_registrant) {
$out_loc2 = '';
foreach ($val as $name2 => $val2) {
if (is_null($val2)) continue;
682,6 → 690,7
$out_loc .= $out_loc2;
$out_loc .= "\t\t</$name>\n";
}
}
} else {
// if (is_null($val)) continue;
if (empty($val) && ($name != 'description')) continue; // description is mandatory, according to http://oid-info.com/oid.xsd
/trunk/vendor/composer/InstalledVersions.php
63,7 → 63,7
array (
0 => '9999999-dev',
),
'reference' => 'acfeaf40523a3a3cd0b6dbf18f3dc2349a3bec25',
'reference' => '880e97b497710dc14ee8f38b4e48250ce49202ee',
),
'danielmarschall/oidplus' =>
array (
82,7 → 82,7
array (
0 => '9999999-dev',
),
'reference' => '20893f173243e648e0f5a726e908cade11ae1a6c',
'reference' => '0f6f43b78e7ffef69e23710e9e006c33d3d732bc',
),
'danielmarschall/uuid_mac_utils' =>
array (
102,7 → 102,7
array (
0 => '9999999-dev',
),
'reference' => '8bf513c1f2b193fa3f4ac9e00bc6ba2a021ebadd',
'reference' => '4cee6e674e6628b4deeb0327ab65109da4f28f4d',
),
'dcodeio/bcrypt.js' =>
array (
/trunk/vendor/composer/installed.json
151,18 → 151,18
"source": {
"type": "git",
"url": "https://github.com/danielmarschall/fileformats.git",
"reference": "acfeaf40523a3a3cd0b6dbf18f3dc2349a3bec25"
"reference": "880e97b497710dc14ee8f38b4e48250ce49202ee"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/danielmarschall/fileformats/zipball/acfeaf40523a3a3cd0b6dbf18f3dc2349a3bec25",
"reference": "acfeaf40523a3a3cd0b6dbf18f3dc2349a3bec25",
"url": "https://api.github.com/repos/danielmarschall/fileformats/zipball/880e97b497710dc14ee8f38b4e48250ce49202ee",
"reference": "880e97b497710dc14ee8f38b4e48250ce49202ee",
"shasum": ""
},
"require": {
"php": ">=7.0"
},
"time": "2021-07-19T21:30:13+00:00",
"time": "2022-01-09T15:19:14+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
192,18 → 192,18
"source": {
"type": "git",
"url": "https://github.com/danielmarschall/php_utils.git",
"reference": "20893f173243e648e0f5a726e908cade11ae1a6c"
"reference": "0f6f43b78e7ffef69e23710e9e006c33d3d732bc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/danielmarschall/php_utils/zipball/20893f173243e648e0f5a726e908cade11ae1a6c",
"reference": "20893f173243e648e0f5a726e908cade11ae1a6c",
"url": "https://api.github.com/repos/danielmarschall/php_utils/zipball/0f6f43b78e7ffef69e23710e9e006c33d3d732bc",
"reference": "0f6f43b78e7ffef69e23710e9e006c33d3d732bc",
"shasum": ""
},
"require": {
"php": ">=7.0"
},
"time": "2022-01-07T22:37:29+00:00",
"time": "2022-01-09T19:10:13+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
274,18 → 274,18
"source": {
"type": "git",
"url": "https://github.com/danielmarschall/vnag.git",
"reference": "8bf513c1f2b193fa3f4ac9e00bc6ba2a021ebadd"
"reference": "4cee6e674e6628b4deeb0327ab65109da4f28f4d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/danielmarschall/vnag/zipball/8bf513c1f2b193fa3f4ac9e00bc6ba2a021ebadd",
"reference": "8bf513c1f2b193fa3f4ac9e00bc6ba2a021ebadd",
"url": "https://api.github.com/repos/danielmarschall/vnag/zipball/4cee6e674e6628b4deeb0327ab65109da4f28f4d",
"reference": "4cee6e674e6628b4deeb0327ab65109da4f28f4d",
"shasum": ""
},
"require": {
"php": ">=7.0"
},
"time": "2021-12-23T00:35:37+00:00",
"time": "2022-01-12T00:33:52+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
/trunk/vendor/composer/installed.php
37,7 → 37,7
array (
0 => '9999999-dev',
),
'reference' => 'acfeaf40523a3a3cd0b6dbf18f3dc2349a3bec25',
'reference' => '880e97b497710dc14ee8f38b4e48250ce49202ee',
),
'danielmarschall/oidplus' =>
array (
56,7 → 56,7
array (
0 => '9999999-dev',
),
'reference' => '20893f173243e648e0f5a726e908cade11ae1a6c',
'reference' => '0f6f43b78e7ffef69e23710e9e006c33d3d732bc',
),
'danielmarschall/uuid_mac_utils' =>
array (
76,7 → 76,7
array (
0 => '9999999-dev',
),
'reference' => '8bf513c1f2b193fa3f4ac9e00bc6ba2a021ebadd',
'reference' => '4cee6e674e6628b4deeb0327ab65109da4f28f4d',
),
'dcodeio/bcrypt.js' =>
array (
/trunk/vendor/danielmarschall/fileformats/phpstan.neon.dist
0,0 → 1,15
parameters:
level: 5
fileExtensions:
- php
- phps
paths:
- .
excludePaths:
analyseAndScan:
- .phpstan.tmp
tmpDir: .phpstan.tmp
ignoreErrors:
#- '#is always (true|false)\.#'
#- '#Call to function assert\(\) with false will always evaluate to false\.#'
#- '#with no typehint specified\.#'
/trunk/vendor/danielmarschall/php_utils/simplexml_supplement.inc.php
113,7 → 113,7
return $out;
}
 
class SimpleXMLElement implements ArrayAccess, Iterator {
class SimpleXMLElement implements ArrayAccess, Iterator { /** @phpstan-ignore-line */
 
function __destruct() {
global $_simplexml_supplement_properties;
184,7 → 184,7
} else {
return '';
}
} else {
} else { /** @phpstan-ignore-line */
return $data;
}
}
258,15 → 258,15
global $_simplexml_supplement_properties;
$vars = get_object_vars($this);
$cnt = 0;
foreach ($vars as $x => $dummy) {
foreach ($vars as $x => $dummy) { /** @phpstan-ignore-line */
if (($dummy instanceof SimpleXMLElement) && !_simplexml_supplement_isnumeric($x) && $dummy->isArray()) {
$vars2 = get_object_vars($dummy);
foreach ($vars2 as $x2 => $dummy2) {
if ($cnt == $_simplexml_supplement_properties[spl_object_hash($this)]['position']) {
if ($dummy2 instanceof SimpleXMLElement) {
return $dummy2;
return $dummy2; /** @phpstan-ignore-line */
} else {
return new SimpleXMLElement($dummy2);
return new SimpleXMLElement($dummy2); /** @phpstan-ignore-line */
}
}
$cnt++;
274,9 → 274,9
} else {
if ($cnt == $_simplexml_supplement_properties[spl_object_hash($this)]['position']) {
if ($dummy instanceof SimpleXMLElement) {
return $dummy;
return $dummy; /** @phpstan-ignore-line */
} else {
return new SimpleXMLElement($dummy);
return new SimpleXMLElement($dummy); /** @phpstan-ignore-line */
}
}
$cnt++;
290,7 → 290,7
global $_simplexml_supplement_properties;
$vars = get_object_vars($this);
$cnt = 0;
foreach ($vars as $x => $dummy) {
foreach ($vars as $x => $dummy) { /** @phpstan-ignore-line */
if (($dummy instanceof SimpleXMLElement) && !_simplexml_supplement_isnumeric($x) && $dummy->isArray()) {
$vars2 = get_object_vars($dummy);
foreach ($vars2 as $x2 => $dummy2) {
/trunk/vendor/danielmarschall/vnag/phpstan.neon.dist
1,5 → 1,8
parameters:
level: 5
fileExtensions:
- php
- phps
paths:
- .
excludePaths:
9,6 → 12,8
- plugins_intern/*/vnag_framework.inc.php
analyseAndScan:
- _mock
- .phpstan.tmp
tmpDir: .phpstan.tmp
ignoreErrors:
- '#is always (true|false)\.#'
- '#Call to function assert\(\) with false will always evaluate to false\.#'
/trunk/vendor/licenses
6,10 → 6,10
Name Version License
components/jquery 3.6.0 MIT
components/jqueryui 1.12.1 MIT
danielmarschall/fileformats dev-master acfeaf4 Apache-2.0
danielmarschall/php_utils dev-master 20893f1 Apache-2.0
danielmarschall/fileformats dev-master 880e97b Apache-2.0
danielmarschall/php_utils dev-master 0f6f43b Apache-2.0
danielmarschall/uuid_mac_utils dev-master f99346b Apache-2.0
danielmarschall/vnag dev-master 8bf513c Apache-2.0
danielmarschall/vnag dev-master 4cee6e6 Apache-2.0
dcodeio/bcrypt.js master master BSD-3-Clause, MIT
emn178/js-sha3 master master MIT
firebase/php-jwt v5.5.1 BSD-3-Clause