diff --git a/composer.json b/composer.json index 0abebba..81c9e15 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "minimum-stability": "dev", "autoload": { "psr-4": { - "Silver\\": "src/main/Silver" + "Silver\\": "src/Silver" } }, "require": { @@ -16,7 +16,7 @@ }, "autoload-dev": { "psr-4": { - "Silver\\": "src/tests/Silver" + "Silver\\": "tests/Silver" } }, "require-dev": { diff --git a/composer.lock b/composer.lock index 500b6ca..bd2100a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "526c1b19dfec7fbeb58162a857b1094e", + "hash": "682e7a4fae52285296ac9915a86ac588", "content-hash": "df3e47ecfec8d4c4bae7c008fbd16bfe", "packages": [], "packages-dev": [ @@ -14,23 +14,24 @@ "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "66b52fbf47a3a9dd623cdc1212677cdfbcc142fe" + "reference": "a2c590166b2133a4633738648b6b064edae0814a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/66b52fbf47a3a9dd623cdc1212677cdfbcc142fe", - "reference": "66b52fbf47a3a9dd623cdc1212677cdfbcc142fe", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a", + "reference": "a2c590166b2133a4633738648b6b064edae0814a", "shasum": "" }, "require": { "php": "^7.1" }, "require-dev": { - "doctrine/coding-standard": "^5.0", + "doctrine/coding-standard": "^6.0", "ext-pdo": "*", "ext-phar": "*", "phpbench/phpbench": "^0.13", - "phpstan/phpstan-shim": "^0.9.2", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-shim": "^0.11", "phpunit/phpunit": "^7.0" }, "type": "library", @@ -61,7 +62,7 @@ "constructor", "instantiate" ], - "time": "2019-02-11 09:44:09" + "time": "2019-03-17 17:37:11" }, { "name": "myclabs/deep-copy", @@ -69,12 +70,12 @@ "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8" + "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", - "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72", + "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72", "shasum": "" }, "require": { @@ -109,7 +110,7 @@ "object", "object graph" ], - "time": "2018-06-11 23:09:50" + "time": "2019-04-07 13:18:21" }, { "name": "phar-io/manifest", @@ -269,16 +270,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.3.0", + "version": "4.3.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08" + "reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c", + "reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c", "shasum": "" }, "require": { @@ -316,7 +317,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": "2017-11-30 07:14:17" + "time": "2019-04-30 17:48:53" }, { "name": "phpdocumentor/type-resolver", @@ -497,12 +498,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "5e99c0ea25f1eb9bd4d7380499788302984dd77b" + "reference": "e06b58dec1b0f91ae0120bf6b41b1e13fcf0092f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/5e99c0ea25f1eb9bd4d7380499788302984dd77b", - "reference": "5e99c0ea25f1eb9bd4d7380499788302984dd77b", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/e06b58dec1b0f91ae0120bf6b41b1e13fcf0092f", + "reference": "e06b58dec1b0f91ae0120bf6b41b1e13fcf0092f", "shasum": "" }, "require": { @@ -539,7 +540,7 @@ "filesystem", "iterator" ], - "time": "2019-02-11 12:49:18" + "time": "2019-04-26 13:00:25" }, { "name": "phpunit/php-text-template", @@ -588,12 +589,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "95a6897c75ecd816e8990aa5e9c671d76eea9ba7" + "reference": "e82278fb563b13f136682ef2cb2e868a16b70ff5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/95a6897c75ecd816e8990aa5e9c671d76eea9ba7", - "reference": "95a6897c75ecd816e8990aa5e9c671d76eea9ba7", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e82278fb563b13f136682ef2cb2e868a16b70ff5", + "reference": "e82278fb563b13f136682ef2cb2e868a16b70ff5", "shasum": "" }, "require": { @@ -605,7 +606,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } }, "autoload": { @@ -629,7 +630,7 @@ "keywords": [ "timer" ], - "time": "2019-02-11 12:49:33" + "time": "2019-04-26 12:49:33" }, { "name": "phpunit/php-token-stream", @@ -770,12 +771,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "383c44e104c1fd46ecc915f55145bd2831318747" + "reference": "98f24b1e5ffc7f5b390d2e23c2090270f2d53215" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/383c44e104c1fd46ecc915f55145bd2831318747", - "reference": "383c44e104c1fd46ecc915f55145bd2831318747", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/98f24b1e5ffc7f5b390d2e23c2090270f2d53215", + "reference": "98f24b1e5ffc7f5b390d2e23c2090270f2d53215", "shasum": "" }, "require": { @@ -807,7 +808,7 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2019-02-11 12:48:46" + "time": "2019-04-26 13:00:11" }, { "name": "sebastian/comparator", @@ -815,12 +816,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "17ef3ffcdab9194ad7a2715a9fb1235f1361a366" + "reference": "6b6539eeb5525fca6b6e24ce19b262f8e45af510" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/17ef3ffcdab9194ad7a2715a9fb1235f1361a366", - "reference": "17ef3ffcdab9194ad7a2715a9fb1235f1361a366", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/6b6539eeb5525fca6b6e24ce19b262f8e45af510", + "reference": "6b6539eeb5525fca6b6e24ce19b262f8e45af510", "shasum": "" }, "require": { @@ -871,7 +872,7 @@ "compare", "equality" ], - "time": "2019-02-11 12:51:04" + "time": "2019-04-26 12:49:25" }, { "name": "sebastian/diff", @@ -879,12 +880,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "d4193340fc9bebb17533e00bc82f61da28fe7125" + "reference": "6df9bd2773afcf5c5dad7dc7890f624e3aed8fad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/d4193340fc9bebb17533e00bc82f61da28fe7125", - "reference": "d4193340fc9bebb17533e00bc82f61da28fe7125", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/6df9bd2773afcf5c5dad7dc7890f624e3aed8fad", + "reference": "6df9bd2773afcf5c5dad7dc7890f624e3aed8fad", "shasum": "" }, "require": { @@ -927,7 +928,7 @@ "unidiff", "unified diff" ], - "time": "2019-02-11 12:50:35" + "time": "2019-04-26 12:42:32" }, { "name": "sebastian/environment", @@ -935,12 +936,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "dbf7b0d103084622e8a5015452a2650dcb248758" + "reference": "3d1521011cf810bf1cd7a10403f34156bb82fa7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/dbf7b0d103084622e8a5015452a2650dcb248758", - "reference": "dbf7b0d103084622e8a5015452a2650dcb248758", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/3d1521011cf810bf1cd7a10403f34156bb82fa7f", + "reference": "3d1521011cf810bf1cd7a10403f34156bb82fa7f", "shasum": "" }, "require": { @@ -955,7 +956,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.1-dev" + "dev-master": "4.2-dev" } }, "autoload": { @@ -980,7 +981,7 @@ "environment", "hhvm" ], - "time": "2019-02-11 12:51:52" + "time": "2019-04-28 11:57:00" }, { "name": "sebastian/exporter", @@ -988,12 +989,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "8be786b3b65fbe706733d44a4b4a53d5391a4772" + "reference": "60907c7464f882649c1e9c66cc7db95382de196e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/8be786b3b65fbe706733d44a4b4a53d5391a4772", - "reference": "8be786b3b65fbe706733d44a4b4a53d5391a4772", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/60907c7464f882649c1e9c66cc7db95382de196e", + "reference": "60907c7464f882649c1e9c66cc7db95382de196e", "shasum": "" }, "require": { @@ -1047,7 +1048,7 @@ "export", "exporter" ], - "time": "2019-02-11 12:49:46" + "time": "2019-04-26 13:00:28" }, { "name": "sebastian/global-state", @@ -1106,12 +1107,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "41af86e2a7b06e7e364c81a705b1f7caf6110218" + "reference": "3b05f70a5fd28edaf34c1edbd9c3bba096991654" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/41af86e2a7b06e7e364c81a705b1f7caf6110218", - "reference": "41af86e2a7b06e7e364c81a705b1f7caf6110218", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/3b05f70a5fd28edaf34c1edbd9c3bba096991654", + "reference": "3b05f70a5fd28edaf34c1edbd9c3bba096991654", "shasum": "" }, "require": { @@ -1145,7 +1146,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2019-02-11 12:50:05" + "time": "2019-04-26 12:51:10" }, { "name": "sebastian/object-reflector", @@ -1153,12 +1154,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "fae17b5d19ab523c9e821e5559d27e4c8a5bdee1" + "reference": "bcbaf4e179fde2d030cc7294c0047e36b95c98a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/fae17b5d19ab523c9e821e5559d27e4c8a5bdee1", - "reference": "fae17b5d19ab523c9e821e5559d27e4c8a5bdee1", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/bcbaf4e179fde2d030cc7294c0047e36b95c98a5", + "reference": "bcbaf4e179fde2d030cc7294c0047e36b95c98a5", "shasum": "" }, "require": { @@ -1190,7 +1191,7 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "time": "2019-02-11 12:48:12" + "time": "2019-04-26 13:00:41" }, { "name": "sebastian/recursion-context", @@ -1198,12 +1199,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "87b0893f697db6d75943e26d50bf91c82796a371" + "reference": "e1bad3c48a61b5e93e4d59ffd8b1d878606726a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/87b0893f697db6d75943e26d50bf91c82796a371", - "reference": "87b0893f697db6d75943e26d50bf91c82796a371", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e1bad3c48a61b5e93e4d59ffd8b1d878606726a0", + "reference": "e1bad3c48a61b5e93e4d59ffd8b1d878606726a0", "shasum": "" }, "require": { @@ -1243,7 +1244,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2019-02-11 12:48:28" + "time": "2019-04-26 13:00:07" }, { "name": "sebastian/resource-operations", @@ -1390,16 +1391,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.1.0", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" + "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/1c42705be2b6c1de5904f8afacef5895cab44bf8", + "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8", "shasum": "" }, "require": { @@ -1426,7 +1427,7 @@ } ], "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "time": "2017-04-07 12:08:54" + "time": "2019-04-04 09:56:43" }, { "name": "webmozart/assert", diff --git a/src/main/Silver/Components/Http/Client.php b/src/Silver/Components/Http/Client.php similarity index 100% rename from src/main/Silver/Components/Http/Client.php rename to src/Silver/Components/Http/Client.php diff --git a/src/main/Silver/Components/Http/Curl.php b/src/Silver/Components/Http/Curl.php similarity index 100% rename from src/main/Silver/Components/Http/Curl.php rename to src/Silver/Components/Http/Curl.php diff --git a/src/main/Silver/Components/Http/RequestOptions.php b/src/Silver/Components/Http/RequestOptions.php similarity index 100% rename from src/main/Silver/Components/Http/RequestOptions.php rename to src/Silver/Components/Http/RequestOptions.php diff --git a/src/main/Silver/Components/Http/Response.php b/src/Silver/Components/Http/Response.php similarity index 100% rename from src/main/Silver/Components/Http/Response.php rename to src/Silver/Components/Http/Response.php diff --git a/src/main/Silver/Components/Http/Utils.php b/src/Silver/Components/Http/Utils.php similarity index 100% rename from src/main/Silver/Components/Http/Utils.php rename to src/Silver/Components/Http/Utils.php diff --git a/src/tests/Silver/Components/Http/ClientTest.php b/tests/Silver/Components/Http/ClientTest.php similarity index 100% rename from src/tests/Silver/Components/Http/ClientTest.php rename to tests/Silver/Components/Http/ClientTest.php diff --git a/src/tests/Silver/Components/Http/CurlTest.php b/tests/Silver/Components/Http/CurlTest.php similarity index 100% rename from src/tests/Silver/Components/Http/CurlTest.php rename to tests/Silver/Components/Http/CurlTest.php