Skip to content

Drop useless network/syslog_basic.phpt #8526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 10, 2022
Merged

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