@@ -77,7 +77,7 @@ |
||
| 77 | 77 | $valueToFind = $accessor->getValue($entity, $property); |
| 78 | 78 | $found = false; |
| 79 | 79 | |
| 80 | - $crawler->filter($selector)->each(function (Crawler $node) use ($valueToFind, &$found) { |
|
| 80 | + $crawler->filter($selector)->each(function(Crawler $node) use ($valueToFind, &$found) { |
|
| 81 | 81 | if (false !== strpos($node->text(), $valueToFind)) { |
| 82 | 82 | $found = true; |
| 83 | 83 | } |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | $urlInfo = new UrlInfo( |
| 130 | 130 | $urlParts['scheme'], |
| 131 | 131 | $urlParts['host'], |
| 132 | - (int) $urlParts['port'], |
|
| 132 | + (int)$urlParts['port'], |
|
| 133 | 133 | $urlParts['path'], |
| 134 | 134 | $urlParts['query'], |
| 135 | 135 | $urlParts['fragment'], |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | } |
| 29 | 29 | $responseCode = $client->getResponse()->getStatusCode(); |
| 30 | 30 | |
| 31 | - if ((string) $expectedResponseCode !== (string) $responseCode) { |
|
| 31 | + if ((string)$expectedResponseCode !== (string)$responseCode) { |
|
| 32 | 32 | throw new Exception('Excepted code '.$expectedResponseCode.', got '.$responseCode.' for route '.$routeName); |
| 33 | 33 | } |
| 34 | 34 | } |