From c8e2128c4cbff747f4d4ef3ceb525e55518b6d3f Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sat, 9 Sep 2017 21:29:40 -0400 Subject: [PATCH] Switch to mike-koch/PHP-DI --- api/composer.json | 8 +--- api/composer.lock | 110 +++++++++++++++++++++------------------------- 2 files changed, 51 insertions(+), 67 deletions(-) diff --git a/api/composer.json b/api/composer.json index d5194dea..e4c083d0 100644 --- a/api/composer.json +++ b/api/composer.json @@ -12,12 +12,6 @@ "require-dev": { "phpunit/phpunit": "6.3.0" }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/mike-koch/PHP-DI" - } - ], "require": { "phpmailer/phpmailer": "^5.2", "mailgun/mailgun-php": "^2.1", @@ -25,6 +19,6 @@ "php-http/message": "^1.5", "php-http/curl-client": "^1.7", "guzzlehttp/psr7": "^1.3", - "php-di/php-di": "dev-master" + "mike-koch/php-di": "4.4.11" } } diff --git a/api/composer.lock b/api/composer.lock index c9d00a68..c5a1a92d 100644 --- a/api/composer.lock +++ b/api/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" ], - "content-hash": "c94a62f4b72739c52334647f4b759251", + "content-hash": "f84b1b3e118e669dc5110809cbc86e4c", "packages": [ { "name": "clue/stream-filter", @@ -515,6 +515,54 @@ "description": "The Mailgun SDK provides methods for all API functions.", "time": "2017-06-20T19:56:09+00:00" }, + { + "name": "mike-koch/php-di", + "version": "4.4.11", + "source": { + "type": "git", + "url": "https://github.com/mike-koch/PHP-DI.git", + "reference": "c1a18d55666983901e542fc2626a51b831f30f0e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mike-koch/PHP-DI/zipball/c1a18d55666983901e542fc2626a51b831f30f0e", + "reference": "c1a18d55666983901e542fc2626a51b831f30f0e", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "~1.0", + "doctrine/annotations": "~1.2", + "doctrine/cache": "~1.0", + "myclabs/php-enum": "~1.1", + "ocramius/proxy-manager": "~0.5", + "php": ">=5.3.3", + "php-di/phpdoc-reader": "~1.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "DI\\": "src/DI/" + }, + "files": [ + "src/DI/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHP-DI is a Container that makes Dependency Injection as practical as possible in PHP. This fork fixes an issue in 4.x that prevented it from working in PHP 7.1.", + "homepage": "https://github.com/mike-koch/PHP-DI/", + "keywords": [ + "container", + "dependency injection", + "di" + ], + "time": "2017-09-08T02:23:09+00:00" + }, { "name": "myclabs/php-enum", "version": "1.5.2", @@ -622,62 +670,6 @@ ], "time": "2014-09-28T14:18:11+00:00" }, - { - "name": "php-di/php-di", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/mike-koch/PHP-DI.git", - "reference": "02ae2f2f79f3c09f711f8936e2c69cc65a530f1b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mike-koch/PHP-DI/zipball/02ae2f2f79f3c09f711f8936e2c69cc65a530f1b", - "reference": "02ae2f2f79f3c09f711f8936e2c69cc65a530f1b", - "shasum": "" - }, - "require": { - "container-interop/container-interop": "~1.0", - "doctrine/annotations": "~1.2", - "doctrine/cache": "~1.0", - "myclabs/php-enum": "~1.1", - "ocramius/proxy-manager": "~0.5", - "php": ">=5.3.3", - "php-di/phpdoc-reader": "~1.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "DI\\": "src/DI/" - }, - "files": [ - "src/DI/functions.php" - ] - }, - "autoload-dev": { - "psr-4": { - "DI\\Test\\IntegrationTest\\": "tests/IntegrationTest/", - "DI\\Test\\UnitTest\\": "tests/UnitTest/" - } - }, - "license": [ - "MIT" - ], - "description": "PHP-DI is a Container that makes Dependency Injection as practical as possible in PHP", - "homepage": "http://mnapoli.github.com/PHP-DI/", - "keywords": [ - "container", - "dependency injection", - "di" - ], - "support": { - "source": "https://github.com/mike-koch/PHP-DI/tree/master" - }, - "time": "2017-09-08 02:07:52" - }, { "name": "php-di/phpdoc-reader", "version": "1.3.0", @@ -3028,9 +3020,7 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "php-di/php-di": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": [],