style: update ecs config to align associative arrays arrows

update composer dependencies to latest
This commit is contained in:
Yassine Doghri 2023-06-12 14:47:38 +00:00
commit 2a50f6e4d2
268 changed files with 3833 additions and 3973 deletions

View file

@ -28,19 +28,19 @@ class NodeInfo2Controller extends Controller
$nodeInfo2 = [
'version' => '1.0',
'server' => [
'baseUrl' => base_url(),
'name' => esc(service('settings') ->get('App.siteName')),
'server' => [
'baseUrl' => base_url(),
'name' => esc(service('settings') ->get('App.siteName')),
'software' => 'Castopod',
'version' => CP_VERSION,
'version' => CP_VERSION,
],
'protocols' => ['activitypub'],
'protocols' => ['activitypub'],
'openRegistrations' => config('Auth')
->allowRegistration,
'usage' => [
'users' => [
'total' => $totalUsers,
'activeMonth' => $activeMonth,
'total' => $totalUsers,
'activeMonth' => $activeMonth,
'activeHalfyear' => $activeHalfyear,
],
'localPosts' => $totalPosts,