Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Nov 26, 2021

This simple changeset avoids an unneeded (and undeclared!) dependency on ext-filter. The extension is enabled by default, but can explicitly be disabled with --without-filter.

The code in question is already covered by the test suite, so the test suite confirms this changeset does not affect behavior or our public API in any way. Accordingly, this is entirely transparent for all consumers of this package, plus now also supports consumers that happen to use --without-filter.

See https://www.php.net/manual/en/filter.installation.php
Originally reported in leproxy/leproxy#80
Refs reactphp/socket#17

@clue clue added this to the v1.9.0 milestone Nov 26, 2021
@clue clue requested a review from WyriHaximus November 26, 2021 06:31
@clue
Copy link
Member Author

clue commented Dec 6, 2021

For future reference only: The error suppression operator is no longer required for PHP 7.3+, see https://3v4l.org/7T1kL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants