We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b67e21 + 8139ce4 commit d159225Copy full SHA for d159225
src/Log/Webhook.php
@@ -132,7 +132,7 @@ public function setup(array $options)
132
// PHP >7.2 deprecated the filter options and enabled them by default
133
$filterOptions = version_compare(PHP_VERSION, '7.2.0', '<')
134
? FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED
135
- : null;
+ : 0;
136
137
if (!filter_var($options['uri'], FILTER_VALIDATE_URL, $filterOptions)) {
138
throw new Exception('webhook URI is invalid');
0 commit comments