4 Commits

Author SHA1 Message Date
Niklas Keller
b4a722c0a9 Update dependencies
Also update php-cs from fabpot to friendsofphp.
2016-08-04 16:13:04 +02:00
Niklas Keller
2f73c15287 Update dependencies 2016-08-04 16:10:17 +02:00
Niklas Keller
05a6f6d861 Merge pull request #36 from izzlazz/master
Add support for IPv6-only host names
2016-07-29 09:09:15 +02:00
René Højbjerg Larsen
d5fdc1a3c0 Add support for IPv6-only host names 2016-07-27 22:28:42 +02:00
3 changed files with 64 additions and 65 deletions

View File

@@ -23,7 +23,7 @@
},
"require-dev": {
"phpunit/phpunit": "^5",
"fabpot/php-cs-fixer": "^1.9",
"friendsofphp/php-cs-fixer": "^1.9",
"macfja/phar-builder": "dev-events-dev-files"
},
"license": "MIT",

123
composer.lock generated
View File

@@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "f645228f022f95d362e3cfa543321bd7",
"content-hash": "af2e73ef42c235311d53fcf4eb5aa5ab",
"hash": "8aca843d1d25555d3bb10078455f8020",
"content-hash": "8398b7b6f2a3198c911b9a1161fd1dfa",
"packages": [
{
"name": "amphp/amp",
@@ -66,16 +66,16 @@
},
{
"name": "amphp/artax",
"version": "v2.0.3",
"version": "v2.0.4",
"source": {
"type": "git",
"url": "https://github.com/amphp/artax.git",
"reference": "cc665ac890322188bad8b80722d64af6207b770d"
"reference": "b60cf493c9e577a3678865f620b1eb61ab3d7ca9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/artax/zipball/cc665ac890322188bad8b80722d64af6207b770d",
"reference": "cc665ac890322188bad8b80722d64af6207b770d",
"url": "https://api.github.com/repos/amphp/artax/zipball/b60cf493c9e577a3678865f620b1eb61ab3d7ca9",
"reference": "b60cf493c9e577a3678865f620b1eb61ab3d7ca9",
"shasum": ""
},
"require": {
@@ -120,7 +120,7 @@
"parallel",
"rest"
],
"time": "2016-03-09 11:33:42"
"time": "2016-07-18 16:44:41"
},
{
"name": "amphp/cache",
@@ -342,16 +342,16 @@
},
{
"name": "amphp/socket",
"version": "v0.9.8",
"version": "v0.9.9",
"source": {
"type": "git",
"url": "https://github.com/amphp/socket.git",
"reference": "bdc72fc545e6dcee444419d98eea80875bffc806"
"reference": "722614608c1de7099661187fad4e15c876816db1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/socket/zipball/bdc72fc545e6dcee444419d98eea80875bffc806",
"reference": "bdc72fc545e6dcee444419d98eea80875bffc806",
"url": "https://api.github.com/repos/amphp/socket/zipball/722614608c1de7099661187fad4e15c876816db1",
"reference": "722614608c1de7099661187fad4e15c876816db1",
"shasum": ""
},
"require": {
@@ -393,7 +393,7 @@
"tcp",
"tls"
],
"time": "2016-06-19 20:16:19"
"time": "2016-07-18 22:03:24"
},
{
"name": "daverandom/libdns",
@@ -1007,16 +1007,16 @@
},
{
"name": "symfony/yaml",
"version": "v3.1.2",
"version": "v3.1.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "2884c26ce4c1d61aebf423a8b912950fe7c764de"
"reference": "1819adf2066880c7967df7180f4f662b6f0567ac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/2884c26ce4c1d61aebf423a8b912950fe7c764de",
"reference": "2884c26ce4c1d61aebf423a8b912950fe7c764de",
"url": "https://api.github.com/repos/symfony/yaml/zipball/1819adf2066880c7967df7180f4f662b6f0567ac",
"reference": "1819adf2066880c7967df7180f4f662b6f0567ac",
"shasum": ""
},
"require": {
@@ -1052,7 +1052,7 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2016-06-29 05:41:56"
"time": "2016-07-17 14:02:08"
},
{
"name": "webmozart/assert",
@@ -1160,17 +1160,17 @@
"time": "2015-06-14 21:17:01"
},
{
"name": "fabpot/php-cs-fixer",
"version": "v1.11.5",
"name": "friendsofphp/php-cs-fixer",
"version": "v1.11.6",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
"reference": "d3d08b76753092a232a4d8c3b94095ac06898719"
"reference": "41dc93abd2937a85a3889e28765231d574d2bac8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/d3d08b76753092a232a4d8c3b94095ac06898719",
"reference": "d3d08b76753092a232a4d8c3b94095ac06898719",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/41dc93abd2937a85a3889e28765231d574d2bac8",
"reference": "41dc93abd2937a85a3889e28765231d574d2bac8",
"shasum": ""
},
"require": {
@@ -1215,8 +1215,7 @@
}
],
"description": "A tool to automatically fix PHP code style",
"abandoned": "friendsofphp/php-cs-fixer",
"time": "2016-07-06 22:49:35"
"time": "2016-07-22 06:46:28"
},
{
"name": "league/event",
@@ -1681,16 +1680,16 @@
},
{
"name": "phpunit/php-code-coverage",
"version": "4.0.0",
"version": "4.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "900370c81280cc0d942ffbc5912d80464eaee7e9"
"reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/900370c81280cc0d942ffbc5912d80464eaee7e9",
"reference": "900370c81280cc0d942ffbc5912d80464eaee7e9",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5f3f7e736d6319d5f1fc402aff8b026da26709a3",
"reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3",
"shasum": ""
},
"require": {
@@ -1699,7 +1698,7 @@
"phpunit/php-text-template": "~1.2",
"phpunit/php-token-stream": "^1.4.2",
"sebastian/code-unit-reverse-lookup": "~1.0",
"sebastian/environment": "^1.3.2",
"sebastian/environment": "^1.3.2 || ^2.0",
"sebastian/version": "~1.0|~2.0"
},
"require-dev": {
@@ -1740,7 +1739,7 @@
"testing",
"xunit"
],
"time": "2016-06-03 05:03:56"
"time": "2016-07-26 14:39:29"
},
{
"name": "phpunit/php-file-iterator",
@@ -1925,16 +1924,16 @@
},
{
"name": "phpunit/phpunit",
"version": "5.4.6",
"version": "5.4.8",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "2f1fc94b77ea6418bd6a06c64a1dac0645fbce59"
"reference": "3132365e1430c091f208e120b8845d39c25f20e6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2f1fc94b77ea6418bd6a06c64a1dac0645fbce59",
"reference": "2f1fc94b77ea6418bd6a06c64a1dac0645fbce59",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3132365e1430c091f208e120b8845d39c25f20e6",
"reference": "3132365e1430c091f208e120b8845d39c25f20e6",
"shasum": ""
},
"require": {
@@ -1946,7 +1945,7 @@
"myclabs/deep-copy": "~1.3",
"php": "^5.6 || ^7.0",
"phpspec/prophecy": "^1.3.1",
"phpunit/php-code-coverage": "^4.0",
"phpunit/php-code-coverage": "^4.0.1",
"phpunit/php-file-iterator": "~1.4",
"phpunit/php-text-template": "~1.2",
"phpunit/php-timer": "^1.0.6",
@@ -1999,7 +1998,7 @@
"testing",
"xunit"
],
"time": "2016-06-16 06:01:15"
"time": "2016-07-26 14:48:00"
},
{
"name": "phpunit/phpunit-mock-objects",
@@ -2620,16 +2619,16 @@
},
{
"name": "symfony/console",
"version": "v2.8.8",
"version": "v2.8.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "c392a6ec72f2122748032c2ad6870420561ffcfa"
"reference": "36e62335caca8a6e909c5c5bac4a8128149911c9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/c392a6ec72f2122748032c2ad6870420561ffcfa",
"reference": "c392a6ec72f2122748032c2ad6870420561ffcfa",
"url": "https://api.github.com/repos/symfony/console/zipball/36e62335caca8a6e909c5c5bac4a8128149911c9",
"reference": "36e62335caca8a6e909c5c5bac4a8128149911c9",
"shasum": ""
},
"require": {
@@ -2676,20 +2675,20 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2016-06-29 07:02:14"
"time": "2016-07-30 07:20:35"
},
{
"name": "symfony/event-dispatcher",
"version": "v3.1.2",
"version": "v3.1.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "7f9839ede2070f53e7e2f0849b9bd14748c434c5"
"reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7f9839ede2070f53e7e2f0849b9bd14748c434c5",
"reference": "7f9839ede2070f53e7e2f0849b9bd14748c434c5",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c0c00c80b3a69132c4e55c3e7db32b4a387615e5",
"reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5",
"shasum": ""
},
"require": {
@@ -2736,20 +2735,20 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"time": "2016-06-29 05:41:56"
"time": "2016-07-19 10:45:57"
},
{
"name": "symfony/filesystem",
"version": "v3.1.2",
"version": "v3.1.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
"reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890"
"reference": "bb29adceb552d202b6416ede373529338136e84f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/322da5f0910d8aa0b25fa65ffccaba68dbddb890",
"reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/bb29adceb552d202b6416ede373529338136e84f",
"reference": "bb29adceb552d202b6416ede373529338136e84f",
"shasum": ""
},
"require": {
@@ -2785,20 +2784,20 @@
],
"description": "Symfony Filesystem Component",
"homepage": "https://symfony.com",
"time": "2016-06-29 05:41:56"
"time": "2016-07-20 05:44:26"
},
{
"name": "symfony/finder",
"version": "v2.8.8",
"version": "v2.8.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "bf0506ef4e7778fd3f0f1f141ab5e8c1ef35dd7d"
"reference": "60804d88691e4a73bbbb3035eb1d9f075c5c2c10"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/bf0506ef4e7778fd3f0f1f141ab5e8c1ef35dd7d",
"reference": "bf0506ef4e7778fd3f0f1f141ab5e8c1ef35dd7d",
"url": "https://api.github.com/repos/symfony/finder/zipball/60804d88691e4a73bbbb3035eb1d9f075c5c2c10",
"reference": "60804d88691e4a73bbbb3035eb1d9f075c5c2c10",
"shasum": ""
},
"require": {
@@ -2834,7 +2833,7 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"time": "2016-06-29 05:29:29"
"time": "2016-07-26 08:02:44"
},
{
"name": "symfony/polyfill-mbstring",
@@ -2897,16 +2896,16 @@
},
{
"name": "symfony/process",
"version": "v3.1.2",
"version": "v3.1.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "5c11a1a4d4016662eeaf0f8757958c7de069f9a0"
"reference": "04c2dfaae4ec56a5c677b0c69fac34637d815758"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/5c11a1a4d4016662eeaf0f8757958c7de069f9a0",
"reference": "5c11a1a4d4016662eeaf0f8757958c7de069f9a0",
"url": "https://api.github.com/repos/symfony/process/zipball/04c2dfaae4ec56a5c677b0c69fac34637d815758",
"reference": "04c2dfaae4ec56a5c677b0c69fac34637d815758",
"shasum": ""
},
"require": {
@@ -2942,11 +2941,11 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
"time": "2016-06-29 05:42:25"
"time": "2016-07-28 11:13:48"
},
{
"name": "symfony/stopwatch",
"version": "v3.1.2",
"version": "v3.1.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/stopwatch.git",

View File

@@ -183,7 +183,7 @@ class Issue implements Command {
foreach ($domainChunk as $domain) {
$promises[$domain] = \Amp\Dns\resolve($domain, [
"types" => [Record::A],
"types" => [Record::A, Record::AAAA],
"hosts" => false,
]);
}
@@ -194,7 +194,7 @@ class Issue implements Command {
}
if (!empty($errors)) {
throw new AcmeException("Couldn't resolve the following domains to an IPv4 record: " . implode(", ", array_keys($errors)));
throw new AcmeException("Couldn't resolve the following domains to an IPv4 nor IPv6 record: " . implode(", ", array_keys($errors)));
}
}