X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fbrowser-kit%2FClient.php;h=c20395035803375e519b70da68950dc64f71d992;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=e9e0d1963f624a774dc06a584af3a6d0db46b6c7;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/browser-kit/Client.php b/vendor/symfony/browser-kit/Client.php index e9e0d1963..c20395035 100644 --- a/vendor/symfony/browser-kit/Client.php +++ b/vendor/symfony/browser-kit/Client.php @@ -12,8 +12,8 @@ namespace Symfony\Component\BrowserKit; use Symfony\Component\DomCrawler\Crawler; -use Symfony\Component\DomCrawler\Link; use Symfony\Component\DomCrawler\Form; +use Symfony\Component\DomCrawler\Link; use Symfony\Component\Process\PhpProcess; /** @@ -355,7 +355,7 @@ abstract class Client unlink($deprecationsFile); foreach ($deprecations ? unserialize($deprecations) : array() as $deprecation) { if ($deprecation[0]) { - trigger_error($deprecation[1], E_USER_DEPRECATED); + @trigger_error($deprecation[1], E_USER_DEPRECATED); } else { @trigger_error($deprecation[1], E_USER_DEPRECATED); } @@ -497,7 +497,7 @@ abstract class Client $request = $this->internalRequest; - if (in_array($this->internalResponse->getStatus(), array(301, 302, 303))) { + if (\in_array($this->internalResponse->getStatus(), array(301, 302, 303))) { $method = 'GET'; $files = array(); $content = null;