Skip to content

Commit d86e742

Browse files
committed
formatting
2 parents adf340d + 069e868 commit d86e742

File tree

368 files changed

+4850
-1535
lines changed

Some content is hidden

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

368 files changed

+4850
-1535
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
4141

4242
- name: Execute type checking
43-
run: vendor/bin/phpstan --configuration="phpstan.${{ matrix.directory }}.neon.dist"
43+
run: vendor/bin/phpstan --configuration="phpstan.${{ matrix.directory }}.neon.dist" --no-progress

CHANGELOG.md

Lines changed: 198 additions & 1 deletion
Large diffs are not rendered by default.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"ext-session": "*",
2525
"ext-tokenizer": "*",
2626
"composer-runtime-api": "^2.2",
27-
"brick/math": "^0.9.3|^0.10.2|^0.11|^0.12",
27+
"brick/math": "^0.11|^0.12",
2828
"doctrine/inflector": "^2.0.5",
2929
"dragonmantank/cron-expression": "^3.4",
3030
"egulias/email-validator": "^3.2.1|^4.0",

config-stubs/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
|
6666
*/
6767

68-
'timezone' => env('APP_TIMEZONE', 'UTC'),
68+
'timezone' => 'UTC',
6969

7070
/*
7171
|--------------------------------------------------------------------------

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
|
7373
*/
7474

75-
'timezone' => env('APP_TIMEZONE', 'UTC'),
75+
'timezone' => 'UTC',
7676

7777
/*
7878
|--------------------------------------------------------------------------

config/filesystems.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232

3333
'local' => [
3434
'driver' => 'local',
35-
'root' => storage_path('app'),
35+
'root' => storage_path('app/private'),
36+
'serve' => true,
3637
'throw' => false,
3738
'report' => false,
3839
],

config/logging.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@
9898
'driver' => 'monolog',
9999
'level' => env('LOG_LEVEL', 'debug'),
100100
'handler' => StreamHandler::class,
101-
'formatter' => env('LOG_STDERR_FORMATTER'),
102-
'with' => [
101+
'handler_with' => [
103102
'stream' => 'php://stderr',
104103
],
104+
'formatter' => env('LOG_STDERR_FORMATTER'),
105105
'processors' => [PsrLogMessageProcessor::class],
106106
],
107107

src/Illuminate/Auth/Access/Gate.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ protected function authorizeOnDemand($condition, $message, $code, $allowWhenResp
180180

181181
if ($condition instanceof Closure) {
182182
$response = $this->canBeCalledWithUser($user, $condition)
183-
? $condition($user)
184-
: new Response(false, $message, $code);
183+
? $condition($user)
184+
: new Response(false, $message, $code);
185185
} else {
186186
$response = $condition;
187187
}
@@ -277,8 +277,8 @@ protected function buildAbilityCallback($ability, $callback)
277277
}
278278

279279
return isset($method)
280-
? $policy->{$method}(...func_get_args())
281-
: $policy(...func_get_args());
280+
? $policy->{$method}(...func_get_args())
281+
: $policy(...func_get_args());
282282
};
283283
}
284284

src/Illuminate/Auth/DatabaseUserProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ public function retrieveByToken($identifier, #[\SensitiveParameter] $token)
7474
);
7575

7676
return $user && $user->getRememberToken() && hash_equals($user->getRememberToken(), $token)
77-
? $user : null;
77+
? $user
78+
: null;
7879
}
7980

8081
/**

src/Illuminate/Auth/EloquentUserProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ public function rehashPasswordIfRequired(UserContract $user, #[\SensitiveParamet
189189
protected function newModelQuery($model = null)
190190
{
191191
$query = is_null($model)
192-
? $this->createModel()->newQuery()
193-
: $model->newQuery();
192+
? $this->createModel()->newQuery()
193+
: $model->newQuery();
194194

195195
with($query, $this->queryCallback);
196196

0 commit comments

Comments
 (0)