Update pimple to version 3.
This commit is contained in:
parent
d698b11673
commit
65aba6b3c6
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
namespace PHPCI\Plugin\Util;
|
namespace PHPCI\Plugin\Util;
|
||||||
|
|
||||||
|
use Pimple\Container;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin Factory - Loads Plugins and passes required dependencies.
|
* Plugin Factory - Loads Plugins and passes required dependencies.
|
||||||
* @package PHPCI\Plugin\Util
|
* @package PHPCI\Plugin\Util
|
||||||
|
@ -15,19 +17,19 @@ class Factory
|
||||||
private $currentPluginOptions;
|
private $currentPluginOptions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Pimple
|
* @var Container
|
||||||
*/
|
*/
|
||||||
private $container;
|
private $container;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \Pimple $container
|
* @param Container $container
|
||||||
*/
|
*/
|
||||||
public function __construct(\Pimple $container = null)
|
public function __construct(Container $container = null)
|
||||||
{
|
{
|
||||||
if ($container) {
|
if ($container) {
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
} else {
|
} else {
|
||||||
$this->container = new \Pimple();
|
$this->container = new Container();
|
||||||
}
|
}
|
||||||
|
|
||||||
$self = $this;
|
$self = $this;
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
"symfony/console": "~2.1",
|
"symfony/console": "~2.1",
|
||||||
"psr/log": "~1.0",
|
"psr/log": "~1.0",
|
||||||
"monolog/monolog": "~1.6",
|
"monolog/monolog": "~1.6",
|
||||||
"pimple/pimple": "~1.1",
|
"pimple/pimple": "~3.0",
|
||||||
"robmorgan/phinx": "~0.4",
|
"robmorgan/phinx": "~0.4",
|
||||||
"sensiolabs/ansi-to-html": "~1.1",
|
"sensiolabs/ansi-to-html": "~1.1",
|
||||||
"jakub-onderka/php-parallel-lint": "0.8.*"
|
"jakub-onderka/php-parallel-lint": "0.8.*"
|
||||||
|
|
24
composer.lock
generated
24
composer.lock
generated
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"_readme": [
|
"_readme": [
|
||||||
"This file locks the dependencies of your project to a known state",
|
"This file locks the dependencies of your project to a known state",
|
||||||
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"hash": "0be92d5565a805ffe462c6061ed1dcf4",
|
"hash": "e12b5e931e334892180b1d963c3b3226",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "block8/b8framework",
|
"name": "block8/b8framework",
|
||||||
|
@ -216,16 +216,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pimple/pimple",
|
"name": "pimple/pimple",
|
||||||
"version": "v1.1.1",
|
"version": "v3.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/fabpot/Pimple.git",
|
"url": "https://github.com/silexphp/Pimple.git",
|
||||||
"reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d"
|
"reference": "876bf0899d01feacd2a2e83f04641e51350099ef"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/fabpot/Pimple/zipball/2019c145fe393923f3441b23f29bbdfaa5c58c4d",
|
"url": "https://api.github.com/repos/silexphp/Pimple/zipball/876bf0899d01feacd2a2e83f04641e51350099ef",
|
||||||
"reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d",
|
"reference": "876bf0899d01feacd2a2e83f04641e51350099ef",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -234,12 +234,12 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.1.x-dev"
|
"dev-master": "3.0.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
"Pimple": "lib/"
|
"Pimple": "src/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
@ -249,9 +249,7 @@
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
"email": "fabien@symfony.com",
|
"email": "fabien@symfony.com"
|
||||||
"homepage": "http://fabien.potencier.org",
|
|
||||||
"role": "Lead Developer"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
|
"description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
|
||||||
|
@ -260,7 +258,7 @@
|
||||||
"container",
|
"container",
|
||||||
"dependency injection"
|
"dependency injection"
|
||||||
],
|
],
|
||||||
"time": "2013-11-22 08:30:29"
|
"time": "2014-07-24 09:48:15"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/log",
|
"name": "psr/log",
|
||||||
|
|
Loading…
Reference in a new issue