From c73655f4f9d398138f3f24ca09868f3baa6f19d9 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Mon, 10 Jun 2024 11:22:51 +0100 Subject: [PATCH] feat(presets): adds `xdebug_*` functions --- src/ArchPresets/Base.php | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/ArchPresets/Base.php b/src/ArchPresets/Base.php index 18f5cf92..98bfa808 100644 --- a/src/ArchPresets/Base.php +++ b/src/ArchPresets/Base.php @@ -30,6 +30,47 @@ final class Base extends AbstractPreset 'print', 'print_r', 'var_export', + 'xdebug_break', + 'xdebug_call_class', + 'xdebug_call_file', + 'xdebug_call_(int', + 'xdebug_call_line', + 'xdebug_code_coverage_started', + 'xdebug_connect_to_client', + 'xdebug_debug_zval', + 'xdebug_debug_zval_stdout', + 'xdebug_dump_superglobals', + 'xdebug_get_code_coverage', + 'xdebug_get_collected_errors', + 'xdebug_get_function_count', + 'xdebug_get_function_stack', + 'xdebug_get_gc_run_count', + 'xdebug_get_gc_total_collected_roots', + 'xdebug_get_gcstats_filename', + 'xdebug_get_headers', + 'xdebug_get_monitored_functions', + 'xdebug_get_profiler_filename', + 'xdebug_get_stack_depth', + 'xdebug_get_tracefile_name', + 'xdebug_info', + 'xdebug_is_debugger_active', + 'xdebug_memory_usage', + 'xdebug_notify', + 'xdebug_peak_memory_usage', + 'xdebug_print_function_stack', + 'xdebug_set_filter', + 'xdebug_start_code_coverage', + 'xdebug_start_error_collection', + 'xdebug_start_function_monitor', + 'xdebug_start_gcstats', + 'xdebug_start_trace', + 'xdebug_stop_code_coverage', + 'xdebug_stop_error_collection', + 'xdebug_stop_function_monitor', + 'xdebug_stop_gcstats', + 'xdebug_stop_trace', + 'xdebug_time_index', + 'xdebug_var_dump', ])->not->toBeUsed(); } }