Skip to content

Commit 19300cc

Browse files
committed
format files in app, src, tests
1 parent 902e74a commit 19300cc

237 files changed

Lines changed: 2504 additions & 2366 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎app/cli.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
2-
require_once __DIR__.'/init.php';
3-
require_once __DIR__.'/controllers/general.php';
2+
3+
require_once __DIR__ . '/init.php';
4+
require_once __DIR__ . '/controllers/general.php';
45

56
use Utopia\App;
67
use Utopia\CLI\CLI;
@@ -28,4 +29,4 @@
2829
Console::log(App::getEnv('_APP_VERSION', 'UNKNOWN'));
2930
});
3031

31-
$cli->run();
32+
$cli->run();

‎app/config/auth.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php
22

33
// Auth methods
44

@@ -45,4 +45,4 @@
4545
'docs' => '',
4646
'enabled' => false,
4747
],
48-
];
48+
];

‎app/config/avatars/browsers.php‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
return [
44
// Codes based on: https://github.com/matomo-org/device-detector/blob/master/Parser/Client/Browser.php
5-
'aa' => __DIR__.'/browsers/avant.png',
6-
'an' => __DIR__.'/browsers/android-webview-beta.png',
7-
'ch' => __DIR__.'/browsers/chrome.png',
8-
'ci' => __DIR__.'/browsers/chrome.png', //Chrome Mobile iOS
9-
'cm' => __DIR__.'/browsers/chrome.png', //Chrome Mobile
10-
'cr' => __DIR__.'/browsers/chromium.png',
11-
'ff' => __DIR__.'/browsers/firefox.png',
12-
'sf' => __DIR__.'/browsers/safari.png',
13-
'mf' => __DIR__.'/browsers/safari.png',
14-
'ps' => __DIR__.'/browsers/edge.png',
15-
'oi' => __DIR__.'/browsers/edge.png',
16-
'om' => __DIR__.'/browsers/opera-mini.png',
17-
'op' => __DIR__.'/browsers/opera.png',
18-
'on' => __DIR__.'/browsers/opera.png',
5+
'aa' => __DIR__ . '/browsers/avant.png',
6+
'an' => __DIR__ . '/browsers/android-webview-beta.png',
7+
'ch' => __DIR__ . '/browsers/chrome.png',
8+
'ci' => __DIR__ . '/browsers/chrome.png', //Chrome Mobile iOS
9+
'cm' => __DIR__ . '/browsers/chrome.png', //Chrome Mobile
10+
'cr' => __DIR__ . '/browsers/chromium.png',
11+
'ff' => __DIR__ . '/browsers/firefox.png',
12+
'sf' => __DIR__ . '/browsers/safari.png',
13+
'mf' => __DIR__ . '/browsers/safari.png',
14+
'ps' => __DIR__ . '/browsers/edge.png',
15+
'oi' => __DIR__ . '/browsers/edge.png',
16+
'om' => __DIR__ . '/browsers/opera-mini.png',
17+
'op' => __DIR__ . '/browsers/opera.png',
18+
'on' => __DIR__ . '/browsers/opera.png',
1919

2020
/*
2121
'36' => '360 Phone Browser',
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?php
22

33
return [
4-
'amex' => __DIR__.'/credit-cards/amex.png',
5-
'argencard' => __DIR__.'/credit-cards/argencard.png',
6-
'cabal' => __DIR__.'/credit-cards/cabal.png',
7-
'censosud' => __DIR__.'/credit-cards/consosud.png',
8-
'diners' => __DIR__.'/credit-cards/diners.png',
9-
'discover' => __DIR__.'/credit-cards/discover.png',
10-
'elo' => __DIR__.'/credit-cards/elo.png',
11-
'hipercard' => __DIR__.'/credit-cards/hipercard.png',
12-
'jcb' => __DIR__.'/credit-cards/jcb.png',
13-
'mastercard' => __DIR__.'/credit-cards/mastercard.png',
14-
'naranja' => __DIR__.'/credit-cards/naranja.png',
15-
'targeta-shopping' => __DIR__.'/credit-cards/tarjeta-shopping.png',
16-
'union-china-pay' => __DIR__.'/credit-cards/union-china-pay.png',
17-
'visa' => __DIR__.'/credit-cards/visa.png',
18-
'mir' => __DIR__.'/credit-cards/mir.png',
19-
'maestro' => __DIR__.'/credit-cards/maestro.png',
4+
'amex' => __DIR__ . '/credit-cards/amex.png',
5+
'argencard' => __DIR__ . '/credit-cards/argencard.png',
6+
'cabal' => __DIR__ . '/credit-cards/cabal.png',
7+
'censosud' => __DIR__ . '/credit-cards/consosud.png',
8+
'diners' => __DIR__ . '/credit-cards/diners.png',
9+
'discover' => __DIR__ . '/credit-cards/discover.png',
10+
'elo' => __DIR__ . '/credit-cards/elo.png',
11+
'hipercard' => __DIR__ . '/credit-cards/hipercard.png',
12+
'jcb' => __DIR__ . '/credit-cards/jcb.png',
13+
'mastercard' => __DIR__ . '/credit-cards/mastercard.png',
14+
'naranja' => __DIR__ . '/credit-cards/naranja.png',
15+
'targeta-shopping' => __DIR__ . '/credit-cards/tarjeta-shopping.png',
16+
'union-china-pay' => __DIR__ . '/credit-cards/union-china-pay.png',
17+
'visa' => __DIR__ . '/credit-cards/visa.png',
18+
'mir' => __DIR__ . '/credit-cards/mir.png',
19+
'maestro' => __DIR__ . '/credit-cards/maestro.png',
2020
];

0 commit comments

Comments
 (0)