diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2015-12-08 11:09:20 +0100 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2015-12-08 11:09:20 +0100 |
commit | c94c9ac3ffaae440271d8169043b5224e3192217 (patch) | |
tree | a30410b5d58b400c3803a83fd02ec6b4e8250cfb | |
parent | 7c77ba5321ae8e7c20049e29626882459a2899d4 (diff) | |
download | Dns-c94c9ac3ffaae440271d8169043b5224e3192217.zip Dns-c94c9ac3ffaae440271d8169043b5224e3192217.tar.gz Dns-c94c9ac3ffaae440271d8169043b5224e3192217.tar.bz2 |
Consistency: Use `Hoa\Consistency`.
-rw-r--r-- | Documentation/En/Index.xyl | 2 | ||||
-rw-r--r-- | Documentation/Fr/Index.xyl | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | Resolver.php | 1 | ||||
-rw-r--r-- | composer.json | 7 |
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 @@ -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" |