1
0
mirror of https://github.com/danog/dns.git synced 2024-12-11 17:09:50 +01:00

Simplify directory structure

This commit is contained in:
Daniel Lowrey 2014-09-24 13:31:27 -04:00
parent 58929805a7
commit d562ce24f4
26 changed files with 9 additions and 19 deletions

View File

@ -16,16 +16,6 @@
"amphp/amp": "~0.11", "amphp/amp": "~0.11",
"daverandom/libdns": "~0.2" "daverandom/libdns": "~0.2"
}, },
"repositories": [
{
"type": "vcs",
"url": "https://github.com/amphp/amp.git"
},
{
"type": "vcs",
"url": "https://github.com/amphp/dns.git"
}
],
"require-dev": { "require-dev": {
"mockery/mockery": ">=0.9.1", "mockery/mockery": ">=0.9.1",
"rdlowrey/auryn": ">=0.13.0", "rdlowrey/auryn": ">=0.13.0",
@ -34,13 +24,13 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Amp\\": "lib" "Amp\\Dns\\": "lib"
} }
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "psr-4": {
"Amp\\Test\\": "test/" "Amp\\Dns\\Test\\": "test/"
}, },
"files": ["test/Dns/bootstrap.php"] "files": ["test/bootstrap.php"]
} }
} }

View File

@ -16,7 +16,7 @@
<testsuites> <testsuites>
<testsuite name="Addr Test Suite"> <testsuite name="Addr Test Suite">
<directory suffix=".php">./test/Dns/</directory> <directory suffix=".php">./test</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Amp\Test\Dns; namespace Amp\Dns\Test;
use Amp\Dns\Cache; use Amp\Dns\Cache;
use Amp\Dns\Cache\APCCache; use Amp\Dns\Cache\APCCache;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Amp\Test\Dns; namespace Amp\Dns\Test;
use Amp\Dns\HostsFile; use Amp\Dns\HostsFile;
use Amp\Dns\NameValidator; use Amp\Dns\NameValidator;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Amp\Test\Dns; namespace Amp\Dns\Test;
use Amp\NativeReactor; use Amp\NativeReactor;
use Amp\Combinator; use Amp\Combinator;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Amp\Test\Dns; namespace Amp\Dns\Test;
use Amp\NativeReactor; use Amp\NativeReactor;
use Amp\Dns\AddressModes; use Amp\Dns\AddressModes;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Amp\Test\Dns; namespace Amp\Dns\Test;
use Amp\Dns\AddressModes; use Amp\Dns\AddressModes;
use Amp\Dns\ResponseInterpreter; use Amp\Dns\ResponseInterpreter;