Merge branch '2.0'

* 2.0:
  Change author's website URL
  Do not require base URL set with Mink
  Add base_url to docs for configuring Mink
This commit is contained in:
Kamil Kokot
2019-10-10 17:54:28 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
{ {
"name": "Kamil Kokot", "name": "Kamil Kokot",
"email": "kamil@kokot.me", "email": "kamil@kokot.me",
"homepage": "http://kamil.kokot.me" "homepage": "https://kamilkokot.com"
} }
], ],
"require": { "require": {

View File

@@ -10,7 +10,7 @@ use Symfony\Component\HttpKernel\KernelInterface;
final class SymfonyDriver extends BrowserKitDriver final class SymfonyDriver extends BrowserKitDriver
{ {
public function __construct(KernelInterface $kernel, string $baseUrl) public function __construct(KernelInterface $kernel, ?string $baseUrl)
{ {
if (!$kernel->getContainer()->has('test.client')) { if (!$kernel->getContainer()->has('test.client')) {
throw new \RuntimeException(sprintf( throw new \RuntimeException(sprintf(