diff --git a/build.php b/build.php index dd98199..e918f62 100644 --- a/build.php +++ b/build.php @@ -19,8 +19,8 @@ sed -i \'s/@dev/' . $version .'/g\' build/src/Clue/GraphComposer/App.php && composer install -d build/ --no-dev && -cd build/ && rm -rf composer.lock vendor/*/*/tests/ vendor/*/*/*.md vendor/*/*/composer.* vendor/*/*/phpunit.* && cd .. && -cd build/vendor/symfony/console/Symfony/Component/Console/ && rm -rf Tests/ *.md composer.* phpunit.* && cd - && +cd build/ && rm -rf composer.lock vendor/*/*/tests/ vendor/*/*/examples/ vendor/*/*/*.md vendor/*/*/composer.* vendor/*/*/phpunit.* vendor/*/*/.gitignore vendor/*/*/.travis.yml && cd .. && +cd build/vendor/symfony/console/Symfony/Component/Console/ && rm -rf Tests/ *.md composer.* phpunit.* .gitignore && cd - && vendor/bin/phar-composer build build/ ' . escapeshellarg($out) . ' && php ' . escapeshellarg($out) . ' --version', $code); diff --git a/composer.json b/composer.json index b7aa448..837d38d 100644 --- a/composer.json +++ b/composer.json @@ -6,24 +6,19 @@ "license": "MIT", "require": { "php": ">=5.3.6", - "clue/graph": "^0.9.0", - "graphp/graphviz": "^0.2.0", + "clue/graph": "^0.9.1", + "graphp/graphviz": "^0.2.2", "jms/composer-deps-analyzer": "0.1.*", "symfony/console": "^5.0 || ^4.0 || ^3.0 || ^2.1" }, "require-dev": { - "clue/phar-composer": "^1.0", + "clue/phar-composer": "^1.1", "phpunit/phpunit": "^4.8.36" }, "autoload": { "psr-0": { "Clue\\GraphComposer": "src/" } }, "bin": [ "bin/graph-composer" ], - "extra": { - "phar": { - "bundler": "composer" - } - }, "config": { "platform": { "php": "5.3.6" diff --git a/composer.lock b/composer.lock index 7ead00d..dbe4e8d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,27 +4,27 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a7158f16382fcab8c2ed71f5b46ab1dd", + "content-hash": "a569d04062941ac9f10a8b7f5f9df213", "packages": [ { "name": "clue/graph", - "version": "v0.9.0", + "version": "v0.9.1", "source": { "type": "git", - "url": "https://github.com/clue/graph.git", - "reference": "0336a4d5229fa61a20ccceaeab25e52ac9542700" + "url": "https://github.com/graphp/graph.git", + "reference": "07ce1e2f6d5be2ff600ce13660b25f25cf928c66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/clue/graph/zipball/0336a4d5229fa61a20ccceaeab25e52ac9542700", - "reference": "0336a4d5229fa61a20ccceaeab25e52ac9542700", + "url": "https://api.github.com/repos/graphp/graph/zipball/07ce1e2f6d5be2ff600ce13660b25f25cf928c66", + "reference": "07ce1e2f6d5be2ff600ce13660b25f25cf928c66", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.0 || ^5.3" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" }, "suggest": { "graphp/algorithms": "Common graph algorithms, such as Dijkstra and Moore-Bellman-Ford (shortest path), minimum spanning tree (MST), Kruskal, Prim and many more..", @@ -40,8 +40,8 @@ "license": [ "MIT" ], - "description": "A mathematical graph/network library written in PHP", - "homepage": "https://github.com/clue/graph", + "description": "GraPHP is the mathematical graph/network library written in PHP.", + "homepage": "https://github.com/graphp/graph", "keywords": [ "edge", "graph", @@ -49,79 +49,28 @@ "network", "vertex" ], - "time": "2015-03-07T18:11:31+00:00" - }, - { - "name": "graphp/algorithms", - "version": "v0.8.1", - "source": { - "type": "git", - "url": "https://github.com/graphp/algorithms.git", - "reference": "81db4049c35730767ec8f97fb5c4844234b86cef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/graphp/algorithms/zipball/81db4049c35730767ec8f97fb5c4844234b86cef", - "reference": "81db4049c35730767ec8f97fb5c4844234b86cef", - "shasum": "" - }, - "require": { - "clue/graph": "~0.9.0|~0.8.0", - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Graphp\\Algorithms\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christian Lück", - "email": "christian@lueck.tv" - } - ], - "description": "Common mathematical graph algorithms", - "homepage": "https://github.com/graphp/algorithms", - "keywords": [ - "Graph algorithms", - "dijkstra", - "kruskal", - "minimum spanning tree", - "moore-bellman-ford", - "prim", - "shortest path" - ], - "time": "2015-03-08T10:12:01+00:00" + "time": "2019-10-02T09:10:26+00:00" }, { "name": "graphp/graphviz", - "version": "v0.2.1", + "version": "v0.2.2", "source": { "type": "git", "url": "https://github.com/graphp/graphviz.git", - "reference": "2676522dfcd907fd3cb52891ea64a052c4ac4c2a" + "reference": "5cc4466223ca46fffa196d1e762fae164319c229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/graphp/graphviz/zipball/2676522dfcd907fd3cb52891ea64a052c4ac4c2a", - "reference": "2676522dfcd907fd3cb52891ea64a052c4ac4c2a", + "url": "https://api.github.com/repos/graphp/graphviz/zipball/5cc4466223ca46fffa196d1e762fae164319c229", + "reference": "5cc4466223ca46fffa196d1e762fae164319c229", "shasum": "" }, "require": { "clue/graph": "~0.9.0|~0.8.0", - "graphp/algorithms": "~0.8.0", "php": ">=5.3.0" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" }, "type": "library", "autoload": { @@ -133,15 +82,16 @@ "license": [ "MIT" ], - "description": "GraphViz graph drawing for mathematical graph/network", + "description": "GraphViz graph drawing for the mathematical graph/network library GraPHP.", "homepage": "https://github.com/graphp/graphviz", "keywords": [ "dot output", "graph drawing", "graph image", + "graphp", "graphviz" ], - "time": "2015-03-08T10:30:28+00:00" + "time": "2019-10-04T13:30:55+00:00" }, { "name": "jms/composer-deps-analyzer", @@ -240,34 +190,32 @@ "packages-dev": [ { "name": "clue/phar-composer", - "version": "v1.0.0", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/clue/phar-composer.git", - "reference": "3ea2cd961c45290b2578c6bf971ae028bfcd6377" + "reference": "597437e2c70f7b5214223b79d2fe8c3e88135842" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/clue/phar-composer/zipball/3ea2cd961c45290b2578c6bf971ae028bfcd6377", - "reference": "3ea2cd961c45290b2578c6bf971ae028bfcd6377", + "url": "https://api.github.com/repos/clue/phar-composer/zipball/597437e2c70f7b5214223b79d2fe8c3e88135842", + "reference": "597437e2c70f7b5214223b79d2fe8c3e88135842", "shasum": "" }, "require": { - "herrera-io/box": "~1.5", - "knplabs/packagist-api": "~1.0", - "symfony/console": "~2.1", - "symfony/finder": "~2.1", - "symfony/process": "~2.1" + "herrera-io/box": "^1.5", + "knplabs/packagist-api": "^1.0", + "symfony/console": "^5.0 || ^4.0 || ^3.0 || ^2.5", + "symfony/finder": "^5.0 || ^4.0 || ^3.0 || ^2.5", + "symfony/process": "^5.0 || ^4.0 || ^3.0 || ^2.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.8" }, "bin": [ "bin/phar-composer" ], "type": "library", - "extra": { - "phar": { - "bundler": "composer" - } - }, "autoload": { "psr-0": { "Clue": "src/" @@ -280,17 +228,19 @@ "authors": [ { "name": "Christian Lück", - "email": "christian@lueck.tv" + "email": "christian@clue.engineering" } ], - "description": "Simple phar creation for your projects managed via composer", + "description": "Simple phar creation for any project managed via Composer", "homepage": "https://github.com/clue/phar-composer", "keywords": [ "build process", "bundle dependencies", - "executable phar" + "composer", + "executable phar", + "phar" ], - "time": "2015-11-15T18:36:37+00:00" + "time": "2019-11-22T07:57:12+00:00" }, { "name": "doctrine/inflector", @@ -414,83 +364,70 @@ "time": "2015-06-14T21:17:01+00:00" }, { - "name": "guzzle/common", - "version": "v3.9.2", - "target-dir": "Guzzle/Common", + "name": "guzzle/guzzle", + "version": "v3.9.3", "source": { "type": "git", - "url": "https://github.com/Guzzle3/common.git", - "reference": "2e36af7cf2ce3ea1f2d7c2831843b883a8e7b7dc" + "url": "https://github.com/guzzle/guzzle3.git", + "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Guzzle3/common/zipball/2e36af7cf2ce3ea1f2d7c2831843b883a8e7b7dc", - "reference": "2e36af7cf2ce3ea1f2d7c2831843b883a8e7b7dc", + "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9", + "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9", "shasum": "" }, "require": { - "php": ">=5.3.2", - "symfony/event-dispatcher": ">=2.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.7-dev" - } - }, - "autoload": { - "psr-0": { - "Guzzle\\Common": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Common libraries used by Guzzle", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "collection", - "common", - "event", - "exception" - ], - "abandoned": "guzzle/guzzle", - "time": "2014-08-11T04:32:36+00:00" - }, - { - "name": "guzzle/http", - "version": "v3.9.2", - "target-dir": "Guzzle/Http", - "source": { - "type": "git", - "url": "https://github.com/Guzzle3/http.git", - "reference": "1e8dd1e2ba9dc42332396f39fbfab950b2301dc5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Guzzle3/http/zipball/1e8dd1e2ba9dc42332396f39fbfab950b2301dc5", - "reference": "1e8dd1e2ba9dc42332396f39fbfab950b2301dc5", - "shasum": "" + "ext-curl": "*", + "php": ">=5.3.3", + "symfony/event-dispatcher": "~2.1" }, - "require": { + "replace": { + "guzzle/batch": "self.version", + "guzzle/cache": "self.version", "guzzle/common": "self.version", + "guzzle/http": "self.version", + "guzzle/inflection": "self.version", + "guzzle/iterator": "self.version", + "guzzle/log": "self.version", "guzzle/parser": "self.version", - "guzzle/stream": "self.version", - "php": ">=5.3.2" + "guzzle/plugin": "self.version", + "guzzle/plugin-async": "self.version", + "guzzle/plugin-backoff": "self.version", + "guzzle/plugin-cache": "self.version", + "guzzle/plugin-cookie": "self.version", + "guzzle/plugin-curlauth": "self.version", + "guzzle/plugin-error-response": "self.version", + "guzzle/plugin-history": "self.version", + "guzzle/plugin-log": "self.version", + "guzzle/plugin-md5": "self.version", + "guzzle/plugin-mock": "self.version", + "guzzle/plugin-oauth": "self.version", + "guzzle/service": "self.version", + "guzzle/stream": "self.version" + }, + "require-dev": { + "doctrine/cache": "~1.3", + "monolog/monolog": "~1.0", + "phpunit/phpunit": "3.7.*", + "psr/log": "~1.0", + "symfony/class-loader": "~2.1", + "zendframework/zend-cache": "2.*,<2.3", + "zendframework/zend-log": "2.*,<2.3" }, "suggest": { - "ext-curl": "*" + "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.7-dev" + "dev-master": "3.9-dev" } }, "autoload": { "psr-0": { - "Guzzle\\Http": "" + "Guzzle": "src/", + "Guzzle\\Tests": "tests/" } }, "notification-url": "https://packagist.org/downloads/", @@ -502,118 +439,25 @@ "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" + }, + { + "name": "Guzzle Community", + "homepage": "https://github.com/guzzle/guzzle/contributors" } ], - "description": "HTTP libraries used by Guzzle", + "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle", "homepage": "http://guzzlephp.org/", "keywords": [ - "Guzzle", "client", "curl", + "framework", "http", - "http client" + "http client", + "rest", + "web service" ], - "abandoned": "guzzle/guzzle", - "time": "2014-08-11T04:32:36+00:00" - }, - { - "name": "guzzle/parser", - "version": "v3.9.2", - "target-dir": "Guzzle/Parser", - "source": { - "type": "git", - "url": "https://github.com/Guzzle3/parser.git", - "reference": "6874d171318a8e93eb6d224cf85e4678490b625c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Guzzle3/parser/zipball/6874d171318a8e93eb6d224cf85e4678490b625c", - "reference": "6874d171318a8e93eb6d224cf85e4678490b625c", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.7-dev" - } - }, - "autoload": { - "psr-0": { - "Guzzle\\Parser": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Interchangeable parsers used by Guzzle", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "URI Template", - "cookie", - "http", - "message", - "url" - ], - "abandoned": "guzzle/guzzle", - "time": "2014-02-05T18:29:46+00:00" - }, - { - "name": "guzzle/stream", - "version": "v3.9.2", - "target-dir": "Guzzle/Stream", - "source": { - "type": "git", - "url": "https://github.com/Guzzle3/stream.git", - "reference": "60c7fed02e98d2c518dae8f97874c8f4622100f0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Guzzle3/stream/zipball/60c7fed02e98d2c518dae8f97874c8f4622100f0", - "reference": "60c7fed02e98d2c518dae8f97874c8f4622100f0", - "shasum": "" - }, - "require": { - "guzzle/common": "self.version", - "php": ">=5.3.2" - }, - "suggest": { - "guzzle/http": "To convert Guzzle request objects to PHP streams" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.7-dev" - } - }, - "autoload": { - "psr-0": { - "Guzzle\\Stream": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle stream wrapper component", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "Guzzle", - "component", - "stream" - ], - "abandoned": "guzzle/guzzle", - "time": "2014-05-01T21:36:02+00:00" + "abandoned": "guzzlehttp/guzzle", + "time": "2015-03-18T18:23:50+00:00" }, { "name": "herrera-io/box", @@ -677,21 +521,21 @@ }, { "name": "knplabs/packagist-api", - "version": "v1.2", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/KnpLabs/packagist-api.git", - "reference": "22eef9dfc163da33e78af2ae1487966774b54db5" + "reference": "9aebf8238943289d3bc3ab51e0014ed94a7a266a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/packagist-api/zipball/22eef9dfc163da33e78af2ae1487966774b54db5", - "reference": "22eef9dfc163da33e78af2ae1487966774b54db5", + "url": "https://api.github.com/repos/KnpLabs/packagist-api/zipball/9aebf8238943289d3bc3ab51e0014ed94a7a266a", + "reference": "9aebf8238943289d3bc3ab51e0014ed94a7a266a", "shasum": "" }, "require": { "doctrine/inflector": "~1.0", - "guzzle/http": "~3.0", + "guzzle/guzzle": "~3.0", "php": ">=5.3.2" }, "require-dev": { @@ -726,7 +570,7 @@ "composer", "packagist" ], - "time": "2014-09-17T13:49:46+00:00" + "time": "2015-09-07T14:25:16+00:00" }, { "name": "phine/exception", @@ -882,38 +726,38 @@ }, { "name": "phpspec/prophecy", - "version": "1.8.0", + "version": "v1.10.3", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" + "reference": "451c3cd1418cf640de218914901e51b064abb093" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", + "reference": "451c3cd1418cf640de218914901e51b064abb093", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", + "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" }, "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", + "phpspec/phpspec": "^2.5 || ^3.2", "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8.x-dev" + "dev-master": "1.10.x-dev" } }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" + "psr-4": { + "Prophecy\\": "src/Prophecy" } }, "notification-url": "https://packagist.org/downloads/", @@ -941,7 +785,7 @@ "spy", "stub" ], - "time": "2018-08-05T17:53:17+00:00" + "time": "2020-03-05T15:02:03+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1959,5 +1803,6 @@ "platform-dev": [], "platform-overrides": { "php": "5.3.6" - } + }, + "plugin-api-version": "1.1.0" }