We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afaacaf commit 2e089baCopy full SHA for 2e089ba
config/nightwatch.php
@@ -3,7 +3,7 @@
3
return [
4
'enabled' => env('NIGHTWATCH_ENABLED', true),
5
'token' => env('NIGHTWATCH_TOKEN'),
6
- 'deployment' => env('NIGHTWATCH_DEPLOY', rescue(fn () => trim((string) shell_exec('git describe --tags 2>/dev/null || git rev-parse --short HEAD 2>/dev/null')), '', false)),
+ 'deployment' => env('NIGHTWATCH_DEPLOY', rescue(static fn () => trim((string) shell_exec('git describe --tags 2>/dev/null || git rev-parse --short HEAD 2>/dev/null')), '', false)),
7
'server' => env('NIGHTWATCH_SERVER', (string) gethostname()),
8
'capture_exception_source_code' => env('NIGHTWATCH_CAPTURE_EXCEPTION_SOURCE_CODE', true),
9
'redact_headers' => explode(',', env('NIGHTWATCH_REDACT_HEADERS', 'Authorization,Cookie,Proxy-Authorization,X-XSRF-TOKEN')),
0 commit comments