Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
momala454 authored Jun 29, 2023
1 parent e6f59dd commit ddb7c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Browser/BrowserProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ private function getArgsFromOptions($binary, array $options)
foreach ($args as $arg) {
$toRemove = false;
foreach ($options['excludedSwitches'] as $excludedSwitch) {
if (preg_match('/^'.preg_quote($excludedSwitch, '/').'(?:$|=)/', $arg)) {
if (\preg_match('/^'.preg_quote($excludedSwitch, '/').'(?:$|=)/', $arg)) {
$toRemove = true;
break;
}
Expand Down

0 comments on commit ddb7c43

Please sign in to comment.