Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[BrowserKit] Check class existence only when required.

  • Loading branch information...
commit f154f6da66056ef120a0043d4d52f62fe670132d 1 parent 091584f
@GromNaN GromNaN authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Client.php
View
2  Client.php
@@ -84,7 +84,7 @@ public function followRedirects($followRedirect = true)
*/
public function insulate($insulated = true)
{
- if (!class_exists('Symfony\\Component\\Process\\Process')) {
+ if ($insulated && !class_exists('Symfony\\Component\\Process\\Process')) {
// @codeCoverageIgnoreStart
throw new \RuntimeException('Unable to isolate requests as the Symfony Process Component is not installed.');
// @codeCoverageIgnoreEnd
Please sign in to comment.
Something went wrong with that request. Please try again.