aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 11:09:20 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 11:09:20 +0100
commitc94c9ac3ffaae440271d8169043b5224e3192217 (patch)
treea30410b5d58b400c3803a83fd02ec6b4e8250cfb
parent7c77ba5321ae8e7c20049e29626882459a2899d4 (diff)
downloadDns-c94c9ac3ffaae440271d8169043b5224e3192217.zip
Dns-c94c9ac3ffaae440271d8169043b5224e3192217.tar.gz
Dns-c94c9ac3ffaae440271d8169043b5224e3192217.tar.bz2
Consistency: Use `Hoa\Consistency`.
-rw-r--r--Documentation/En/Index.xyl2
-rw-r--r--Documentation/Fr/Index.xyl2
-rw-r--r--README.md2
-rw-r--r--Resolver.php1
-rw-r--r--composer.json7
5 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/En/Index.xyl b/Documentation/En/Index.xyl
index e08370f..46cc7b0 100644
--- a/Documentation/En/Index.xyl
+++ b/Documentation/En/Index.xyl
@@ -119,7 +119,7 @@ port 57005</code></pre>
will <strong>associate</strong> the <code>127.0.0.1</code> IP address to all
<code>*.hoa</code> domains, we will not consider sub-domains of
<code>hoa</code> in this exercise.</p>
- <pre><code class="language-php">$dns->on('query', function (Hoa\Core\Event\Bucket $bucket) {
+ <pre><code class="language-php">$dns->on('query', function (Hoa\Event\Bucket $bucket) {
$data = $bucket->getData();
echo
diff --git a/Documentation/Fr/Index.xyl b/Documentation/Fr/Index.xyl
index 81db715..92a4029 100644
--- a/Documentation/Fr/Index.xyl
+++ b/Documentation/Fr/Index.xyl
@@ -137,7 +137,7 @@ port 57005</code></pre>
allons <strong>associer</strong> à tous les domaines <code>*.hoa</code>
l'adresse IP <code>127.0.0.1</code>, nous n'allons pas considérer les
sous-domaines de <code>hoa</code> dans le cadre de cet exercice.</p>
- <pre><code class="language-php">$dns->on('query', function (Hoa\Core\Event\Bucket $bucket) {
+ <pre><code class="language-php">$dns->on('query', function (Hoa\Event\Bucket $bucket) {
$data = $bucket->getData();
echo
diff --git a/README.md b/README.md
index b6ba985..9575279 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@ file:
$dns = new Hoa\Dns\Resolver(
new Hoa\Socket\Server('udp://127.0.0.1:57005')
);
-$dns->on('query', function (Hoa\Core\Event\Bucket $bucket) {
+$dns->on('query', function (Hoa\Event\Bucket $bucket) {
$data = $bucket->getData();
echo
diff --git a/Resolver.php b/Resolver.php
index 194f1af..8b466b4 100644
--- a/Resolver.php
+++ b/Resolver.php
@@ -36,7 +36,6 @@
namespace Hoa\Dns;
-use Hoa\Core;
use Hoa\Event;
use Hoa\Socket;
diff --git a/composer.json b/composer.json
index 622c426..b0bc98b 100644
--- a/composer.json
+++ b/composer.json
@@ -21,9 +21,10 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/event" : "~0.0",
- "hoa/exception": "~0.0"
+ "hoa/consistency": "~0.0",
+ "hoa/core" : "~2.0",
+ "hoa/event" : "~0.0",
+ "hoa/exception" : "~0.0"
},
"require-dev": {
"hoa/test": "~1.0"