Updated controllers and workers
This commit is contained in:
parent
b7fe52ad54
commit
95cafb9f1b
|
@ -283,8 +283,8 @@ App::get('/v1/avatars/favicon')
|
|||
case 'jpeg':
|
||||
$size = \explode('x', \strtolower($sizes));
|
||||
|
||||
$sizeWidth = (isset($size[0])) ? (int) $size[0] : 0;
|
||||
$sizeHeight = (isset($size[1])) ? (int) $size[1] : 0;
|
||||
$sizeWidth = (int) $size[0] ?? 0;
|
||||
$sizeHeight = (int) $size[1] ?? 0;
|
||||
|
||||
if (($sizeWidth * $sizeHeight) >= $space) {
|
||||
$space = $sizeWidth * $sizeHeight;
|
||||
|
@ -423,7 +423,7 @@ App::get('/v1/avatars/initials')
|
|||
$code = 0;
|
||||
|
||||
foreach ($words as $key => $w) {
|
||||
$initials .= (isset($w[0])) ? $w[0] : '';
|
||||
$initials .= $w[0] ?? '';
|
||||
$code += (isset($w[0])) ? \ord($w[0]) : 0;
|
||||
|
||||
if ($key == 1) {
|
||||
|
|
|
@ -418,8 +418,8 @@ App::post('/v1/database/collections/:collectionId/documents')
|
|||
* Set default collection values
|
||||
*/
|
||||
foreach ($collection->getAttribute('rules') as $key => $rule) {
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$default = (isset($rule['default'])) ? $rule['default'] : null;
|
||||
$key = $rule['key'] ?? '';
|
||||
$default = $rule['default'] ?? null;
|
||||
|
||||
if (!isset($data[$key])) {
|
||||
$data[$key] = $default;
|
||||
|
|
|
@ -278,14 +278,14 @@ App::get('/v1/health/stats') // Currently only used internally
|
|||
'partitionFree' => Storage::human($device->getPartitionFreeSpace()),
|
||||
],
|
||||
'cache' => [
|
||||
'uptime' => (isset($cacheStats['uptime_in_seconds'])) ? $cacheStats['uptime_in_seconds'] : 0,
|
||||
'clients' => (isset($cacheStats['connected_clients'])) ? $cacheStats['connected_clients'] : 0,
|
||||
'hits' => (isset($cacheStats['keyspace_hits'])) ? $cacheStats['keyspace_hits'] : 0,
|
||||
'misses' => (isset($cacheStats['keyspace_misses'])) ? $cacheStats['keyspace_misses'] : 0,
|
||||
'memory_used' => (isset($cacheStats['used_memory'])) ? $cacheStats['used_memory'] : 0,
|
||||
'memory_used_human' => (isset($cacheStats['used_memory_human'])) ? $cacheStats['used_memory_human'] : 0,
|
||||
'memory_used_peak' => (isset($cacheStats['used_memory_peak'])) ? $cacheStats['used_memory_peak'] : 0,
|
||||
'memory_used_peak_human' => (isset($cacheStats['used_memory_peak_human'])) ? $cacheStats['used_memory_peak_human'] : 0,
|
||||
'uptime' => $cacheStats['uptime_in_seconds'] ?? 0,
|
||||
'clients' => $cacheStats['connected_clients'] ?? 0,
|
||||
'hits' => $cacheStats['keyspace_hits'] ?? 0,
|
||||
'misses' => $cacheStats['keyspace_misses'] ?? 0,
|
||||
'memory_used' => $cacheStats['used_memory'] ?? 0,
|
||||
'memory_used_human' => $cacheStats['used_memory_human'] ?? 0,
|
||||
'memory_used_peak' => $cacheStats['used_memory_peak'] ?? 0,
|
||||
'memory_used_peak_human' => $cacheStats['used_memory_peak_human'] ?? 0,
|
||||
],
|
||||
]);
|
||||
}, ['response', 'register']);
|
||||
|
|
|
@ -59,7 +59,7 @@ $callbacks = [
|
|||
$offset = $offset + $limit;
|
||||
}
|
||||
|
||||
$schema = (isset($_SERVER['_APP_DB_SCHEMA'])) ? $_SERVER['_APP_DB_SCHEMA'] : '';
|
||||
$schema = $_SERVER['_APP_DB_SCHEMA'] ?? '';
|
||||
|
||||
try {
|
||||
$statement = $db->prepare("
|
||||
|
|
|
@ -104,10 +104,10 @@ $maxCells = 10;
|
|||
if($i > $maxCells) {
|
||||
break;
|
||||
}
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$type = (isset($rule['type'])) ? $rule['type'] : '';
|
||||
$array = (isset($rule['array'])) ? $rule['array'] : '';
|
||||
$label = $rule['label'] ?? '';
|
||||
$key = $rule['key'] ?? '';
|
||||
$type = $rule['type'] ?? '';
|
||||
$array = $rule['array'] ?? '';
|
||||
?>
|
||||
<td data-title="<?php echo $this->escape($label); ?>: " class="text-size-small text-height-small">
|
||||
<a data-ls-attrs="href=/console/database/document?id={{node.$id}}&collection={{router.params.id}}&project={{router.params.project}}&buster={{project-collection.dateUpdated}}">
|
||||
|
|
|
@ -17,10 +17,10 @@ $collections = [];
|
|||
<?php echo $searchFiles->render(); ?>
|
||||
|
||||
<?php foreach($rules as $rule): // Form to append child document
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$type = (isset($rule['type'])) ? $rule['type'] : '';
|
||||
$list = (isset($rule['list']) && !empty($list)) ? $rule['list'] : [];
|
||||
$key = $rule['key'] ?? '';
|
||||
$label = $rule['label'] ?? '';
|
||||
$type = $rule['type'] ?? '';
|
||||
$list = $rule['list'] ?? [];
|
||||
?>
|
||||
<?php foreach($list as $item):
|
||||
if($item === $collection->getId()) {
|
||||
|
@ -48,11 +48,11 @@ $collections = [];
|
|||
<?php endforeach; ?>
|
||||
|
||||
<?php foreach($rules as $rule): // Form to append child document
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$type = (isset($rule['type'])) ? $rule['type'] : '';
|
||||
$list = (isset($rule['list'])) ? $rule['list'] : [];
|
||||
$array = (isset($rule['array'])) ? $rule['array'] : false;
|
||||
$key = $rule['key'] ?? '';
|
||||
$label = $rule['label'] ?? '';
|
||||
$type = $rule['type'] ?? '';
|
||||
$list = $rule['list'] ?? [];
|
||||
$array = $rule['array'] ?? false;
|
||||
?>
|
||||
|
||||
<?php if($type !== 'document' && $array): ?>
|
||||
|
@ -126,11 +126,11 @@ $collections = [];
|
|||
<?php endforeach; ?>
|
||||
|
||||
<?php foreach($rules as $rule): // Form to remove array $index key
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$type = (isset($rule['type'])) ? $rule['type'] : '';
|
||||
$list = (isset($rule['list'])) ? $rule['list'] : false;
|
||||
$array = (isset($rule['array'])) ? $rule['array'] : false;
|
||||
$key = $rule['key'] ?? '';
|
||||
$label = $rule['label'] ?? '';
|
||||
$type = $rule['type'] ?? '';
|
||||
$list = $rule['list'] ?? false;
|
||||
$array = $rule['array'] ?? false;
|
||||
|
||||
if(!$array) {
|
||||
continue;
|
||||
|
@ -214,10 +214,10 @@ $collections = [];
|
|||
<!-- <div class="document-nav" data-forms-nav>
|
||||
<ul class="text-align-end margin-end-small">
|
||||
<?php foreach($rules as $rule): // Form to append child document
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$type = (isset($rule['type'])) ? $rule['type'] : '';
|
||||
$list = (isset($rule['list'])) ? $rule['list'] : [];
|
||||
$key = $rule['key'] ?? '';
|
||||
$label = $rule['label'] ?? '';
|
||||
$type = $rule['type'] ?? '';
|
||||
$list = $rule['list'] ?? [];
|
||||
?>
|
||||
<li class="text-size-small">
|
||||
<span class="link text-fade" data-forms-nav-link="<?php echo $this->escape($key); ?>"><?php echo $this->escape($label); ?></span>
|
||||
|
|
|
@ -35,12 +35,12 @@ $array = $this->getParam('array', false);
|
|||
|
||||
<ul>
|
||||
<?php foreach($rules as $rule):
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$type = (isset($rule['type'])) ? $rule['type'] : '';
|
||||
$array = (isset($rule['array'])) ? $rule['array'] : false;
|
||||
$required = (isset($rule['required'])) ? $rule['required'] : false;
|
||||
$list = (isset($rule['list'])) ? $rule['list'] : false;
|
||||
$key = $rule['key'] ?? '';
|
||||
$label = $rule['label'] ?? '';
|
||||
$type = $rule['type'] ?? '';
|
||||
$array = $rule['array'] ?? false;
|
||||
$required = $rule['required'] ?? false;
|
||||
$list = $rule['list'] ?? false;
|
||||
$comp = new View(__DIR__.'/rules/'.$type.'.phtml');
|
||||
$loop = new View(__DIR__.'/rules/array.phtml');
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ $list = (is_array($list)) ? $list : [];
|
|||
?>
|
||||
|
||||
<?php foreach($list as $item):
|
||||
$collection = (isset($collections[$item])) ? $collections[$item] : null;
|
||||
$collection = $collections[$item] ?? null;
|
||||
|
||||
if(empty($collection)) {
|
||||
continue;
|
||||
|
@ -31,8 +31,8 @@ $list = (is_array($list)) ? $list : [];
|
|||
<div class="box line margin-bottom-small padding-small fade-bottom">
|
||||
<ul>
|
||||
<?php foreach($rules as $i => $rule):
|
||||
$collectionLabel = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$collectionKey = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$collectionLabel = $rule['label'] ?? '';
|
||||
$collectionKey = $rule['key'] ?? '';
|
||||
|
||||
if($i === 3) {break;}
|
||||
?>
|
||||
|
|
|
@ -49,7 +49,7 @@ $rules = $collection->getAttribute('rules', []);
|
|||
<tr>
|
||||
<th width="40"> </th>
|
||||
<?php foreach($rules as $rule):
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$label = $rule['label'] ?? '';
|
||||
?>
|
||||
<th width="120"><?php echo $this->escape($label); ?></th>
|
||||
<?php endforeach; ?>
|
||||
|
@ -62,10 +62,10 @@ $rules = $collection->getAttribute('rules', []);
|
|||
<input type="radio" name="selected" data-ls-attrs="value={{node.$id}}" data-ls-bind="{{search.selected}}" />
|
||||
</td>
|
||||
<?php foreach($rules as $rule):
|
||||
$label = (isset($rule['label'])) ? $rule['label'] : '';
|
||||
$key = (isset($rule['key'])) ? $rule['key'] : '';
|
||||
$type = (isset($rule['type'])) ? $rule['type'] : '';
|
||||
$array = (isset($rule['array'])) ? $rule['array'] : '';
|
||||
$label = $rule['label'] ?? '';
|
||||
$key = $rule['key'] ?? '';
|
||||
$type = $rule['type'] ?? '';
|
||||
$array = $rule['array'] ?? '';
|
||||
?>
|
||||
<td data-title="<?php echo $this->escape($label); ?>" class="text-size-small text-height-small">
|
||||
<a data-ls-attrs="href=/console/database/document?id={{node.$id}}&collection=<?php echo $this->escape($id); ?>&project={{router.params.project}}" target="_blank">
|
||||
|
|
|
@ -308,9 +308,9 @@ $providers = $this->getParam('providers', []);
|
|||
<?php foreach ($providers as $provider => $data):
|
||||
if (isset($data['enabled']) && !$data['enabled']) { continue; }
|
||||
if (isset($data['mock']) && $data['mock']) { continue; }
|
||||
$form = (isset($data['form'])) ? $data['form'] : false;
|
||||
$name = (isset($data['name'])) ? $data['name'] : 'Unknown';
|
||||
$beta = (isset($data['beta'])) ? $data['beta'] : false;
|
||||
$form = $data['form'] ?? false;
|
||||
$name = $data['name'] ?? 'Unknown';
|
||||
$beta = $data['beta'] ?? false;
|
||||
?>
|
||||
<li class="<?php echo (isset($data['enabled']) && !$data['enabled']) ? 'dev-feature' : ''; ?>">
|
||||
<div data-ui-modal class="modal close" data-button-alias="none" data-open-event="provider-update-<?php echo $provider; ?>">
|
||||
|
|
|
@ -52,8 +52,8 @@ class CertificatesV1
|
|||
$domain = $this->args['domain'];
|
||||
|
||||
// Validation Args
|
||||
$validateTarget = (isset($this->args['validateTarget'])) ? $this->args['validateTarget'] : true;
|
||||
$validateCNAME = (isset($this->args['validateCNAME'])) ? $this->args['validateCNAME'] : true;
|
||||
$validateTarget = $this->args['validateTarget'] ?? true;
|
||||
$validateCNAME = $this->args['validateCNAME'] ?? true;
|
||||
|
||||
// Options
|
||||
$domain = new Domain((!empty($domain)) ? $domain : '');
|
||||
|
|
|
@ -48,9 +48,9 @@ class TasksV1
|
|||
* If error count bigger than allowed change status to pause
|
||||
*/
|
||||
|
||||
$taskId = (isset($this->args['$id'])) ? $this->args['$id'] : null;
|
||||
$updated = (isset($this->args['updated'])) ? $this->args['updated'] : null;
|
||||
$next = (isset($this->args['next'])) ? $this->args['next'] : null;
|
||||
$taskId = $this->args['$id'] ?? null;
|
||||
$updated = $this->args['updated'] ?? null;
|
||||
$next = $this->args['next'] ?? null;
|
||||
$delay = \time() - $next;
|
||||
$errors = [];
|
||||
$timeout = 60 * 5; // 5 minutes
|
||||
|
|
|
@ -55,12 +55,12 @@ class WebhooksV1
|
|||
continue;
|
||||
}
|
||||
|
||||
$name = (isset($webhook['name'])) ? $webhook['name'] : '';
|
||||
$signature = (isset($webhook['signature'])) ? $webhook['signature'] : 'not-yet-implemented';
|
||||
$url = (isset($webhook['url'])) ? $webhook['url'] : '';
|
||||
$security = (isset($webhook['security'])) ? (bool) $webhook['security'] : true;
|
||||
$httpUser = (isset($webhook['httpUser'])) ? $webhook['httpUser'] : null;
|
||||
$httpPass = (isset($webhook['httpPass'])) ? $webhook['httpPass'] : null;
|
||||
$name = $webhook['name'] ?? '';
|
||||
$signature = $webhook['signature'] ?? 'not-yet-implemented';
|
||||
$url = $webhook['url'] ?? '';
|
||||
$security = (bool) $webhook['security'] ?? true;
|
||||
$httpUser = $webhook['httpUser'] ?? null;
|
||||
$httpPass = $webhook['httpPass'] ?? null;
|
||||
|
||||
$ch = \curl_init($url);
|
||||
|
||||
|
|
162
composer.lock
generated
162
composer.lock
generated
|
@ -102,16 +102,16 @@
|
|||
},
|
||||
{
|
||||
"name": "colinmollenhour/credis",
|
||||
"version": "1.11.2",
|
||||
"version": "v1.11.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/colinmollenhour/credis.git",
|
||||
"reference": "b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53"
|
||||
"reference": "b458b7c65d156744f5f0c4667c0f8ce45d955435"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/colinmollenhour/credis/zipball/b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53",
|
||||
"reference": "b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53",
|
||||
"url": "https://api.github.com/repos/colinmollenhour/credis/zipball/b458b7c65d156744f5f0c4667c0f8ce45d955435",
|
||||
"reference": "b458b7c65d156744f5f0c4667c0f8ce45d955435",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -138,7 +138,7 @@
|
|||
],
|
||||
"description": "Credis is a lightweight interface to the Redis key-value store which wraps the phpredis library when available for better performance.",
|
||||
"homepage": "https://github.com/colinmollenhour/credis",
|
||||
"time": "2020-06-15T19:25:47+00:00"
|
||||
"time": "2020-10-13T23:55:13+00:00"
|
||||
},
|
||||
{
|
||||
"name": "composer/ca-bundle",
|
||||
|
@ -212,16 +212,16 @@
|
|||
},
|
||||
{
|
||||
"name": "dasprid/enum",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DASPRiD/Enum.git",
|
||||
"reference": "6ccc0d7141a7f149e3c56cb0ce5f05d9152cfd07"
|
||||
"reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/DASPRiD/Enum/zipball/6ccc0d7141a7f149e3c56cb0ce5f05d9152cfd07",
|
||||
"reference": "6ccc0d7141a7f149e3c56cb0ce5f05d9152cfd07",
|
||||
"url": "https://api.github.com/repos/DASPRiD/Enum/zipball/5abf82f213618696dda8e3bf6f64dd042d8542b2",
|
||||
"reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require-dev": {
|
||||
|
@ -251,7 +251,7 @@
|
|||
"enum",
|
||||
"map"
|
||||
],
|
||||
"time": "2020-07-30T16:37:13+00:00"
|
||||
"time": "2020-10-02T16:03:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "domnikl/statsd",
|
||||
|
@ -412,23 +412,23 @@
|
|||
},
|
||||
{
|
||||
"name": "guzzlehttp/guzzle",
|
||||
"version": "dev-master",
|
||||
"version": "7.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/guzzle/guzzle.git",
|
||||
"reference": "616288af85deea154a61f5b996b0df69f7252e36"
|
||||
"reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/616288af85deea154a61f5b996b0df69f7252e36",
|
||||
"reference": "616288af85deea154a61f5b996b0df69f7252e36",
|
||||
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/0aa74dfb41ae110835923ef10a9d803a22d50e79",
|
||||
"reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*",
|
||||
"guzzlehttp/promises": "^1.4",
|
||||
"guzzlehttp/psr7": "^1.7",
|
||||
"php": "^7.2.5",
|
||||
"php": "^7.2.5 || ^8.0",
|
||||
"psr/http-client": "^1.0"
|
||||
},
|
||||
"provide": {
|
||||
|
@ -436,8 +436,8 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"ext-curl": "*",
|
||||
"php-http/client-integration-tests": "dev-phpunit8",
|
||||
"phpunit/phpunit": "^8.5.5",
|
||||
"php-http/client-integration-tests": "^3.0",
|
||||
"phpunit/phpunit": "^8.5.5 || ^9.3.5",
|
||||
"psr/log": "^1.1"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -506,7 +506,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2020-09-30T15:03:52+00:00"
|
||||
"time": "2020-10-10T11:47:56+00:00"
|
||||
},
|
||||
{
|
||||
"name": "guzzlehttp/promises",
|
||||
|
@ -693,23 +693,23 @@
|
|||
},
|
||||
{
|
||||
"name": "maxmind-db/reader",
|
||||
"version": "v1.7.0",
|
||||
"version": "v1.8.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/maxmind/MaxMind-DB-Reader-php.git",
|
||||
"reference": "942553da239f12051275f9c666538b5dd09e2908"
|
||||
"reference": "b566d429ac9aec10594b0935be8ff38302f8d5c8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/942553da239f12051275f9c666538b5dd09e2908",
|
||||
"reference": "942553da239f12051275f9c666538b5dd09e2908",
|
||||
"url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/b566d429ac9aec10594b0935be8ff38302f8d5c8",
|
||||
"reference": "b566d429ac9aec10594b0935be8ff38302f8d5c8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.2"
|
||||
},
|
||||
"conflict": {
|
||||
"ext-maxminddb": "<1.7.0,>=2.0.0"
|
||||
"ext-maxminddb": "<1.8.0,>=2.0.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "2.*",
|
||||
|
@ -749,31 +749,31 @@
|
|||
"geolocation",
|
||||
"maxmind"
|
||||
],
|
||||
"time": "2020-08-07T22:10:05+00:00"
|
||||
"time": "2020-10-01T17:30:21+00:00"
|
||||
},
|
||||
{
|
||||
"name": "maxmind/web-service-common",
|
||||
"version": "v0.7.0",
|
||||
"version": "v0.8.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/maxmind/web-service-common-php.git",
|
||||
"reference": "74c996c218ada5c639c8c2f076756e059f5552fc"
|
||||
"reference": "ba67d9532cfaf499bd71774b8170d05df4f75fb7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/maxmind/web-service-common-php/zipball/74c996c218ada5c639c8c2f076756e059f5552fc",
|
||||
"reference": "74c996c218ada5c639c8c2f076756e059f5552fc",
|
||||
"url": "https://api.github.com/repos/maxmind/web-service-common-php/zipball/ba67d9532cfaf499bd71774b8170d05df4f75fb7",
|
||||
"reference": "ba67d9532cfaf499bd71774b8170d05df4f75fb7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer/ca-bundle": "^1.0.3",
|
||||
"ext-curl": "*",
|
||||
"ext-json": "*",
|
||||
"php": ">=5.6"
|
||||
"php": ">=7.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "2.*",
|
||||
"phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0",
|
||||
"phpunit/phpunit": "^8.0 || ^9.0",
|
||||
"squizlabs/php_codesniffer": "3.*"
|
||||
},
|
||||
"type": "library",
|
||||
|
@ -795,7 +795,7 @@
|
|||
],
|
||||
"description": "Internal MaxMind Web Service API",
|
||||
"homepage": "https://github.com/maxmind/web-service-common-php",
|
||||
"time": "2020-05-06T14:07:26+00:00"
|
||||
"time": "2020-10-01T15:28:36+00:00"
|
||||
},
|
||||
{
|
||||
"name": "mustangostang/spyc",
|
||||
|
@ -1665,7 +1665,7 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/appwrite/sdk-generator",
|
||||
"reference": "552f9d872210c8a689727dd3a661c163b3816686"
|
||||
"reference": "a57b3cd56c4bfe1538276cfc77456cf95d8835cb"
|
||||
},
|
||||
"require": {
|
||||
"ext-curl": "*",
|
||||
|
@ -1695,7 +1695,7 @@
|
|||
}
|
||||
],
|
||||
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
|
||||
"time": "2020-09-08T12:57:50+00:00"
|
||||
"time": "2020-10-14T12:07:25+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/instantiator",
|
||||
|
@ -1882,12 +1882,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/myclabs/DeepCopy.git",
|
||||
"reference": "a3409d10079990eeb489c3fead0ac070b5b38895"
|
||||
"reference": "00aba97fc36feabc8d94667eebd5d43959e60008"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/a3409d10079990eeb489c3fead0ac070b5b38895",
|
||||
"reference": "a3409d10079990eeb489c3fead0ac070b5b38895",
|
||||
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/00aba97fc36feabc8d94667eebd5d43959e60008",
|
||||
"reference": "00aba97fc36feabc8d94667eebd5d43959e60008",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1928,7 +1928,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2020-08-28T16:31:07+00:00"
|
||||
"time": "2020-10-01T09:35:15+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
|
@ -2300,12 +2300,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
||||
"reference": "a6037d775070cc82732c21809664c63fb4f19916"
|
||||
"reference": "ece0c3ceee73810bd95226401bbfaea9e0f64de7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a6037d775070cc82732c21809664c63fb4f19916",
|
||||
"reference": "a6037d775070cc82732c21809664c63fb4f19916",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ece0c3ceee73810bd95226401bbfaea9e0f64de7",
|
||||
"reference": "ece0c3ceee73810bd95226401bbfaea9e0f64de7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2365,7 +2365,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2020-09-27T04:42:46+00:00"
|
||||
"time": "2020-10-09T14:34:55+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-file-iterator",
|
||||
|
@ -2594,16 +2594,16 @@
|
|||
},
|
||||
{
|
||||
"name": "phpunit/phpunit",
|
||||
"version": "9.3.11",
|
||||
"version": "dev-master",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||
"reference": "f7316ea106df7c9507f4fdaa88c47bc10a3b27a1"
|
||||
"reference": "8b79c2a70ae855e582cef1ca63a849fe07bdb01d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f7316ea106df7c9507f4fdaa88c47bc10a3b27a1",
|
||||
"reference": "f7316ea106df7c9507f4fdaa88c47bc10a3b27a1",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8b79c2a70ae855e582cef1ca63a849fe07bdb01d",
|
||||
"reference": "8b79c2a70ae855e582cef1ca63a849fe07bdb01d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2618,23 +2618,23 @@
|
|||
"phar-io/manifest": "^2.0.1",
|
||||
"phar-io/version": "^3.0.2",
|
||||
"php": ">=7.3",
|
||||
"phpspec/prophecy": "^1.11.1",
|
||||
"phpunit/php-code-coverage": "^9.1.11",
|
||||
"phpunit/php-file-iterator": "^3.0.4",
|
||||
"phpunit/php-invoker": "^3.1",
|
||||
"phpunit/php-text-template": "^2.0.2",
|
||||
"phpunit/php-timer": "^5.0.1",
|
||||
"sebastian/cli-parser": "^1.0",
|
||||
"sebastian/code-unit": "^1.0.5",
|
||||
"sebastian/comparator": "^4.0.3",
|
||||
"sebastian/diff": "^4.0.2",
|
||||
"sebastian/environment": "^5.1.2",
|
||||
"sebastian/exporter": "^4.0.2",
|
||||
"sebastian/global-state": "^5.0",
|
||||
"sebastian/object-enumerator": "^4.0.2",
|
||||
"sebastian/resource-operations": "^3.0.2",
|
||||
"sebastian/type": "^2.2.1",
|
||||
"sebastian/version": "^3.0.1"
|
||||
"phpspec/prophecy": "^1.12.1",
|
||||
"phpunit/php-code-coverage": "^9.2",
|
||||
"phpunit/php-file-iterator": "^3.0.5",
|
||||
"phpunit/php-invoker": "^3.1.1",
|
||||
"phpunit/php-text-template": "^2.0.3",
|
||||
"phpunit/php-timer": "^5.0.2",
|
||||
"sebastian/cli-parser": "^1.0.1",
|
||||
"sebastian/code-unit": "^1.0.6",
|
||||
"sebastian/comparator": "^4.0.5",
|
||||
"sebastian/diff": "^4.0.3",
|
||||
"sebastian/environment": "^5.1.3",
|
||||
"sebastian/exporter": "^4.0.3",
|
||||
"sebastian/global-state": "^5.0.1",
|
||||
"sebastian/object-enumerator": "^4.0.3",
|
||||
"sebastian/resource-operations": "^3.0.3",
|
||||
"sebastian/type": "^2.3",
|
||||
"sebastian/version": "^3.0.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-pdo": "*",
|
||||
|
@ -2650,7 +2650,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "9.3-dev"
|
||||
"dev-master": "9.5-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
|
@ -2689,7 +2689,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2020-09-24T08:08:49+00:00"
|
||||
"time": "2020-10-11T07:43:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/cli-parser",
|
||||
|
@ -2749,12 +2749,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/code-unit.git",
|
||||
"reference": "d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8"
|
||||
"reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8",
|
||||
"reference": "d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/59236be62b1bb9919e6d7f60b0b832dc05cef9ab",
|
||||
"reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2793,7 +2793,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2020-09-28T05:28:46+00:00"
|
||||
"time": "2020-10-02T14:47:54+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/code-unit-reverse-lookup",
|
||||
|
@ -2975,12 +2975,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/diff.git",
|
||||
"reference": "ffc949a1a2aae270ea064453d7535b82e4c32092"
|
||||
"reference": "e3ec6059b3fe483d42fbaf1fe6eefa201f7b4a6d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ffc949a1a2aae270ea064453d7535b82e4c32092",
|
||||
"reference": "ffc949a1a2aae270ea064453d7535b82e4c32092",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/e3ec6059b3fe483d42fbaf1fe6eefa201f7b4a6d",
|
||||
"reference": "e3ec6059b3fe483d42fbaf1fe6eefa201f7b4a6d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -3029,7 +3029,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2020-09-28T05:32:55+00:00"
|
||||
"time": "2020-10-13T11:48:30+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/environment",
|
||||
|
@ -3496,12 +3496,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/type.git",
|
||||
"reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea"
|
||||
"reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/e494dcaeb89d1458c9ccd8c819745245a1669aea",
|
||||
"reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fa592377f3923946cb90bf1f6a71ba2e5f229909",
|
||||
"reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -3513,7 +3513,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.2-dev"
|
||||
"dev-master": "2.3-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
|
@ -3540,7 +3540,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2020-09-28T06:01:38+00:00"
|
||||
"time": "2020-10-06T08:41:03+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/version",
|
||||
|
@ -3830,12 +3830,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/twigphp/Twig.git",
|
||||
"reference": "f4aacffcbb556d443a15c4e49d62070903c05270"
|
||||
"reference": "fa2f1ccdb44a973571235c4a78487c040f26f116"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/twigphp/Twig/zipball/f4aacffcbb556d443a15c4e49d62070903c05270",
|
||||
"reference": "f4aacffcbb556d443a15c4e49d62070903c05270",
|
||||
"url": "https://api.github.com/repos/twigphp/Twig/zipball/fa2f1ccdb44a973571235c4a78487c040f26f116",
|
||||
"reference": "fa2f1ccdb44a973571235c4a78487c040f26f116",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -3897,7 +3897,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2020-09-27T05:01:29+00:00"
|
||||
"time": "2020-10-14T06:37:57+00:00"
|
||||
},
|
||||
{
|
||||
"name": "webmozart/assert",
|
||||
|
|
Loading…
Reference in a new issue