Skip to content

Commit

Permalink
Merge pull request #19780 from schmunk42/feature/pcntl-req-check
Browse files Browse the repository at this point in the history
added pcntl to requirements check
  • Loading branch information
bizley authored Sep 22, 2023
2 parents 81f3033 + eb2add3 commit 33fde4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion framework/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------------
Expand Down
7 changes: 7 additions & 0 deletions framework/requirements/requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,12 @@
'memo' => 'When <a href="https://www.yiiframework.com/doc-2.0/yii-validators-ipvalidator.html#$expandIPv6-detail">IpValidator::expandIPv6</a>
property is set to <code>true</code>, PHP must support IPv6 protocol stack. Currently PHP constant <code>AF_INET6</code> is not defined
and IPv6 is probably unsupported.'
),
array(
'name' => 'pcntl',
'mandatory' => false,
'condition' => extension_loaded('pcntl'),
'by' => '<a href="https://www.php.net/manual/de/book.pcntl.php">Process Control</a>',
'memo' => 'Recommended for yii2-queue CLI operations'
)
);

0 comments on commit 33fde4b

Please sign in to comment.