1
0
Fork 0
mirror of synced 2024-06-09 14:24:44 +12:00

Updated controllers and workers

This commit is contained in:
Eldad Fux 2020-10-15 00:34:57 +03:00
parent b7fe52ad54
commit 95cafb9f1b
14 changed files with 145 additions and 145 deletions

View file

@ -283,8 +283,8 @@ App::get('/v1/avatars/favicon')
case 'jpeg': case 'jpeg':
$size = \explode('x', \strtolower($sizes)); $size = \explode('x', \strtolower($sizes));
$sizeWidth = (isset($size[0])) ? (int) $size[0] : 0; $sizeWidth = (int) $size[0] ?? 0;
$sizeHeight = (isset($size[1])) ? (int) $size[1] : 0; $sizeHeight = (int) $size[1] ?? 0;
if (($sizeWidth * $sizeHeight) >= $space) { if (($sizeWidth * $sizeHeight) >= $space) {
$space = $sizeWidth * $sizeHeight; $space = $sizeWidth * $sizeHeight;
@ -423,7 +423,7 @@ App::get('/v1/avatars/initials')
$code = 0; $code = 0;
foreach ($words as $key => $w) { foreach ($words as $key => $w) {
$initials .= (isset($w[0])) ? $w[0] : ''; $initials .= $w[0] ?? '';
$code += (isset($w[0])) ? \ord($w[0]) : 0; $code += (isset($w[0])) ? \ord($w[0]) : 0;
if ($key == 1) { if ($key == 1) {

View file

@ -418,8 +418,8 @@ App::post('/v1/database/collections/:collectionId/documents')
* Set default collection values * Set default collection values
*/ */
foreach ($collection->getAttribute('rules') as $key => $rule) { foreach ($collection->getAttribute('rules') as $key => $rule) {
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$default = (isset($rule['default'])) ? $rule['default'] : null; $default = $rule['default'] ?? null;
if (!isset($data[$key])) { if (!isset($data[$key])) {
$data[$key] = $default; $data[$key] = $default;

View file

@ -278,14 +278,14 @@ App::get('/v1/health/stats') // Currently only used internally
'partitionFree' => Storage::human($device->getPartitionFreeSpace()), 'partitionFree' => Storage::human($device->getPartitionFreeSpace()),
], ],
'cache' => [ 'cache' => [
'uptime' => (isset($cacheStats['uptime_in_seconds'])) ? $cacheStats['uptime_in_seconds'] : 0, 'uptime' => $cacheStats['uptime_in_seconds'] ?? 0,
'clients' => (isset($cacheStats['connected_clients'])) ? $cacheStats['connected_clients'] : 0, 'clients' => $cacheStats['connected_clients'] ?? 0,
'hits' => (isset($cacheStats['keyspace_hits'])) ? $cacheStats['keyspace_hits'] : 0, 'hits' => $cacheStats['keyspace_hits'] ?? 0,
'misses' => (isset($cacheStats['keyspace_misses'])) ? $cacheStats['keyspace_misses'] : 0, 'misses' => $cacheStats['keyspace_misses'] ?? 0,
'memory_used' => (isset($cacheStats['used_memory'])) ? $cacheStats['used_memory'] : 0, 'memory_used' => $cacheStats['used_memory'] ?? 0,
'memory_used_human' => (isset($cacheStats['used_memory_human'])) ? $cacheStats['used_memory_human'] : 0, 'memory_used_human' => $cacheStats['used_memory_human'] ?? 0,
'memory_used_peak' => (isset($cacheStats['used_memory_peak'])) ? $cacheStats['used_memory_peak'] : 0, 'memory_used_peak' => $cacheStats['used_memory_peak'] ?? 0,
'memory_used_peak_human' => (isset($cacheStats['used_memory_peak_human'])) ? $cacheStats['used_memory_peak_human'] : 0, 'memory_used_peak_human' => $cacheStats['used_memory_peak_human'] ?? 0,
], ],
]); ]);
}, ['response', 'register']); }, ['response', 'register']);

View file

@ -59,7 +59,7 @@ $callbacks = [
$offset = $offset + $limit; $offset = $offset + $limit;
} }
$schema = (isset($_SERVER['_APP_DB_SCHEMA'])) ? $_SERVER['_APP_DB_SCHEMA'] : ''; $schema = $_SERVER['_APP_DB_SCHEMA'] ?? '';
try { try {
$statement = $db->prepare(" $statement = $db->prepare("

View file

@ -104,10 +104,10 @@ $maxCells = 10;
if($i > $maxCells) { if($i > $maxCells) {
break; break;
} }
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$type = (isset($rule['type'])) ? $rule['type'] : ''; $type = $rule['type'] ?? '';
$array = (isset($rule['array'])) ? $rule['array'] : ''; $array = $rule['array'] ?? '';
?> ?>
<td data-title="<?php echo $this->escape($label); ?>: " class="text-size-small text-height-small"> <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}}"> <a data-ls-attrs="href=/console/database/document?id={{node.$id}}&collection={{router.params.id}}&project={{router.params.project}}&buster={{project-collection.dateUpdated}}">

View file

@ -17,10 +17,10 @@ $collections = [];
<?php echo $searchFiles->render(); ?> <?php echo $searchFiles->render(); ?>
<?php foreach($rules as $rule): // Form to append child document <?php foreach($rules as $rule): // Form to append child document
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
$type = (isset($rule['type'])) ? $rule['type'] : ''; $type = $rule['type'] ?? '';
$list = (isset($rule['list']) && !empty($list)) ? $rule['list'] : []; $list = $rule['list'] ?? [];
?> ?>
<?php foreach($list as $item): <?php foreach($list as $item):
if($item === $collection->getId()) { if($item === $collection->getId()) {
@ -48,11 +48,11 @@ $collections = [];
<?php endforeach; ?> <?php endforeach; ?>
<?php foreach($rules as $rule): // Form to append child document <?php foreach($rules as $rule): // Form to append child document
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
$type = (isset($rule['type'])) ? $rule['type'] : ''; $type = $rule['type'] ?? '';
$list = (isset($rule['list'])) ? $rule['list'] : []; $list = $rule['list'] ?? [];
$array = (isset($rule['array'])) ? $rule['array'] : false; $array = $rule['array'] ?? false;
?> ?>
<?php if($type !== 'document' && $array): ?> <?php if($type !== 'document' && $array): ?>
@ -126,11 +126,11 @@ $collections = [];
<?php endforeach; ?> <?php endforeach; ?>
<?php foreach($rules as $rule): // Form to remove array $index key <?php foreach($rules as $rule): // Form to remove array $index key
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
$type = (isset($rule['type'])) ? $rule['type'] : ''; $type = $rule['type'] ?? '';
$list = (isset($rule['list'])) ? $rule['list'] : false; $list = $rule['list'] ?? false;
$array = (isset($rule['array'])) ? $rule['array'] : false; $array = $rule['array'] ?? false;
if(!$array) { if(!$array) {
continue; continue;
@ -214,10 +214,10 @@ $collections = [];
<!-- <div class="document-nav" data-forms-nav> <!-- <div class="document-nav" data-forms-nav>
<ul class="text-align-end margin-end-small"> <ul class="text-align-end margin-end-small">
<?php foreach($rules as $rule): // Form to append child document <?php foreach($rules as $rule): // Form to append child document
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
$type = (isset($rule['type'])) ? $rule['type'] : ''; $type = $rule['type'] ?? '';
$list = (isset($rule['list'])) ? $rule['list'] : []; $list = $rule['list'] ?? [];
?> ?>
<li class="text-size-small"> <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> <span class="link text-fade" data-forms-nav-link="<?php echo $this->escape($key); ?>"><?php echo $this->escape($label); ?></span>

View file

@ -35,12 +35,12 @@ $array = $this->getParam('array', false);
<ul> <ul>
<?php foreach($rules as $rule): <?php foreach($rules as $rule):
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
$type = (isset($rule['type'])) ? $rule['type'] : ''; $type = $rule['type'] ?? '';
$array = (isset($rule['array'])) ? $rule['array'] : false; $array = $rule['array'] ?? false;
$required = (isset($rule['required'])) ? $rule['required'] : false; $required = $rule['required'] ?? false;
$list = (isset($rule['list'])) ? $rule['list'] : false; $list = $rule['list'] ?? false;
$comp = new View(__DIR__.'/rules/'.$type.'.phtml'); $comp = new View(__DIR__.'/rules/'.$type.'.phtml');
$loop = new View(__DIR__.'/rules/array.phtml'); $loop = new View(__DIR__.'/rules/array.phtml');

View file

@ -9,7 +9,7 @@ $list = (is_array($list)) ? $list : [];
?> ?>
<?php foreach($list as $item): <?php foreach($list as $item):
$collection = (isset($collections[$item])) ? $collections[$item] : null; $collection = $collections[$item] ?? null;
if(empty($collection)) { if(empty($collection)) {
continue; continue;
@ -31,8 +31,8 @@ $list = (is_array($list)) ? $list : [];
<div class="box line margin-bottom-small padding-small fade-bottom"> <div class="box line margin-bottom-small padding-small fade-bottom">
<ul> <ul>
<?php foreach($rules as $i => $rule): <?php foreach($rules as $i => $rule):
$collectionLabel = (isset($rule['label'])) ? $rule['label'] : ''; $collectionLabel = $rule['label'] ?? '';
$collectionKey = (isset($rule['key'])) ? $rule['key'] : ''; $collectionKey = $rule['key'] ?? '';
if($i === 3) {break;} if($i === 3) {break;}
?> ?>

View file

@ -49,7 +49,7 @@ $rules = $collection->getAttribute('rules', []);
<tr> <tr>
<th width="40">&nbsp;</th> <th width="40">&nbsp;</th>
<?php foreach($rules as $rule): <?php foreach($rules as $rule):
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
?> ?>
<th width="120"><?php echo $this->escape($label); ?></th> <th width="120"><?php echo $this->escape($label); ?></th>
<?php endforeach; ?> <?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}}" /> <input type="radio" name="selected" data-ls-attrs="value={{node.$id}}" data-ls-bind="{{search.selected}}" />
</td> </td>
<?php foreach($rules as $rule): <?php foreach($rules as $rule):
$label = (isset($rule['label'])) ? $rule['label'] : ''; $label = $rule['label'] ?? '';
$key = (isset($rule['key'])) ? $rule['key'] : ''; $key = $rule['key'] ?? '';
$type = (isset($rule['type'])) ? $rule['type'] : ''; $type = $rule['type'] ?? '';
$array = (isset($rule['array'])) ? $rule['array'] : ''; $array = $rule['array'] ?? '';
?> ?>
<td data-title="<?php echo $this->escape($label); ?>" class="text-size-small text-height-small"> <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"> <a data-ls-attrs="href=/console/database/document?id={{node.$id}}&collection=<?php echo $this->escape($id); ?>&project={{router.params.project}}" target="_blank">

View file

@ -308,9 +308,9 @@ $providers = $this->getParam('providers', []);
<?php foreach ($providers as $provider => $data): <?php foreach ($providers as $provider => $data):
if (isset($data['enabled']) && !$data['enabled']) { continue; } if (isset($data['enabled']) && !$data['enabled']) { continue; }
if (isset($data['mock']) && $data['mock']) { continue; } if (isset($data['mock']) && $data['mock']) { continue; }
$form = (isset($data['form'])) ? $data['form'] : false; $form = $data['form'] ?? false;
$name = (isset($data['name'])) ? $data['name'] : 'Unknown'; $name = $data['name'] ?? 'Unknown';
$beta = (isset($data['beta'])) ? $data['beta'] : false; $beta = $data['beta'] ?? false;
?> ?>
<li class="<?php echo (isset($data['enabled']) && !$data['enabled']) ? 'dev-feature' : ''; ?>"> <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; ?>"> <div data-ui-modal class="modal close" data-button-alias="none" data-open-event="provider-update-<?php echo $provider; ?>">

View file

@ -52,8 +52,8 @@ class CertificatesV1
$domain = $this->args['domain']; $domain = $this->args['domain'];
// Validation Args // Validation Args
$validateTarget = (isset($this->args['validateTarget'])) ? $this->args['validateTarget'] : true; $validateTarget = $this->args['validateTarget'] ?? true;
$validateCNAME = (isset($this->args['validateCNAME'])) ? $this->args['validateCNAME'] : true; $validateCNAME = $this->args['validateCNAME'] ?? true;
// Options // Options
$domain = new Domain((!empty($domain)) ? $domain : ''); $domain = new Domain((!empty($domain)) ? $domain : '');

View file

@ -48,9 +48,9 @@ class TasksV1
* If error count bigger than allowed change status to pause * If error count bigger than allowed change status to pause
*/ */
$taskId = (isset($this->args['$id'])) ? $this->args['$id'] : null; $taskId = $this->args['$id'] ?? null;
$updated = (isset($this->args['updated'])) ? $this->args['updated'] : null; $updated = $this->args['updated'] ?? null;
$next = (isset($this->args['next'])) ? $this->args['next'] : null; $next = $this->args['next'] ?? null;
$delay = \time() - $next; $delay = \time() - $next;
$errors = []; $errors = [];
$timeout = 60 * 5; // 5 minutes $timeout = 60 * 5; // 5 minutes

View file

@ -55,12 +55,12 @@ class WebhooksV1
continue; continue;
} }
$name = (isset($webhook['name'])) ? $webhook['name'] : ''; $name = $webhook['name'] ?? '';
$signature = (isset($webhook['signature'])) ? $webhook['signature'] : 'not-yet-implemented'; $signature = $webhook['signature'] ?? 'not-yet-implemented';
$url = (isset($webhook['url'])) ? $webhook['url'] : ''; $url = $webhook['url'] ?? '';
$security = (isset($webhook['security'])) ? (bool) $webhook['security'] : true; $security = (bool) $webhook['security'] ?? true;
$httpUser = (isset($webhook['httpUser'])) ? $webhook['httpUser'] : null; $httpUser = $webhook['httpUser'] ?? null;
$httpPass = (isset($webhook['httpPass'])) ? $webhook['httpPass'] : null; $httpPass = $webhook['httpPass'] ?? null;
$ch = \curl_init($url); $ch = \curl_init($url);

162
composer.lock generated
View file

@ -102,16 +102,16 @@
}, },
{ {
"name": "colinmollenhour/credis", "name": "colinmollenhour/credis",
"version": "1.11.2", "version": "v1.11.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/colinmollenhour/credis.git", "url": "https://github.com/colinmollenhour/credis.git",
"reference": "b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53" "reference": "b458b7c65d156744f5f0c4667c0f8ce45d955435"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/colinmollenhour/credis/zipball/b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53", "url": "https://api.github.com/repos/colinmollenhour/credis/zipball/b458b7c65d156744f5f0c4667c0f8ce45d955435",
"reference": "b8b2bd6b87d2d4df67065f3510efb80d5f9c4e53", "reference": "b458b7c65d156744f5f0c4667c0f8ce45d955435",
"shasum": "" "shasum": ""
}, },
"require": { "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.", "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", "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", "name": "composer/ca-bundle",
@ -212,16 +212,16 @@
}, },
{ {
"name": "dasprid/enum", "name": "dasprid/enum",
"version": "1.0.2", "version": "1.0.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/DASPRiD/Enum.git", "url": "https://github.com/DASPRiD/Enum.git",
"reference": "6ccc0d7141a7f149e3c56cb0ce5f05d9152cfd07" "reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/DASPRiD/Enum/zipball/6ccc0d7141a7f149e3c56cb0ce5f05d9152cfd07", "url": "https://api.github.com/repos/DASPRiD/Enum/zipball/5abf82f213618696dda8e3bf6f64dd042d8542b2",
"reference": "6ccc0d7141a7f149e3c56cb0ce5f05d9152cfd07", "reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2",
"shasum": "" "shasum": ""
}, },
"require-dev": { "require-dev": {
@ -251,7 +251,7 @@
"enum", "enum",
"map" "map"
], ],
"time": "2020-07-30T16:37:13+00:00" "time": "2020-10-02T16:03:48+00:00"
}, },
{ {
"name": "domnikl/statsd", "name": "domnikl/statsd",
@ -412,23 +412,23 @@
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "dev-master", "version": "7.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "616288af85deea154a61f5b996b0df69f7252e36" "reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/616288af85deea154a61f5b996b0df69f7252e36", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/0aa74dfb41ae110835923ef10a9d803a22d50e79",
"reference": "616288af85deea154a61f5b996b0df69f7252e36", "reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.4", "guzzlehttp/promises": "^1.4",
"guzzlehttp/psr7": "^1.7", "guzzlehttp/psr7": "^1.7",
"php": "^7.2.5", "php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0" "psr/http-client": "^1.0"
}, },
"provide": { "provide": {
@ -436,8 +436,8 @@
}, },
"require-dev": { "require-dev": {
"ext-curl": "*", "ext-curl": "*",
"php-http/client-integration-tests": "dev-phpunit8", "php-http/client-integration-tests": "^3.0",
"phpunit/phpunit": "^8.5.5", "phpunit/phpunit": "^8.5.5 || ^9.3.5",
"psr/log": "^1.1" "psr/log": "^1.1"
}, },
"suggest": { "suggest": {
@ -506,7 +506,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-09-30T15:03:52+00:00" "time": "2020-10-10T11:47:56+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
@ -693,23 +693,23 @@
}, },
{ {
"name": "maxmind-db/reader", "name": "maxmind-db/reader",
"version": "v1.7.0", "version": "v1.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/maxmind/MaxMind-DB-Reader-php.git", "url": "https://github.com/maxmind/MaxMind-DB-Reader-php.git",
"reference": "942553da239f12051275f9c666538b5dd09e2908" "reference": "b566d429ac9aec10594b0935be8ff38302f8d5c8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/942553da239f12051275f9c666538b5dd09e2908", "url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/b566d429ac9aec10594b0935be8ff38302f8d5c8",
"reference": "942553da239f12051275f9c666538b5dd09e2908", "reference": "b566d429ac9aec10594b0935be8ff38302f8d5c8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.2" "php": ">=7.2"
}, },
"conflict": { "conflict": {
"ext-maxminddb": "<1.7.0,>=2.0.0" "ext-maxminddb": "<1.8.0,>=2.0.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "2.*", "friendsofphp/php-cs-fixer": "2.*",
@ -749,31 +749,31 @@
"geolocation", "geolocation",
"maxmind" "maxmind"
], ],
"time": "2020-08-07T22:10:05+00:00" "time": "2020-10-01T17:30:21+00:00"
}, },
{ {
"name": "maxmind/web-service-common", "name": "maxmind/web-service-common",
"version": "v0.7.0", "version": "v0.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/maxmind/web-service-common-php.git", "url": "https://github.com/maxmind/web-service-common-php.git",
"reference": "74c996c218ada5c639c8c2f076756e059f5552fc" "reference": "ba67d9532cfaf499bd71774b8170d05df4f75fb7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/maxmind/web-service-common-php/zipball/74c996c218ada5c639c8c2f076756e059f5552fc", "url": "https://api.github.com/repos/maxmind/web-service-common-php/zipball/ba67d9532cfaf499bd71774b8170d05df4f75fb7",
"reference": "74c996c218ada5c639c8c2f076756e059f5552fc", "reference": "ba67d9532cfaf499bd71774b8170d05df4f75fb7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"composer/ca-bundle": "^1.0.3", "composer/ca-bundle": "^1.0.3",
"ext-curl": "*", "ext-curl": "*",
"ext-json": "*", "ext-json": "*",
"php": ">=5.6" "php": ">=7.2"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "2.*", "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.*" "squizlabs/php_codesniffer": "3.*"
}, },
"type": "library", "type": "library",
@ -795,7 +795,7 @@
], ],
"description": "Internal MaxMind Web Service API", "description": "Internal MaxMind Web Service API",
"homepage": "https://github.com/maxmind/web-service-common-php", "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", "name": "mustangostang/spyc",
@ -1665,7 +1665,7 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/appwrite/sdk-generator", "url": "https://github.com/appwrite/sdk-generator",
"reference": "552f9d872210c8a689727dd3a661c163b3816686" "reference": "a57b3cd56c4bfe1538276cfc77456cf95d8835cb"
}, },
"require": { "require": {
"ext-curl": "*", "ext-curl": "*",
@ -1695,7 +1695,7 @@
} }
], ],
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "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", "name": "doctrine/instantiator",
@ -1882,12 +1882,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/myclabs/DeepCopy.git", "url": "https://github.com/myclabs/DeepCopy.git",
"reference": "a3409d10079990eeb489c3fead0ac070b5b38895" "reference": "00aba97fc36feabc8d94667eebd5d43959e60008"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/a3409d10079990eeb489c3fead0ac070b5b38895", "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/00aba97fc36feabc8d94667eebd5d43959e60008",
"reference": "a3409d10079990eeb489c3fead0ac070b5b38895", "reference": "00aba97fc36feabc8d94667eebd5d43959e60008",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1928,7 +1928,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-08-28T16:31:07+00:00" "time": "2020-10-01T09:35:15+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
@ -2300,12 +2300,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "a6037d775070cc82732c21809664c63fb4f19916" "reference": "ece0c3ceee73810bd95226401bbfaea9e0f64de7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a6037d775070cc82732c21809664c63fb4f19916", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ece0c3ceee73810bd95226401bbfaea9e0f64de7",
"reference": "a6037d775070cc82732c21809664c63fb4f19916", "reference": "ece0c3ceee73810bd95226401bbfaea9e0f64de7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2365,7 +2365,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-09-27T04:42:46+00:00" "time": "2020-10-09T14:34:55+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@ -2594,16 +2594,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "9.3.11", "version": "dev-master",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "f7316ea106df7c9507f4fdaa88c47bc10a3b27a1" "reference": "8b79c2a70ae855e582cef1ca63a849fe07bdb01d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f7316ea106df7c9507f4fdaa88c47bc10a3b27a1", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8b79c2a70ae855e582cef1ca63a849fe07bdb01d",
"reference": "f7316ea106df7c9507f4fdaa88c47bc10a3b27a1", "reference": "8b79c2a70ae855e582cef1ca63a849fe07bdb01d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2618,23 +2618,23 @@
"phar-io/manifest": "^2.0.1", "phar-io/manifest": "^2.0.1",
"phar-io/version": "^3.0.2", "phar-io/version": "^3.0.2",
"php": ">=7.3", "php": ">=7.3",
"phpspec/prophecy": "^1.11.1", "phpspec/prophecy": "^1.12.1",
"phpunit/php-code-coverage": "^9.1.11", "phpunit/php-code-coverage": "^9.2",
"phpunit/php-file-iterator": "^3.0.4", "phpunit/php-file-iterator": "^3.0.5",
"phpunit/php-invoker": "^3.1", "phpunit/php-invoker": "^3.1.1",
"phpunit/php-text-template": "^2.0.2", "phpunit/php-text-template": "^2.0.3",
"phpunit/php-timer": "^5.0.1", "phpunit/php-timer": "^5.0.2",
"sebastian/cli-parser": "^1.0", "sebastian/cli-parser": "^1.0.1",
"sebastian/code-unit": "^1.0.5", "sebastian/code-unit": "^1.0.6",
"sebastian/comparator": "^4.0.3", "sebastian/comparator": "^4.0.5",
"sebastian/diff": "^4.0.2", "sebastian/diff": "^4.0.3",
"sebastian/environment": "^5.1.2", "sebastian/environment": "^5.1.3",
"sebastian/exporter": "^4.0.2", "sebastian/exporter": "^4.0.3",
"sebastian/global-state": "^5.0", "sebastian/global-state": "^5.0.1",
"sebastian/object-enumerator": "^4.0.2", "sebastian/object-enumerator": "^4.0.3",
"sebastian/resource-operations": "^3.0.2", "sebastian/resource-operations": "^3.0.3",
"sebastian/type": "^2.2.1", "sebastian/type": "^2.3",
"sebastian/version": "^3.0.1" "sebastian/version": "^3.0.2"
}, },
"require-dev": { "require-dev": {
"ext-pdo": "*", "ext-pdo": "*",
@ -2650,7 +2650,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "9.3-dev" "dev-master": "9.5-dev"
} }
}, },
"autoload": { "autoload": {
@ -2689,7 +2689,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-09-24T08:08:49+00:00" "time": "2020-10-11T07:43:20+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@ -2749,12 +2749,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/code-unit.git", "url": "https://github.com/sebastianbergmann/code-unit.git",
"reference": "d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8" "reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8", "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/59236be62b1bb9919e6d7f60b0b832dc05cef9ab",
"reference": "d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8", "reference": "59236be62b1bb9919e6d7f60b0b832dc05cef9ab",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2793,7 +2793,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-09-28T05:28:46+00:00" "time": "2020-10-02T14:47:54+00:00"
}, },
{ {
"name": "sebastian/code-unit-reverse-lookup", "name": "sebastian/code-unit-reverse-lookup",
@ -2975,12 +2975,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/diff.git", "url": "https://github.com/sebastianbergmann/diff.git",
"reference": "ffc949a1a2aae270ea064453d7535b82e4c32092" "reference": "e3ec6059b3fe483d42fbaf1fe6eefa201f7b4a6d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ffc949a1a2aae270ea064453d7535b82e4c32092", "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/e3ec6059b3fe483d42fbaf1fe6eefa201f7b4a6d",
"reference": "ffc949a1a2aae270ea064453d7535b82e4c32092", "reference": "e3ec6059b3fe483d42fbaf1fe6eefa201f7b4a6d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3029,7 +3029,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-09-28T05:32:55+00:00" "time": "2020-10-13T11:48:30+00:00"
}, },
{ {
"name": "sebastian/environment", "name": "sebastian/environment",
@ -3496,12 +3496,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/type.git", "url": "https://github.com/sebastianbergmann/type.git",
"reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea" "reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/e494dcaeb89d1458c9ccd8c819745245a1669aea", "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fa592377f3923946cb90bf1f6a71ba2e5f229909",
"reference": "e494dcaeb89d1458c9ccd8c819745245a1669aea", "reference": "fa592377f3923946cb90bf1f6a71ba2e5f229909",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3513,7 +3513,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.2-dev" "dev-master": "2.3-dev"
} }
}, },
"autoload": { "autoload": {
@ -3540,7 +3540,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-09-28T06:01:38+00:00" "time": "2020-10-06T08:41:03+00:00"
}, },
{ {
"name": "sebastian/version", "name": "sebastian/version",
@ -3830,12 +3830,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/twigphp/Twig.git", "url": "https://github.com/twigphp/Twig.git",
"reference": "f4aacffcbb556d443a15c4e49d62070903c05270" "reference": "fa2f1ccdb44a973571235c4a78487c040f26f116"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/f4aacffcbb556d443a15c4e49d62070903c05270", "url": "https://api.github.com/repos/twigphp/Twig/zipball/fa2f1ccdb44a973571235c4a78487c040f26f116",
"reference": "f4aacffcbb556d443a15c4e49d62070903c05270", "reference": "fa2f1ccdb44a973571235c4a78487c040f26f116",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3897,7 +3897,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-09-27T05:01:29+00:00" "time": "2020-10-14T06:37:57+00:00"
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",