Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented May 10, 2022

This test asserts that syslog() returns true, but that is the case
anyway[1]. Since there is already misc/syslog_basic.phpt, the test has
no further raison d'être.

[1]

/** @return true */
function syslog(int $priority, string $message): bool {} // TODO make return type void

This test asserts that `syslog()` returns true, but that is the case
anyway[1].  Since there is already misc/syslog_basic.phpt, the test has
no further raison d'être.

[1] <https://github.com/php/php-src/blob/d4e24e72afc269f392eabd74abeb6ea86894740d/ext/standard/basic_functions.stub.php#L697-L698>
@Girgias Girgias merged commit 3cb3ee6 into php:master May 10, 2022
@cmb69 cmb69 deleted the cmb/syslog_basic branch May 10, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants