Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/phpunit_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ constraint to test the validity of the email domain::
$result = $validator->validate('foo@example.com', $constraint);

// ...
}
}

In order to avoid making a real network connection, add the ``@dns-sensitive``
Expand All @@ -464,6 +465,7 @@ the data you expect to get for the given hosts::
$result = $validator->validate('foo@example.com', $constraint);

// ...
}
}

The ``withMockedHosts()`` method configuration is defined as an array. The keys
Expand Down