Skip to content

Commit 33fde4b

Browse files
authored
Merge pull request #19780 from schmunk42/feature/pcntl-req-check
added pcntl to requirements check
2 parents 81f3033 + eb2add3 commit 33fde4b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

framework/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Yii Framework 2 Change Log
88
- Bug #19940: File Log writer without newline (terabytesoftw)
99
- Bug #19951: Removed unneeded MIME file tests (schmunk42)
1010
- 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)
11-
11+
- Enh #19780: added pcntl to requirements check (schmunk42)
1212

1313
2.0.49 August 29, 2023
1414
----------------------

framework/requirements/requirements.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,12 @@
111111
'memo' => 'When <a href="https://www.yiiframework.com/doc-2.0/yii-validators-ipvalidator.html#$expandIPv6-detail">IpValidator::expandIPv6</a>
112112
property is set to <code>true</code>, PHP must support IPv6 protocol stack. Currently PHP constant <code>AF_INET6</code> is not defined
113113
and IPv6 is probably unsupported.'
114+
),
115+
array(
116+
'name' => 'pcntl',
117+
'mandatory' => false,
118+
'condition' => extension_loaded('pcntl'),
119+
'by' => '<a href="https://www.php.net/manual/de/book.pcntl.php">Process Control</a>',
120+
'memo' => 'Recommended for yii2-queue CLI operations'
114121
)
115122
);

0 commit comments

Comments
 (0)