1 Commits

Author SHA1 Message Date
Niklas Keller
c39ce9cf89 Update dependencies 2016-07-13 23:01:40 +02:00
6 changed files with 148 additions and 294 deletions

View File

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

366
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": "c1f8c0b5b34063a785f81d0045483b69",
"content-hash": "da36b1d8f2a36563f1cfa33c172cb3c4",
"hash": "f645228f022f95d362e3cfa543321bd7",
"content-hash": "af2e73ef42c235311d53fcf4eb5aa5ab",
"packages": [
{
"name": "amphp/amp",
@@ -66,16 +66,16 @@
},
{
"name": "amphp/artax",
"version": "v2.0.5",
"version": "v2.0.3",
"source": {
"type": "git",
"url": "https://github.com/amphp/artax.git",
"reference": "1795ed4076469546f79804b348ffd6dd77656f73"
"reference": "cc665ac890322188bad8b80722d64af6207b770d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/artax/zipball/1795ed4076469546f79804b348ffd6dd77656f73",
"reference": "1795ed4076469546f79804b348ffd6dd77656f73",
"url": "https://api.github.com/repos/amphp/artax/zipball/cc665ac890322188bad8b80722d64af6207b770d",
"reference": "cc665ac890322188bad8b80722d64af6207b770d",
"shasum": ""
},
"require": {
@@ -84,7 +84,7 @@
"php": ">=5.5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~1.9",
"fabpot/php-cs-fixer": "~1.9",
"phpunit/phpunit": "~4.8"
},
"type": "library",
@@ -120,7 +120,7 @@
"parallel",
"rest"
],
"time": "2016-08-08 16:27:01"
"time": "2016-03-09 11:33:42"
},
{
"name": "amphp/cache",
@@ -240,16 +240,16 @@
},
{
"name": "amphp/file",
"version": "v0.1.3",
"version": "v0.1.2",
"source": {
"type": "git",
"url": "https://github.com/amphp/file.git",
"reference": "6612ae6757d4719492ed8b34ea6181ff67cfbed1"
"reference": "7e04d6badea1f904cb1b894771f9c7e073799874"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/file/zipball/6612ae6757d4719492ed8b34ea6181ff67cfbed1",
"reference": "6612ae6757d4719492ed8b34ea6181ff67cfbed1",
"url": "https://api.github.com/repos/amphp/file/zipball/7e04d6badea1f904cb1b894771f9c7e073799874",
"reference": "7e04d6badea1f904cb1b894771f9c7e073799874",
"shasum": ""
},
"require": {
@@ -257,14 +257,13 @@
"php": ">=5.5"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~1.9",
"fabpot/php-cs-fixer": "~1.9",
"phpunit/phpunit": "~4.8"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "0.1.0-dev",
"dev-amp_v2": "0.2.0-dev"
"dev-master": "0.1.0-dev"
}
},
"autoload": {
@@ -296,20 +295,20 @@
"non-blocking",
"static"
],
"time": "2016-10-01 17:43:52"
"time": "2016-03-24 17:31:44"
},
{
"name": "amphp/process",
"version": "v0.1.3",
"version": "v0.1.2",
"source": {
"type": "git",
"url": "https://github.com/amphp/process.git",
"reference": "f22cca2af36e442b771c0de2e24e8025550d8ffc"
"reference": "255325ca82a92b05974efce27e9b92b2155fc408"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/process/zipball/f22cca2af36e442b771c0de2e24e8025550d8ffc",
"reference": "f22cca2af36e442b771c0de2e24e8025550d8ffc",
"url": "https://api.github.com/repos/amphp/process/zipball/255325ca82a92b05974efce27e9b92b2155fc408",
"reference": "255325ca82a92b05974efce27e9b92b2155fc408",
"shasum": ""
},
"require": {
@@ -339,20 +338,20 @@
],
"description": "Asynchronous process manager",
"homepage": "https://github.com/amphp/process",
"time": "2016-09-24 10:49:26"
"time": "2015-12-24 12:44:49"
},
{
"name": "amphp/socket",
"version": "v0.9.9",
"version": "v0.9.8",
"source": {
"type": "git",
"url": "https://github.com/amphp/socket.git",
"reference": "722614608c1de7099661187fad4e15c876816db1"
"reference": "bdc72fc545e6dcee444419d98eea80875bffc806"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/socket/zipball/722614608c1de7099661187fad4e15c876816db1",
"reference": "722614608c1de7099661187fad4e15c876816db1",
"url": "https://api.github.com/repos/amphp/socket/zipball/bdc72fc545e6dcee444419d98eea80875bffc806",
"reference": "bdc72fc545e6dcee444419d98eea80875bffc806",
"shasum": ""
},
"require": {
@@ -394,7 +393,7 @@
"tcp",
"tls"
],
"time": "2016-07-18 22:03:24"
"time": "2016-06-19 20:16:19"
},
{
"name": "daverandom/libdns",
@@ -648,16 +647,16 @@
},
{
"name": "phpseclib/phpseclib",
"version": "2.0.4",
"version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
"reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf"
"reference": "3d265f7c079f5b37d33475f996d7a383c5fc8aeb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/ab8028c93c03cc8d9c824efa75dc94f1db2369bf",
"reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/3d265f7c079f5b37d33475f996d7a383c5fc8aeb",
"reference": "3d265f7c079f5b37d33475f996d7a383c5fc8aeb",
"shasum": ""
},
"require": {
@@ -736,7 +735,7 @@
"x.509",
"x509"
],
"time": "2016-10-04 00:57:04"
"time": "2016-05-13 01:15:21"
},
{
"name": "rdlowrey/auryn",
@@ -1008,16 +1007,16 @@
},
{
"name": "symfony/yaml",
"version": "v3.1.5",
"version": "v3.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "368b9738d4033c8b93454cb0dbd45d305135a6d3"
"reference": "2884c26ce4c1d61aebf423a8b912950fe7c764de"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/368b9738d4033c8b93454cb0dbd45d305135a6d3",
"reference": "368b9738d4033c8b93454cb0dbd45d305135a6d3",
"url": "https://api.github.com/repos/symfony/yaml/zipball/2884c26ce4c1d61aebf423a8b912950fe7c764de",
"reference": "2884c26ce4c1d61aebf423a8b912950fe7c764de",
"shasum": ""
},
"require": {
@@ -1053,33 +1052,32 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2016-09-25 08:27:07"
"time": "2016-06-29 05:41:56"
},
{
"name": "webmozart/assert",
"version": "1.1.0",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
"reference": "bb2d123231c095735130cc8f6d31385a44c7b308"
"reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/bb2d123231c095735130cc8f6d31385a44c7b308",
"reference": "bb2d123231c095735130cc8f6d31385a44c7b308",
"url": "https://api.github.com/repos/webmozart/assert/zipball/30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde",
"reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde",
"shasum": ""
},
"require": {
"php": "^5.3.3|^7.0"
"php": ">=5.3.3"
},
"require-dev": {
"phpunit/phpunit": "^4.6",
"sebastian/version": "^1.0.1"
"phpunit/phpunit": "^4.6"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.2-dev"
"dev-master": "1.0-dev"
}
},
"autoload": {
@@ -1103,7 +1101,7 @@
"check",
"validate"
],
"time": "2016-08-09 15:02:57"
"time": "2015-08-24 13:29:44"
}
],
"packages-dev": [
@@ -1162,17 +1160,17 @@
"time": "2015-06-14 21:17:01"
},
{
"name": "friendsofphp/php-cs-fixer",
"version": "v1.11.8",
"name": "fabpot/php-cs-fixer",
"version": "v1.11.5",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
"reference": "117137e9970054d022b7656209f094dab852b90c"
"reference": "d3d08b76753092a232a4d8c3b94095ac06898719"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/117137e9970054d022b7656209f094dab852b90c",
"reference": "117137e9970054d022b7656209f094dab852b90c",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/d3d08b76753092a232a4d8c3b94095ac06898719",
"reference": "d3d08b76753092a232a4d8c3b94095ac06898719",
"shasum": ""
},
"require": {
@@ -1217,7 +1215,8 @@
}
],
"description": "A tool to automatically fix PHP code style",
"time": "2016-08-16 23:31:05"
"abandoned": "friendsofphp/php-cs-fixer",
"time": "2016-07-06 22:49:35"
},
{
"name": "league/event",
@@ -1271,16 +1270,16 @@
},
{
"name": "macfja/phar-builder",
"version": "0.2.5",
"version": "dev-events-dev-files",
"source": {
"type": "git",
"url": "https://github.com/MacFJA/PharBuilder.git",
"reference": "0a5270b565242a99371ff94d2ebecb85b2854a1d"
"url": "https://github.com/kelunik/PharBuilder.git",
"reference": "ca02acf19255255f8bc0f490caaf9c086e64062b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/MacFJA/PharBuilder/zipball/0a5270b565242a99371ff94d2ebecb85b2854a1d",
"reference": "0a5270b565242a99371ff94d2ebecb85b2854a1d",
"url": "https://api.github.com/repos/kelunik/PharBuilder/zipball/ca02acf19255255f8bc0f490caaf9c086e64062b",
"reference": "ca02acf19255255f8bc0f490caaf9c086e64062b",
"shasum": ""
},
"require": {
@@ -1319,7 +1318,14 @@
"MacFJA\\PharBuilder\\": "app/"
}
},
"notification-url": "https://packagist.org/downloads/",
"scripts": {
"test": [
"php -l app/",
"phpmd app/ text phpmd.xml.dist",
"phpcpd app/",
"phpcs"
]
},
"license": [
"MIT"
],
@@ -1329,7 +1335,10 @@
}
],
"description": "CLI tool for create phar of your composer based project",
"time": "2016-08-07 12:35:14"
"support": {
"source": "https://github.com/kelunik/PharBuilder/tree/events-dev-files"
},
"time": "2016-06-02 19:28:27"
},
{
"name": "macfja/symfony-console-filechooser",
@@ -1379,16 +1388,16 @@
},
{
"name": "myclabs/deep-copy",
"version": "1.5.4",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "ea74994a3dc7f8d2f65a06009348f2d63c81e61f"
"reference": "a8773992b362b58498eed24bf85005f363c34771"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/ea74994a3dc7f8d2f65a06009348f2d63c81e61f",
"reference": "ea74994a3dc7f8d2f65a06009348f2d63c81e61f",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/a8773992b362b58498eed24bf85005f363c34771",
"reference": "a8773992b362b58498eed24bf85005f363c34771",
"shasum": ""
},
"require": {
@@ -1417,7 +1426,7 @@
"object",
"object graph"
],
"time": "2016-09-16 13:37:59"
"time": "2015-11-20 12:04:31"
},
{
"name": "neutron/signal-handler",
@@ -1518,16 +1527,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "3.1.1",
"version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
"reference": "9270140b940ff02e58ec577c237274e92cd40cdd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd",
"reference": "9270140b940ff02e58ec577c237274e92cd40cdd",
"shasum": ""
},
"require": {
@@ -1559,7 +1568,7 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2016-09-30 07:12:33"
"time": "2016-06-10 09:48:41"
},
{
"name": "phpdocumentor/type-resolver",
@@ -1672,16 +1681,16 @@
},
{
"name": "phpunit/php-code-coverage",
"version": "4.0.1",
"version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3"
"reference": "900370c81280cc0d942ffbc5912d80464eaee7e9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5f3f7e736d6319d5f1fc402aff8b026da26709a3",
"reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/900370c81280cc0d942ffbc5912d80464eaee7e9",
"reference": "900370c81280cc0d942ffbc5912d80464eaee7e9",
"shasum": ""
},
"require": {
@@ -1690,7 +1699,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 || ^2.0",
"sebastian/environment": "^1.3.2",
"sebastian/version": "~1.0|~2.0"
},
"require-dev": {
@@ -1731,7 +1740,7 @@
"testing",
"xunit"
],
"time": "2016-07-26 14:39:29"
"time": "2016-06-03 05:03:56"
},
{
"name": "phpunit/php-file-iterator",
@@ -1916,28 +1925,28 @@
},
{
"name": "phpunit/phpunit",
"version": "5.6.1",
"version": "5.4.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "60c32c5b5e79c2248001efa2560f831da11cc2d7"
"reference": "2f1fc94b77ea6418bd6a06c64a1dac0645fbce59"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/60c32c5b5e79c2248001efa2560f831da11cc2d7",
"reference": "60c32c5b5e79c2248001efa2560f831da11cc2d7",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2f1fc94b77ea6418bd6a06c64a1dac0645fbce59",
"reference": "2f1fc94b77ea6418bd6a06c64a1dac0645fbce59",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-xml": "*",
"ext-pcre": "*",
"ext-reflection": "*",
"ext-spl": "*",
"myclabs/deep-copy": "~1.3",
"php": "^5.6 || ^7.0",
"phpspec/prophecy": "^1.3.1",
"phpunit/php-code-coverage": "^4.0.1",
"phpunit/php-code-coverage": "^4.0",
"phpunit/php-file-iterator": "~1.4",
"phpunit/php-text-template": "~1.2",
"phpunit/php-timer": "^1.0.6",
@@ -1955,11 +1964,7 @@
"conflict": {
"phpdocumentor/reflection-docblock": "3.0.2"
},
"require-dev": {
"ext-pdo": "*"
},
"suggest": {
"ext-xdebug": "*",
"phpunit/php-invoker": "~1.1"
},
"bin": [
@@ -1968,7 +1973,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "5.6.x-dev"
"dev-master": "5.4.x-dev"
}
},
"autoload": {
@@ -1994,20 +1999,20 @@
"testing",
"xunit"
],
"time": "2016-10-07 13:03:26"
"time": "2016-06-16 06:01:15"
},
{
"name": "phpunit/phpunit-mock-objects",
"version": "3.4.0",
"version": "3.2.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
"reference": "238d7a2723bce689c79eeac9c7d5e1d623bb9dc2"
"reference": "b13d0d9426ced06958bd32104653526a6c998a52"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/238d7a2723bce689c79eeac9c7d5e1d623bb9dc2",
"reference": "238d7a2723bce689c79eeac9c7d5e1d623bb9dc2",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/b13d0d9426ced06958bd32104653526a6c998a52",
"reference": "b13d0d9426ced06958bd32104653526a6c998a52",
"shasum": ""
},
"require": {
@@ -2053,54 +2058,7 @@
"mock",
"xunit"
],
"time": "2016-10-09 07:01:45"
},
{
"name": "psr/log",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Log\\": "Psr/Log/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
"homepage": "https://github.com/php-fig/log",
"keywords": [
"log",
"psr",
"psr-3"
],
"time": "2016-10-10 12:19:37"
"time": "2016-06-12 07:37:26"
},
{
"name": "rych/bytesize",
@@ -2310,23 +2268,23 @@
},
{
"name": "sebastian/environment",
"version": "1.3.8",
"version": "1.3.7",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
"reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
"reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
"reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/4e8f0da10ac5802913afc151413bc8c53b6c2716",
"reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0"
"php": ">=5.3.3"
},
"require-dev": {
"phpunit/phpunit": "^4.8 || ^5.0"
"phpunit/phpunit": "~4.4"
},
"type": "library",
"extra": {
@@ -2356,7 +2314,7 @@
"environment",
"hhvm"
],
"time": "2016-08-18 05:49:44"
"time": "2016-05-17 03:18:57"
},
{
"name": "sebastian/exporter",
@@ -2662,21 +2620,20 @@
},
{
"name": "symfony/console",
"version": "v2.8.12",
"version": "v2.8.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "d7a5a88178f94dcc29531ea4028ea614e35452d4"
"reference": "c392a6ec72f2122748032c2ad6870420561ffcfa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/d7a5a88178f94dcc29531ea4028ea614e35452d4",
"reference": "d7a5a88178f94dcc29531ea4028ea614e35452d4",
"url": "https://api.github.com/repos/symfony/console/zipball/c392a6ec72f2122748032c2ad6870420561ffcfa",
"reference": "c392a6ec72f2122748032c2ad6870420561ffcfa",
"shasum": ""
},
"require": {
"php": ">=5.3.9",
"symfony/debug": "~2.7,>=2.7.2|~3.0.0",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
@@ -2719,77 +2676,20 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2016-09-28 00:10:16"
},
{
"name": "symfony/debug",
"version": "v3.0.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
"reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/697c527acd9ea1b2d3efac34d9806bf255278b0a",
"reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a",
"shasum": ""
},
"require": {
"php": ">=5.5.9",
"psr/log": "~1.0"
},
"conflict": {
"symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
},
"require-dev": {
"symfony/class-loader": "~2.8|~3.0",
"symfony/http-kernel": "~2.8|~3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Debug\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
"time": "2016-07-30 07:22:48"
"time": "2016-06-29 07:02:14"
},
{
"name": "symfony/event-dispatcher",
"version": "v3.1.5",
"version": "v3.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5"
"reference": "7f9839ede2070f53e7e2f0849b9bd14748c434c5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c0c00c80b3a69132c4e55c3e7db32b4a387615e5",
"reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7f9839ede2070f53e7e2f0849b9bd14748c434c5",
"reference": "7f9839ede2070f53e7e2f0849b9bd14748c434c5",
"shasum": ""
},
"require": {
@@ -2836,20 +2736,20 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"time": "2016-07-19 10:45:57"
"time": "2016-06-29 05:41:56"
},
{
"name": "symfony/filesystem",
"version": "v3.1.5",
"version": "v3.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
"reference": "682fd8fdb3135fdf05fc496a01579ccf6c85c0e5"
"reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/682fd8fdb3135fdf05fc496a01579ccf6c85c0e5",
"reference": "682fd8fdb3135fdf05fc496a01579ccf6c85c0e5",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/322da5f0910d8aa0b25fa65ffccaba68dbddb890",
"reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890",
"shasum": ""
},
"require": {
@@ -2885,20 +2785,20 @@
],
"description": "Symfony Filesystem Component",
"homepage": "https://symfony.com",
"time": "2016-09-14 00:18:46"
"time": "2016-06-29 05:41:56"
},
{
"name": "symfony/finder",
"version": "v2.8.12",
"version": "v2.8.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "bc24c8f5674c6f6841f2856b70e5d60784be5691"
"reference": "bf0506ef4e7778fd3f0f1f141ab5e8c1ef35dd7d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/bc24c8f5674c6f6841f2856b70e5d60784be5691",
"reference": "bc24c8f5674c6f6841f2856b70e5d60784be5691",
"url": "https://api.github.com/repos/symfony/finder/zipball/bf0506ef4e7778fd3f0f1f141ab5e8c1ef35dd7d",
"reference": "bf0506ef4e7778fd3f0f1f141ab5e8c1ef35dd7d",
"shasum": ""
},
"require": {
@@ -2934,7 +2834,7 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"time": "2016-09-28 00:10:16"
"time": "2016-06-29 05:29:29"
},
{
"name": "symfony/polyfill-mbstring",
@@ -2997,16 +2897,16 @@
},
{
"name": "symfony/process",
"version": "v3.1.5",
"version": "v3.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "66de154ae86b1a07001da9fbffd620206e4faf94"
"reference": "5c11a1a4d4016662eeaf0f8757958c7de069f9a0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/66de154ae86b1a07001da9fbffd620206e4faf94",
"reference": "66de154ae86b1a07001da9fbffd620206e4faf94",
"url": "https://api.github.com/repos/symfony/process/zipball/5c11a1a4d4016662eeaf0f8757958c7de069f9a0",
"reference": "5c11a1a4d4016662eeaf0f8757958c7de069f9a0",
"shasum": ""
},
"require": {
@@ -3042,11 +2942,11 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
"time": "2016-09-29 14:13:09"
"time": "2016-06-29 05:42:25"
},
{
"name": "symfony/stopwatch",
"version": "v3.1.5",
"version": "v3.1.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/stopwatch.git",
@@ -3139,7 +3039,9 @@
],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],
"stability-flags": {
"macfja/phar-builder": 20
},
"prefer-stable": true,
"prefer-lowest": false,
"platform": {

View File

@@ -77,10 +77,9 @@ the script will be quiet to be cron friendly. If an error occurs, the script wil
You should execute `acme-client auto` as a daily cron. It's recommended to setup e-mail notifications for all output of
that script.
```sh
0 0 * * * /usr/local/sbin/acme-client auto; RC=$?; if [ $RC = 4 ] || [ $RC = 5 ]; then /usr/sbin/service nginx reload; fi
```bash
0 0 * * * acme-client auto; exit=$?; if [[ $exit = 4 ]] || [[ $exit = 5 ]]; then service nginx reload; fi
```
The path to `acme-client` should be modified to suit your system. The full path should be used as the system path may not be set up in your cron environment.
| Exit Code | Description |
|-----------|-------------|

View File

@@ -37,6 +37,8 @@ class Auto implements Command {
* @return \Generator
*/
private function doExecute(Manager $args) {
$server = $args->get("server");
$storage = $args->get("storage");
$configPath = $args->get("config");
try {
@@ -53,30 +55,6 @@ class Auto implements Command {
return;
}
if ($args->defined("server")) {
$config["server"] = $args->get("server");
} else if (!isset($config["server"]) && $args->exists("server")) {
$config["server"] = $args->get("server");
}
if ($args->defined("storage")) {
$config["storage"] = $args->get("storage");
} else if (!isset($config["storage"]) && $args->exists("storage")) {
$config["storage"] = $args->get("storage");
}
if (!isset($config["server"])) {
$this->climate->error("Config file ({$configPath}) didn't have a 'server' set nor was it passed as command line argument.");
yield new CoroutineResult(self::EXIT_CONFIG_ERROR);
return;
}
if (!isset($config["storage"])) {
$this->climate->error("Config file ({$configPath}) didn't have a 'storage' set nor was it passed as command line argument.");
yield new CoroutineResult(self::EXIT_CONFIG_ERROR);
return;
}
if (!isset($config["email"])) {
$this->climate->error("Config file ({$configPath}) didn't have a 'email' set.");
yield new CoroutineResult(self::EXIT_CONFIG_ERROR);
@@ -94,9 +72,9 @@ class Auto implements Command {
$GLOBALS["argv"][0],
"setup",
"--server",
$config["server"],
$server,
"--storage",
$config["storage"],
$storage,
"--email",
$config["email"],
]));
@@ -122,7 +100,7 @@ class Auto implements Command {
$promises = [];
foreach ($certificateChunk as $certificate) {
$promises[] = \Amp\resolve($this->checkAndIssue($certificate, $config["server"], $config["storage"]));
$promises[] = \Amp\resolve($this->checkAndIssue($certificate, $server, $storage));
}
list($chunkErrors, $chunkValues) = (yield \Amp\any($promises));
@@ -189,8 +167,6 @@ class Auto implements Command {
$storage,
"--name",
$commonName,
"--names",
implode(",", $domains),
];
$command = implode(" ", array_map("escapeshellarg", $args));
@@ -301,15 +277,9 @@ MESSAGE;
}
public static function getDefinition() {
$server = \Kelunik\AcmeClient\getArgumentDescription("server");
$storage = \Kelunik\AcmeClient\getArgumentDescription("storage");
$server["required"] = false;
$storage["required"] = false;
$args = [
"server" => $server,
"storage" => $storage,
"server" => \Kelunik\AcmeClient\getArgumentDescription("server"),
"storage" => \Kelunik\AcmeClient\getArgumentDescription("storage"),
"config" => [
"prefix" => "c",
"longPrefix" => "config",

View File

@@ -45,18 +45,6 @@ class Check implements Command {
$this->climate->br();
$this->climate->whisper(" Certificate is valid until " . date("d.m.Y", $cert->getValidTo()))->br();
if ($args->defined("names")) {
$names = array_map("trim", explode(",", $args->get("names")));
$missingNames = array_diff($names, $cert->getNames());
if ($missingNames) {
$this->climate->comment(" The following names are not covered: " . implode(", ", $missingNames))->br();
yield new CoroutineResult(1);
return;
}
}
if ($cert->getValidTo() > time() + $args->get("ttl") * 24 * 60 * 60) {
yield new CoroutineResult(0);
return;
@@ -82,11 +70,6 @@ class Check implements Command {
"defaultValue" => 30,
"castTo" => "int",
],
"names" => [
"longPrefix" => "names",
"description" => "Names that must be covered by the certificate identified based on the common name. Names have to be separated by commas.",
"required" => false,
],
];
}
}

View File

@@ -153,7 +153,7 @@ class Issue implements Command {
$challengeStore = new ChallengeStore($path);
try {
yield $challengeStore->put($token, $payload, isset($user) ? $user : null);
$challengeStore->put($token, $payload, isset($user) ? $user : null);
yield $acme->verifyHttp01Challenge($domain, $token, $payload);
yield $acme->answerChallenge($challenge->uri, $payload);
@@ -183,7 +183,7 @@ class Issue implements Command {
foreach ($domainChunk as $domain) {
$promises[$domain] = \Amp\Dns\resolve($domain, [
"types" => [Record::A, Record::AAAA],
"types" => [Record::A],
"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 nor IPv6 record: " . implode(", ", array_keys($errors)));
throw new AcmeException("Couldn't resolve the following domains to an IPv4 record: " . implode(", ", array_keys($errors)));
}
}