From 60d0cbd1238413af4f14e7dfa066b5fe0b7780b2 Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Mon, 27 Feb 2023 13:36:45 +0100 Subject: [PATCH 1/2] added pcntl to requirements check --- framework/requirements/requirements.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/framework/requirements/requirements.php b/framework/requirements/requirements.php index 55593061518..d065f6363bc 100644 --- a/framework/requirements/requirements.php +++ b/framework/requirements/requirements.php @@ -111,5 +111,12 @@ 'memo' => 'When IpValidator::expandIPv6 property is set to true, PHP must support IPv6 protocol stack. Currently PHP constant AF_INET6 is not defined and IPv6 is probably unsupported.' + ), + array( + 'name' => 'pcntl', + 'mandatory' => false, + 'condition' => extension_loaded('pcntl'), + 'by' => 'Process Control', + 'memo' => 'Recommended for yii2-queue CLI operations' ) ); From eb2add33a4af092c26f6aa8d8f46366a35cee1a5 Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Thu, 21 Sep 2023 15:09:23 +0000 Subject: [PATCH 2/2] added CHANGELOG line --- framework/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 4459fe7741a..0158d4bab33 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -8,7 +8,7 @@ Yii Framework 2 Change Log - Bug #19940: File Log writer without newline (terabytesoftw) - Bug #19951: Removed unneeded MIME file tests (schmunk42) - Bug #19950: Fix `Query::groupBy(null)` causes error for PHP 8.1: `trim(): Passing null to parameter #1 ($string) of type string is deprecated` (uaoleg) - +- Enh #19780: added pcntl to requirements check (schmunk42) 2.0.49 August 29, 2023 ----------------------