From ed4ffd7882954db8937764625b2b7585af73d954 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Sep 2021 08:07:42 +0200 Subject: update to 3.1.0beta1 --- PHPINFO | 10 +++++++--- REFLECTION | 49 +++++++++++++++++++++++++++++++++---------------- php-pecl-xdebug3.spec | 14 ++++++++++---- 3 files changed, 50 insertions(+), 23 deletions(-) diff --git a/PHPINFO b/PHPINFO index e4dfa52..1bdf69f 100644 --- a/PHPINFO +++ b/PHPINFO @@ -10,23 +10,27 @@ xdebug  __/ |  |___/ -Version => 3.0.4 +Version => 3.1.0beta1 Support Xdebug on Patreon, GitHub, or as a business: https://xdebug.org/support - Enabled Features
(through 'xdebug.mode' setting) + Enabled Features (through 'xdebug.mode' setting) Feature => Enabled/Disabled -Development Aids => ✔ enabled +Development Helpers => ✔ enabled Coverage => ✘ disabled GC Stats => ✘ disabled Profiler => ✘ disabled Step Debugger => ✘ disabled Tracing => ✘ disabled + Optional Features +Compressed File Support => yes (gzip) + Directive => Local Value => Master Value xdebug.mode => develop => develop xdebug.start_with_request => default => default xdebug.start_upon_error => default => default xdebug.output_dir => /tmp => /tmp +xdebug.use_compression => 1 => 1 xdebug.trigger_value => no value => no value xdebug.file_link_format => no value => no value xdebug.filename_format => no value => no value diff --git a/REFLECTION b/REFLECTION index 61d8fde..851ce55 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #15 xdebug version 3.0.4 ] { +Extension [ extension #16 xdebug version 3.1.0beta1 ] { - INI { Entry [ xdebug.mode ] @@ -13,6 +13,9 @@ Extension [ extension #15 xdebug version 3.0.4 ] { Entry [ xdebug.output_dir ] Current = '/tmp' } + Entry [ xdebug.use_compression ] + Current = '1' + } Entry [ xdebug.trigger_value ] Current = '' } @@ -254,25 +257,25 @@ Extension [ extension #15 xdebug version 3.0.4 ] { Function [ function xdebug_call_class ] { - Parameters [1] { - Parameter #0 [ int $depth ] + Parameter #0 [ int $depth = 2 ] } } Function [ function xdebug_call_file ] { - Parameters [1] { - Parameter #0 [ int $depth ] + Parameter #0 [ int $depth = 2 ] } } Function [ function xdebug_call_function ] { - Parameters [1] { - Parameter #0 [ int $depth ] + Parameter #0 [ int $depth = 2 ] } } Function [ function xdebug_call_line ] { - Parameters [1] { - Parameter #0 [ int $depth ] + Parameter #0 [ int $depth = 2 ] } } Function [ function xdebug_code_coverage_started ] { @@ -281,6 +284,12 @@ Extension [ extension #15 xdebug version 3.0.4 ] { } - Return [ bool ] } + Function [ function xdebug_connect_to_client ] { + + - Parameters [0] { + } + - Return [ bool ] + } Function [ function xdebug_debug_zval ] { - Parameters [1] { @@ -307,7 +316,7 @@ Extension [ extension #15 xdebug version 3.0.4 ] { Function [ function xdebug_get_collected_errors ] { - Parameters [1] { - Parameter #0 [ bool $emptyList ] + Parameter #0 [ bool $emptyList = false ] } - Return [ array ] } @@ -370,7 +379,8 @@ Extension [ extension #15 xdebug version 3.0.4 ] { } Function [ function xdebug_info ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $category = null ] } } Function [ function xdebug_is_debugger_active ] { @@ -385,6 +395,13 @@ Extension [ extension #15 xdebug version 3.0.4 ] { } - Return [ int ] } + Function [ function xdebug_notify ] { + + - Parameters [1] { + Parameter #0 [ mixed $data ] + } + - Return [ bool ] + } Function [ function xdebug_peak_memory_usage ] { - Parameters [0] { @@ -394,8 +411,8 @@ Extension [ extension #15 xdebug version 3.0.4 ] { Function [ function xdebug_print_function_stack ] { - Parameters [2] { - Parameter #0 [ string $message ] - Parameter #1 [ int $options ] + Parameter #0 [ string $message = "user triggered" ] + Parameter #1 [ int $options = 0 ] } } Function [ function xdebug_set_filter ] { @@ -409,7 +426,7 @@ Extension [ extension #15 xdebug version 3.0.4 ] { Function [ function xdebug_start_code_coverage ] { - Parameters [1] { - Parameter #0 [ int $options ] + Parameter #0 [ int $options = 0 ] } } Function [ function xdebug_start_error_collection ] { @@ -426,21 +443,21 @@ Extension [ extension #15 xdebug version 3.0.4 ] { Function [ function xdebug_start_gcstats ] { - Parameters [1] { - Parameter #0 [ string or NULL $gcstatsFile ] + Parameter #0 [ ?string $gcstatsFile = null ] } } Function [ function xdebug_start_trace ] { - Parameters [2] { - Parameter #0 [ string or NULL $traceFile ] - Parameter #1 [ int $options ] + Parameter #0 [ ?string $traceFile = null ] + Parameter #1 [ int $options = 0 ] } - - Return [ string or NULL ] + - Return [ ?string ] } Function [ function xdebug_stop_code_coverage ] { - Parameters [1] { - Parameter #0 [ bool $cleanUp ] + Parameter #0 [ bool $cleanUp = true ] } } Function [ function xdebug_stop_error_collection ] { @@ -472,7 +489,7 @@ Extension [ extension #15 xdebug version 3.0.4 ] { Function [ function xdebug_var_dump ] { - Parameters [1] { - Parameter #0 [ ...$variable ] + Parameter #0 [ mixed ...$variable ] } } } diff --git a/php-pecl-xdebug3.spec b/php-pecl-xdebug3.spec index bc22d2a..8a1386d 100644 --- a/php-pecl-xdebug3.spec +++ b/php-pecl-xdebug3.spec @@ -21,14 +21,14 @@ %global pecl_name xdebug %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} -%global gh_commit 54c7c2521763ee522809de0c54311443b11343c1 +%global gh_commit ab502054a44a594774c63e9037f1802cb861c224 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20201011 # version/release -%global upstream_version 3.0.4 -#global upstream_prever RC1 -#global upstream_lower rc1 +%global upstream_version 3.1.0 +%global upstream_prever beta1 +%global upstream_lower beta1 # XDebug should be loaded after opcache %global ini_name 15-%{pecl_name}.ini @@ -102,6 +102,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "8.0" Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.1" +Obsoletes: php81-pecl-%{pecl_name} <= %{version} +%endif %endif @@ -292,6 +295,9 @@ fi %changelog +* Mon Sep 6 2021 Remi Collet - 3.1.0~beta1-1 +- update to 3.1.0beta1 + * Thu Apr 8 2021 Remi Collet - 3.0.4-1 - update to 3.0.4 -- cgit