Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some details for clockwork profiler to work #2465

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/Actions/Diagnostics/Pipes/Checks/IniSettingsCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ public function handle(array &$data, \Closure $next): array
// @codeCoverageIgnoreEnd
}

if (extension_loaded('xdebug')) {
// @codeCoverageIgnoreStart
$data[] = 'Info: xdebug mode:' . ini_get('xdebug.mode');
$data[] = 'Info: xdebug start_with_request:' . ini_get('xdebug.start_with_request');
// @codeCoverageIgnoreEnd
}

if (ini_get('assert.exception') !== '1') {
// @codeCoverageIgnoreStart
$data[] = 'Warning: assert.exception is set to false. Lychee assumes that failing assertions throw proper exceptions.';
Expand Down
Loading