Skip to content

Commit cbdd4cd

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait` Fix CS [Intl] Update the ICU data to 70.1 Default access_decision_manager.strategy option with merge. Signed-off-by: Alexander M. Turek <me@derrabus.de>
2 parents 6bacc79 + 668ff7f commit cbdd4cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/PipeStdinInStdoutStdErrStreamSelect.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
exit(ERR_TIMEOUT);
3535
}
3636

37-
if (in_array(\STDOUT, $w) && strlen($out) > 0) {
37+
if (in_array(\STDOUT, $w) && '' !== $out) {
3838
$written = fwrite(\STDOUT, (string) $out, 32768);
3939
if (false === $written) {
4040
exit(ERR_WRITE_FAILED);
@@ -45,7 +45,7 @@
4545
$write = array_diff($write, [\STDOUT]);
4646
}
4747

48-
if (in_array(\STDERR, $w) && strlen($err) > 0) {
48+
if (in_array(\STDERR, $w) && '' !== $err) {
4949
$written = fwrite(\STDERR, (string) $err, 32768);
5050
if (false === $written) {
5151
exit(ERR_WRITE_FAILED);

0 commit comments

Comments
 (0)