Skip to content

Commit 50ef2db

Browse files
Merge branch '7.4' into 8.0
* 7.4: CS fixes
2 parents 12afea6 + 2cbbb9e commit 50ef2db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

AbstractBrowser.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Symfony\Component\DomCrawler\Form;
2020
use Symfony\Component\DomCrawler\Link;
2121
use Symfony\Component\Process\PhpProcess;
22+
use Symfony\Component\Process\Process;
2223

2324
/**
2425
* Simulates a browser.
@@ -114,7 +115,7 @@ public function getMaxRedirects(): int
114115
*/
115116
public function insulate(bool $insulated = true): void
116117
{
117-
if ($insulated && !class_exists(\Symfony\Component\Process\Process::class)) {
118+
if ($insulated && !class_exists(Process::class)) {
118119
throw new LogicException('Unable to isolate requests as the Symfony Process Component is not installed. Try running "composer require symfony/process".');
119120
}
120121

0 commit comments

Comments
 (0)