From a602a85c4336a7e6b6913aeef9aafcba2d7dda26 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 30 Nov 2024 11:40:51 +0000 Subject: [PATCH 1/3] [PHP 8.4] pcntl update part 1 --- .../pcntl/functions/pcntl-sigprocmask.xml | 32 +++++++++++++++++ .../pcntl/functions/pcntl-sigtimedwait.xml | 35 +++++++++++++++++++ .../pcntl/functions/pcntl-sigwaitinfo.xml | 29 +++++++++++++++ 3 files changed, 96 insertions(+) diff --git a/reference/pcntl/functions/pcntl-sigprocmask.xml b/reference/pcntl/functions/pcntl-sigprocmask.xml index a57ad686db2f..787691841aea 100644 --- a/reference/pcntl/functions/pcntl-sigprocmask.xml +++ b/reference/pcntl/functions/pcntl-sigprocmask.xml @@ -69,6 +69,38 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.4.0 + + A ValueError is thrown if signal + is empty. + A TypeError is thrown if signal + value is not an int. + A ValueError is thrown if signal + value is invalid. + A ValueError is thrown if mode + value is not SIG_BLOCK, SIG_UNBLOCK or + SIG_SETMASK. + + + + + + + + &reftitle.examples; diff --git a/reference/pcntl/functions/pcntl-sigtimedwait.xml b/reference/pcntl/functions/pcntl-sigtimedwait.xml index 752218ebf538..19a021a18ef4 100644 --- a/reference/pcntl/functions/pcntl-sigtimedwait.xml +++ b/reference/pcntl/functions/pcntl-sigtimedwait.xml @@ -73,6 +73,41 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.4.0 + + A ValueError is thrown if signal + is empty. + A TypeError is thrown if signal + value is not an int. + A ValueError is thrown if signal + value is invalid. + A ValueError is thrown if seconds + value is less than 0. + A ValueError is thrown if nanoseconds + value is less than 0. + A ValueError is thrown if both seconds and + nanoseconds values are 0. + + + + + + + + &reftitle.seealso; diff --git a/reference/pcntl/functions/pcntl-sigwaitinfo.xml b/reference/pcntl/functions/pcntl-sigwaitinfo.xml index cc5ecac32f74..01308adb0927 100644 --- a/reference/pcntl/functions/pcntl-sigwaitinfo.xml +++ b/reference/pcntl/functions/pcntl-sigwaitinfo.xml @@ -88,6 +88,35 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.4.0 + + A ValueError is thrown if signal + is empty. + A TypeError is thrown if signal + value is not an int. + A ValueError is thrown if signal + value is invalid. + + + + + + + + &reftitle.examples; From 78471b945af2667eeddf67fccbefefc8a6f98e72 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 1 Dec 2024 12:59:46 +0000 Subject: [PATCH 2/3] fixes from review --- .../pcntl/functions/pcntl-sigprocmask.xml | 69 +++++++++------ .../pcntl/functions/pcntl-sigtimedwait.xml | 85 ++++++++++++------- .../pcntl/functions/pcntl-sigwaitinfo.xml | 54 +++++++----- 3 files changed, 126 insertions(+), 82 deletions(-) diff --git a/reference/pcntl/functions/pcntl-sigprocmask.xml b/reference/pcntl/functions/pcntl-sigprocmask.xml index 787691841aea..e1a0c00afacd 100644 --- a/reference/pcntl/functions/pcntl-sigprocmask.xml +++ b/reference/pcntl/functions/pcntl-sigprocmask.xml @@ -71,34 +71,47 @@ &reftitle.changelog; - - - - - - &Version; - &Description; - - - - - 8.4.0 - - A ValueError is thrown if signal - is empty. - A TypeError is thrown if signal - value is not an int. - A ValueError is thrown if signal - value is invalid. - A ValueError is thrown if mode - value is not SIG_BLOCK, SIG_UNBLOCK or - SIG_SETMASK. - - - - - - + + + + + &Version; + &Description; + + + + + 8.4.0 + + A ValueError is thrown if signal + is empty. + + + + 8.4.0 + + A TypeError is thrown if signal + value is not an int. + + + + 8.4.0 + + A ValueError is thrown if signal + value is invalid. + + + + 8.4.0 + + A ValueError is thrown if mode + value is not SIG_BLOCK, SIG_UNBLOCK or + SIG_SETMASK. + + + + + diff --git a/reference/pcntl/functions/pcntl-sigtimedwait.xml b/reference/pcntl/functions/pcntl-sigtimedwait.xml index 19a021a18ef4..99aeb5631a62 100644 --- a/reference/pcntl/functions/pcntl-sigtimedwait.xml +++ b/reference/pcntl/functions/pcntl-sigtimedwait.xml @@ -75,37 +75,60 @@ &reftitle.changelog; - - - - - - &Version; - &Description; - - - - - 8.4.0 - - A ValueError is thrown if signal - is empty. - A TypeError is thrown if signal - value is not an int. - A ValueError is thrown if signal - value is invalid. - A ValueError is thrown if seconds - value is less than 0. - A ValueError is thrown if nanoseconds - value is less than 0. - A ValueError is thrown if both seconds and - nanoseconds values are 0. - - - - - - + + + + + &Version; + &Description; + + + + + 8.4.0 + + A ValueError is thrown if signal + is empty. + + + + 8.4.0 + + A TypeError is thrown if signal + value is not an int. + + + + 8.4.0 + + A ValueError is thrown if signal + value is invalid. + + + + 8.4.0 + + A ValueError is thrown if seconds + value is less than 0. + + + + 8.4.0 + + A ValueError is thrown if nanoseconds + value is less than 0. + + + + 8.4.0 + + A ValueError is thrown if both seconds and + nanoseconds values are 0. + + + + + diff --git a/reference/pcntl/functions/pcntl-sigwaitinfo.xml b/reference/pcntl/functions/pcntl-sigwaitinfo.xml index 01308adb0927..67a9cee57376 100644 --- a/reference/pcntl/functions/pcntl-sigwaitinfo.xml +++ b/reference/pcntl/functions/pcntl-sigwaitinfo.xml @@ -90,31 +90,39 @@ &reftitle.changelog; - - - - - - &Version; - &Description; - - - - - 8.4.0 - - A ValueError is thrown if signal - is empty. - A TypeError is thrown if signal - value is not an int. - A ValueError is thrown if signal - value is invalid. - - - + + + + + &Version; + &Description; + + + + + 8.4.0 + + A ValueError is thrown if signal + is empty. + + + + 8.4.0 + + A TypeError is thrown if signal + value is not an int. + + + + 8.4.0 + + A ValueError is thrown if signal + value is invalid. + + + - From 2c3e06a61c66f06cd62abb65fafa7abd7a177b37 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Mon, 2 Dec 2024 13:03:48 +0000 Subject: [PATCH 3/3] Nit --- reference/pcntl/functions/pcntl-sigwaitinfo.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/pcntl/functions/pcntl-sigwaitinfo.xml b/reference/pcntl/functions/pcntl-sigwaitinfo.xml index 67a9cee57376..8c03bef9c159 100644 --- a/reference/pcntl/functions/pcntl-sigwaitinfo.xml +++ b/reference/pcntl/functions/pcntl-sigwaitinfo.xml @@ -121,8 +121,8 @@ - - + +