From b74a29561c988aff865e428d75fd4780e7632dae Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Fri, 15 Sep 2017 00:57:18 -0400 Subject: [PATCH 01/10] Change namespaces from Illuminate\ to TightenCo\ --- composer.json | 4 ++-- .../Contracts/Support/Arrayable.php | 2 +- .../Contracts/Support/Jsonable.php | 2 +- src/{Illuminate => TightenCo}/Support/Arr.php | 4 ++-- .../Support/Collection.php | 12 ++++++------ .../Support/HigherOrderCollectionProxy.php | 8 ++++---- .../Support/Traits/Macroable.php | 4 ++-- src/{Illuminate => TightenCo}/Support/helpers.php | 6 +++--- tests/Support/SupportCollectionTest.php | 14 +++++++------- 9 files changed, 28 insertions(+), 28 deletions(-) rename src/{Illuminate => TightenCo}/Contracts/Support/Arrayable.php (78%) rename src/{Illuminate => TightenCo}/Contracts/Support/Jsonable.php (83%) rename src/{Illuminate => TightenCo}/Support/Arr.php (99%) rename src/{Illuminate => TightenCo}/Support/Collection.php (99%) rename src/{Illuminate => TightenCo}/Support/HigherOrderCollectionProxy.php (87%) rename src/{Illuminate => TightenCo}/Support/Traits/Macroable.php (96%) rename src/{Illuminate => TightenCo}/Support/helpers.php (95%) diff --git a/composer.json b/composer.json index e1a1501..ad6546c 100644 --- a/composer.json +++ b/composer.json @@ -18,10 +18,10 @@ }, "autoload": { "files": [ - "src/Illuminate/Support/helpers.php" + "src/TightenCo/Support/helpers.php", ], "psr-4": { - "Illuminate\\": "src/Illuminate" + "TightenCo\\": "src/TightenCo" } }, "minimum-stability": "dev", diff --git a/src/Illuminate/Contracts/Support/Arrayable.php b/src/TightenCo/Contracts/Support/Arrayable.php similarity index 78% rename from src/Illuminate/Contracts/Support/Arrayable.php rename to src/TightenCo/Contracts/Support/Arrayable.php index 5ad93b7..b6f580e 100644 --- a/src/Illuminate/Contracts/Support/Arrayable.php +++ b/src/TightenCo/Contracts/Support/Arrayable.php @@ -1,6 +1,6 @@ shouldReceive('toArray')->once()->andReturn('foo.array'); - $item2 = m::mock('Illuminate\Contracts\Support\Arrayable'); + $item2 = m::mock('TightenCo\Contracts\Support\Arrayable'); $item2->shouldReceive('toArray')->once()->andReturn('bar.array'); $c = new Collection([$item1, $item2]); $results = $c->toArray(); @@ -174,7 +174,7 @@ public function testJsonSerializeCallsToArrayOrJsonSerializeOnEachItemInCollecti { $item1 = m::mock('JsonSerializable'); $item1->shouldReceive('jsonSerialize')->once()->andReturn('foo.json'); - $item2 = m::mock('Illuminate\Contracts\Support\Arrayable'); + $item2 = m::mock('TightenCo\Contracts\Support\Arrayable'); $item2->shouldReceive('toArray')->once()->andReturn('bar.array'); $c = new Collection([$item1, $item2]); $results = $c->jsonSerialize(); From be9d406670fd5e747aa990edc801f33b13055332 Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Fri, 15 Sep 2017 00:59:40 -0400 Subject: [PATCH 02/10] Alias TightenCo\ classes to Illuminate\ namespace if there's no conflict --- composer.json | 1 + src/TightenCo/Support/alias.php | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/TightenCo/Support/alias.php diff --git a/composer.json b/composer.json index ad6546c..ec26937 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,7 @@ "autoload": { "files": [ "src/TightenCo/Support/helpers.php", + "src/TightenCo/Support/alias.php" ], "psr-4": { "TightenCo\\": "src/TightenCo" diff --git a/src/TightenCo/Support/alias.php b/src/TightenCo/Support/alias.php new file mode 100644 index 0000000..38405dd --- /dev/null +++ b/src/TightenCo/Support/alias.php @@ -0,0 +1,16 @@ + Illuminate\Contracts\Support\Arrayable::class, + TightenCo\Contracts\Support\Jsonable::class => Illuminate\Contracts\Support\Jsonable::class, + TightenCo\Support\Traits\Macroable::class => Illuminate\Support\Traits\Macroable::class, + TightenCo\Support\Arr::class => Illuminate\Support\Arr::class, + TightenCo\Support\Collection::class => Illuminate\Support\Collection::class, + TightenCo\Support\HigherOrderCollectionProxy::class => Illuminate\Support\HigherOrderCollectionProxy::class, +]; + +foreach ($aliases as $tighten => $illuminate) { + if (! class_exists($illuminate) && ! interface_exists($illuminate) && ! trait_exists($illuminate)) { + class_alias($tighten, $illuminate); + } +} From 27feecc9fc690ee45fc8fc8c66ff1eb5c7ff239f Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Fri, 15 Sep 2017 09:54:20 -0400 Subject: [PATCH 03/10] Change namespace from TightenCo to Tightenco --- composer.json | 6 +++--- src/TightenCo/Contracts/Support/Arrayable.php | 2 +- src/TightenCo/Contracts/Support/Jsonable.php | 2 +- src/TightenCo/Support/Arr.php | 4 ++-- src/TightenCo/Support/Collection.php | 12 ++++++------ .../Support/HigherOrderCollectionProxy.php | 8 ++++---- src/TightenCo/Support/Traits/Macroable.php | 4 ++-- src/TightenCo/Support/alias.php | 12 ++++++------ src/TightenCo/Support/helpers.php | 6 +++--- tests/Support/SupportCollectionTest.php | 14 +++++++------- 10 files changed, 35 insertions(+), 35 deletions(-) diff --git a/composer.json b/composer.json index ec26937..94c3d40 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,11 @@ }, "autoload": { "files": [ - "src/TightenCo/Support/helpers.php", - "src/TightenCo/Support/alias.php" + "src/Tightenco/Support/helpers.php", + "src/Tightenco/Support/alias.php" ], "psr-4": { - "TightenCo\\": "src/TightenCo" + "Tightenco\\": "src/Tightenco" } }, "minimum-stability": "dev", diff --git a/src/TightenCo/Contracts/Support/Arrayable.php b/src/TightenCo/Contracts/Support/Arrayable.php index b6f580e..fd0ca6d 100644 --- a/src/TightenCo/Contracts/Support/Arrayable.php +++ b/src/TightenCo/Contracts/Support/Arrayable.php @@ -1,6 +1,6 @@ Illuminate\Contracts\Support\Arrayable::class, - TightenCo\Contracts\Support\Jsonable::class => Illuminate\Contracts\Support\Jsonable::class, - TightenCo\Support\Traits\Macroable::class => Illuminate\Support\Traits\Macroable::class, - TightenCo\Support\Arr::class => Illuminate\Support\Arr::class, - TightenCo\Support\Collection::class => Illuminate\Support\Collection::class, - TightenCo\Support\HigherOrderCollectionProxy::class => Illuminate\Support\HigherOrderCollectionProxy::class, + Tightenco\Contracts\Support\Arrayable::class => Illuminate\Contracts\Support\Arrayable::class, + Tightenco\Contracts\Support\Jsonable::class => Illuminate\Contracts\Support\Jsonable::class, + Tightenco\Support\Traits\Macroable::class => Illuminate\Support\Traits\Macroable::class, + Tightenco\Support\Arr::class => Illuminate\Support\Arr::class, + Tightenco\Support\Collection::class => Illuminate\Support\Collection::class, + Tightenco\Support\HigherOrderCollectionProxy::class => Illuminate\Support\HigherOrderCollectionProxy::class, ]; foreach ($aliases as $tighten => $illuminate) { diff --git a/src/TightenCo/Support/helpers.php b/src/TightenCo/Support/helpers.php index 42e8085..b54cd9e 100644 --- a/src/TightenCo/Support/helpers.php +++ b/src/TightenCo/Support/helpers.php @@ -1,7 +1,7 @@ shouldReceive('toArray')->once()->andReturn('foo.array'); - $item2 = m::mock('TightenCo\Contracts\Support\Arrayable'); + $item2 = m::mock('Tightenco\Contracts\Support\Arrayable'); $item2->shouldReceive('toArray')->once()->andReturn('bar.array'); $c = new Collection([$item1, $item2]); $results = $c->toArray(); @@ -174,7 +174,7 @@ public function testJsonSerializeCallsToArrayOrJsonSerializeOnEachItemInCollecti { $item1 = m::mock('JsonSerializable'); $item1->shouldReceive('jsonSerialize')->once()->andReturn('foo.json'); - $item2 = m::mock('TightenCo\Contracts\Support\Arrayable'); + $item2 = m::mock('Tightenco\Contracts\Support\Arrayable'); $item2->shouldReceive('toArray')->once()->andReturn('bar.array'); $c = new Collection([$item1, $item2]); $results = $c->jsonSerialize(); From 61282e5a44210df4ec810bb825c06b0569bdd797 Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Fri, 15 Sep 2017 10:12:34 -0400 Subject: [PATCH 04/10] Pick up case change in filenames --- src/{TightenCo => Tightenco}/Contracts/Support/Arrayable.php | 0 src/{TightenCo => Tightenco}/Contracts/Support/Jsonable.php | 0 src/{TightenCo => Tightenco}/Support/Arr.php | 0 src/{TightenCo => Tightenco}/Support/Collection.php | 0 .../Support/HigherOrderCollectionProxy.php | 0 src/{TightenCo => Tightenco}/Support/Traits/Macroable.php | 0 src/{TightenCo => Tightenco}/Support/alias.php | 0 src/{TightenCo => Tightenco}/Support/helpers.php | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename src/{TightenCo => Tightenco}/Contracts/Support/Arrayable.php (100%) rename src/{TightenCo => Tightenco}/Contracts/Support/Jsonable.php (100%) rename src/{TightenCo => Tightenco}/Support/Arr.php (100%) rename src/{TightenCo => Tightenco}/Support/Collection.php (100%) rename src/{TightenCo => Tightenco}/Support/HigherOrderCollectionProxy.php (100%) rename src/{TightenCo => Tightenco}/Support/Traits/Macroable.php (100%) rename src/{TightenCo => Tightenco}/Support/alias.php (100%) rename src/{TightenCo => Tightenco}/Support/helpers.php (100%) diff --git a/src/TightenCo/Contracts/Support/Arrayable.php b/src/Tightenco/Contracts/Support/Arrayable.php similarity index 100% rename from src/TightenCo/Contracts/Support/Arrayable.php rename to src/Tightenco/Contracts/Support/Arrayable.php diff --git a/src/TightenCo/Contracts/Support/Jsonable.php b/src/Tightenco/Contracts/Support/Jsonable.php similarity index 100% rename from src/TightenCo/Contracts/Support/Jsonable.php rename to src/Tightenco/Contracts/Support/Jsonable.php diff --git a/src/TightenCo/Support/Arr.php b/src/Tightenco/Support/Arr.php similarity index 100% rename from src/TightenCo/Support/Arr.php rename to src/Tightenco/Support/Arr.php diff --git a/src/TightenCo/Support/Collection.php b/src/Tightenco/Support/Collection.php similarity index 100% rename from src/TightenCo/Support/Collection.php rename to src/Tightenco/Support/Collection.php diff --git a/src/TightenCo/Support/HigherOrderCollectionProxy.php b/src/Tightenco/Support/HigherOrderCollectionProxy.php similarity index 100% rename from src/TightenCo/Support/HigherOrderCollectionProxy.php rename to src/Tightenco/Support/HigherOrderCollectionProxy.php diff --git a/src/TightenCo/Support/Traits/Macroable.php b/src/Tightenco/Support/Traits/Macroable.php similarity index 100% rename from src/TightenCo/Support/Traits/Macroable.php rename to src/Tightenco/Support/Traits/Macroable.php diff --git a/src/TightenCo/Support/alias.php b/src/Tightenco/Support/alias.php similarity index 100% rename from src/TightenCo/Support/alias.php rename to src/Tightenco/Support/alias.php diff --git a/src/TightenCo/Support/helpers.php b/src/Tightenco/Support/helpers.php similarity index 100% rename from src/TightenCo/Support/helpers.php rename to src/Tightenco/Support/helpers.php From 0db8c8aa2aae44af756437ba6e98d9b0bd1ecec3 Mon Sep 17 00:00:00 2001 From: Benson Lee Date: Thu, 25 Jan 2018 11:26:27 -0800 Subject: [PATCH 05/10] Laravel 5.5.32 changes (#72) --- src/Illuminate/Support/Collection.php | 22 ++++++++++- tests/Support/SupportCollectionTest.php | 52 ++++++++++++++++++++++++- 2 files changed, 70 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Support/Collection.php b/src/Illuminate/Support/Collection.php index c7285c4..ea584fc 100644 --- a/src/Illuminate/Support/Collection.php +++ b/src/Illuminate/Support/Collection.php @@ -271,6 +271,8 @@ public function crossJoin(...$lists) */ public function dd(...$args) { + http_response_code(500); + call_user_func_array([$this, 'dump'], $args); die(1); @@ -391,7 +393,7 @@ public function every($key, $operator = null, $value = null) public function except($keys) { if ($keys instanceof self) { - $keys = $keys->keys()->all(); + $keys = $keys->all(); } elseif (! is_array($keys)) { $keys = func_get_args(); } @@ -658,6 +660,12 @@ public function get($key, $default = null) */ public function groupBy($groupBy, $preserveKeys = false) { + if (is_array($groupBy)) { + $nextGroups = $groupBy; + + $groupBy = array_shift($nextGroups); + } + $groupBy = $this->valueRetriever($groupBy); $results = []; @@ -680,7 +688,13 @@ public function groupBy($groupBy, $preserveKeys = false) } } - return new static($results); + $result = new static($results); + + if (! empty($nextGroups)) { + return $result->map->groupBy($nextGroups, $preserveKeys); + } + + return $result; } /** @@ -1052,6 +1066,10 @@ public function only($keys) return new static($this->items); } + if ($keys instanceof self) { + $keys = $keys->all(); + } + $keys = is_array($keys) ? $keys : func_get_args(); return new static(Arr::only($this->items, $keys)); diff --git a/tests/Support/SupportCollectionTest.php b/tests/Support/SupportCollectionTest.php index c49675d..0bb8c63 100644 --- a/tests/Support/SupportCollectionTest.php +++ b/tests/Support/SupportCollectionTest.php @@ -973,11 +973,9 @@ public function testExcept() $this->assertEquals(['first' => 'Taylor'], $data->except(['last', 'email', 'missing'])->all()); $this->assertEquals(['first' => 'Taylor'], $data->except('last', 'email', 'missing')->all()); - $this->assertEquals(['first' => 'Taylor'], $data->except(collect(['last' => 'Otwell', 'email' => 'taylorotwell@gmail.com', 'missing']))->all()); $this->assertEquals(['first' => 'Taylor', 'email' => 'taylorotwell@gmail.com'], $data->except(['last'])->all()); $this->assertEquals(['first' => 'Taylor', 'email' => 'taylorotwell@gmail.com'], $data->except('last')->all()); - $this->assertEquals(['first' => 'Taylor', 'email' => 'taylorotwell@gmail.com'], $data->except(collect(['last' => 'Otwell']))->all()); } public function testPluckWithArrayAndObjectValues() @@ -1601,6 +1599,48 @@ public function testGroupByClosureWhereItemsHaveMultipleGroupsPreservingKeys() $this->assertEquals($expected_result, $result->toArray()); } + public function testGroupByMultiLevelAndClosurePreservingKeys() + { + $data = new Collection([ + 10 => ['user' => 1, 'skilllevel' => 1, 'roles' => ['Role_1', 'Role_3']], + 20 => ['user' => 2, 'skilllevel' => 1, 'roles' => ['Role_1', 'Role_2']], + 30 => ['user' => 3, 'skilllevel' => 2, 'roles' => ['Role_1']], + 40 => ['user' => 4, 'skilllevel' => 2, 'roles' => ['Role_2']], + ]); + + $result = $data->groupBy([ + 'skilllevel', + function ($item) { + return $item['roles']; + }, + ], true); + + $expected_result = [ + 1 => [ + 'Role_1' => [ + 10 => ['user' => 1, 'skilllevel' => 1, 'roles' => ['Role_1', 'Role_3']], + 20 => ['user' => 2, 'skilllevel' => 1, 'roles' => ['Role_1', 'Role_2']], + ], + 'Role_3' => [ + 10 => ['user' => 1, 'skilllevel' => 1, 'roles' => ['Role_1', 'Role_3']], + ], + 'Role_2' => [ + 20 => ['user' => 2, 'skilllevel' => 1, 'roles' => ['Role_1', 'Role_2']], + ], + ], + 2 => [ + 'Role_1' => [ + 30 => ['user' => 3, 'skilllevel' => 2, 'roles' => ['Role_1']], + ], + 'Role_2' => [ + 40 => ['user' => 4, 'skilllevel' => 2, 'roles' => ['Role_2']], + ], + ], + ]; + + $this->assertEquals($expected_result, $result->toArray()); + } + public function testKeyByAttribute() { $data = new Collection([['rating' => 1, 'name' => '1'], ['rating' => 2, 'name' => '2'], ['rating' => 3, 'name' => '3']]); @@ -1928,9 +1968,11 @@ public function testOnly() $this->assertEquals($data->all(), $data->only(null)->all()); $this->assertEquals(['first' => 'Taylor'], $data->only(['first', 'missing'])->all()); $this->assertEquals(['first' => 'Taylor'], $data->only('first', 'missing')->all()); + $this->assertEquals(['first' => 'Taylor'], $data->only(collect(['first', 'missing']))->all()); $this->assertEquals(['first' => 'Taylor', 'email' => 'taylorotwell@gmail.com'], $data->only(['first', 'email'])->all()); $this->assertEquals(['first' => 'Taylor', 'email' => 'taylorotwell@gmail.com'], $data->only('first', 'email')->all()); + $this->assertEquals(['first' => 'Taylor', 'email' => 'taylorotwell@gmail.com'], $data->only(collect(['first', 'email']))->all()); } public function testGettingAvgItemsFromCollection() @@ -2422,6 +2464,12 @@ public function testUnlessDefault() $this->assertSame(['michael', 'tom', 'taylor'], $collection->toArray()); } + + public function testGetWithNullReturnsNull() + { + $collection = new Collection([1, 2, 3]); + $this->assertNull($collection->get(null)); + } } class TestSupportCollectionHigherOrderItem From 990bc7dc0cef03a10b9b4035818bfc64eff397ac Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Wed, 31 Jan 2018 15:31:58 -0500 Subject: [PATCH 06/10] Move Htmlable, HtmlString, Dumper, and HtmlDumper to Tightenco namespace --- src/{Illuminate => Tightenco}/Contracts/Support/Htmlable.php | 2 +- src/{Illuminate => Tightenco}/Support/Debug/Dumper.php | 2 +- src/{Illuminate => Tightenco}/Support/Debug/HtmlDumper.php | 2 +- src/{Illuminate => Tightenco}/Support/HtmlString.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename src/{Illuminate => Tightenco}/Contracts/Support/Htmlable.php (78%) rename src/{Illuminate => Tightenco}/Support/Debug/Dumper.php (93%) rename src/{Illuminate => Tightenco}/Support/Debug/HtmlDumper.php (96%) rename src/{Illuminate => Tightenco}/Support/HtmlString.php (89%) diff --git a/src/Illuminate/Contracts/Support/Htmlable.php b/src/Tightenco/Contracts/Support/Htmlable.php similarity index 78% rename from src/Illuminate/Contracts/Support/Htmlable.php rename to src/Tightenco/Contracts/Support/Htmlable.php index 32f643a..73066b1 100644 --- a/src/Illuminate/Contracts/Support/Htmlable.php +++ b/src/Tightenco/Contracts/Support/Htmlable.php @@ -1,6 +1,6 @@ Date: Wed, 31 Jan 2018 15:32:17 -0500 Subject: [PATCH 07/10] Alias new classes --- src/Tightenco/Support/alias.php | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/Tightenco/Support/alias.php b/src/Tightenco/Support/alias.php index 75c3269..7bdb211 100644 --- a/src/Tightenco/Support/alias.php +++ b/src/Tightenco/Support/alias.php @@ -1,12 +1,31 @@ Illuminate\Contracts\Support\Arrayable::class, + Tightenco\Contracts\Support\Htmlable::class => Illuminate\Contracts\Support\Htmlable::class, Tightenco\Contracts\Support\Jsonable::class => Illuminate\Contracts\Support\Jsonable::class, - Tightenco\Support\Traits\Macroable::class => Illuminate\Support\Traits\Macroable::class, + + /** + * Support + */ Tightenco\Support\Arr::class => Illuminate\Support\Arr::class, Tightenco\Support\Collection::class => Illuminate\Support\Collection::class, Tightenco\Support\HigherOrderCollectionProxy::class => Illuminate\Support\HigherOrderCollectionProxy::class, + Tightenco\Support\HtmlString::class => Illuminate\Support\HtmlString::class, + + /** + * Support\Debug + */ + Tightenco\Support\Debug\Dumper::class => Illuminate\Support\Debug\Dumper::class, + Tightenco\Support\Debug\HtmlDumper::class => Illuminate\Support\Debug\HtmlDumper::class, + + /** + * Support\Traits + */ + Tightenco\Support\Traits\Macroable::class => Illuminate\Support\Traits\Macroable::class, ]; foreach ($aliases as $tighten => $illuminate) { From 094fd593b628c0d5b58f43c469e39a49bbb6851d Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Wed, 31 Jan 2018 15:32:48 -0500 Subject: [PATCH 08/10] Add `symfony/var-dumper` dependency --- composer.json | 3 +- composer.lock | 335 +++++++++++++++++++++++++++++++++++--------------- 2 files changed, 238 insertions(+), 100 deletions(-) diff --git a/composer.json b/composer.json index b7a4518..512ee90 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,8 @@ } ], "require": { - "php": ">=7.0" + "php": ">=7.0", + "symfony/var-dumper": "~3.3" }, "require-dev": { "mockery/mockery": "~1.0", diff --git a/composer.lock b/composer.lock index f125fb3..16a68c5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,37 +4,166 @@ "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": "93255db3a480848e29f88498fd5d562a", - "packages": [], + "content-hash": "43a7cacf36bcbd12340ceb50d46308f6", + "packages": [ + { + "name": "symfony/polyfill-mbstring", + "version": "v1.7.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/78be803ce01e55d3491c1397cf1c64beb9c1b63b", + "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.7-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2018-01-30T19:27:44+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v3.4.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/472a9849930cf21f73abdb02240f17cf5b5bd1a7", + "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" + }, + "require-dev": { + "ext-iconv": "*", + "twig/twig": "~1.34|~2.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "ext-symfony_debug": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony mechanism for exploring and dumping PHP variables", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "time": "2018-01-29T09:03:43+00:00" + } + ], "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.0.5", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", + "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", "shasum": "" }, "require": { - "php": ">=5.3,<8.0-DEV" + "php": "^7.1" }, "require-dev": { "athletic/athletic": "~0.1.8", "ext-pdo": "*", "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" + "phpunit/phpunit": "^6.2.3", + "squizlabs/php_codesniffer": "^3.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { @@ -59,7 +188,7 @@ "constructor", "instantiate" ], - "time": "2015-06-14T21:17:01+00:00" + "time": "2017-07-22T11:58:36+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -111,16 +240,16 @@ }, { "name": "mockery/mockery", - "version": "1.0.0-alpha1", + "version": "1.0", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "0b23f71799b3e43406f4ce7fef112ac3f0b7a385" + "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/0b23f71799b3e43406f4ce7fef112ac3f0b7a385", - "reference": "0b23f71799b3e43406f4ce7fef112ac3f0b7a385", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1bac8c362b12f522fdd1f1fa3556284c91affa38", + "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38", "shasum": "" }, "require": { @@ -129,7 +258,7 @@ "php": ">=5.6.0" }, "require-dev": { - "phpunit/phpunit": "~5.7" + "phpunit/phpunit": "~5.7|~6.1" }, "type": "library", "extra": { @@ -159,7 +288,7 @@ } ], "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", - "homepage": "http://github.com/padraic/mockery", + "homepage": "http://github.com/mockery/mockery", "keywords": [ "BDD", "TDD", @@ -172,41 +301,44 @@ "test double", "testing" ], - "time": "2017-02-02T08:52:46+00:00" + "time": "2017-10-06T16:20:43+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.6.1", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", "shasum": "" }, "require": { - "php": ">=5.4.0" + "php": "^5.6 || ^7.0" }, "require-dev": { - "doctrine/collections": "1.*", - "phpunit/phpunit": "~4.1" + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^4.1" }, "type": "library", "autoload": { "psr-4": { "DeepCopy\\": "src/DeepCopy/" - } + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "description": "Create deep copies (clones) of your objects", - "homepage": "https://github.com/myclabs/DeepCopy", "keywords": [ "clone", "copy", @@ -214,7 +346,7 @@ "object", "object graph" ], - "time": "2017-04-12T18:52:22+00:00" + "time": "2017-10-19T19:58:43+00:00" }, { "name": "phar-io/manifest", @@ -320,16 +452,16 @@ }, { "name": "phpdocumentor/reflection-common", - "version": "1.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", "shasum": "" }, "require": { @@ -370,33 +502,39 @@ "reflection", "static analysis" ], - "time": "2015-12-27T11:43:31+00:00" + "time": "2017-09-11T18:02:19+00:00" }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.1.1", + "version": "4.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2" + "reference": "94fd0001232e47129dd3504189fa1c7225010d08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/2d3d238c433cf69caeb4842e97a3223a116f94b2", - "reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", + "reference": "94fd0001232e47129dd3504189fa1c7225010d08", "shasum": "" }, "require": { "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/reflection-common": "^1.0.0", "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.4" + "doctrine/instantiator": "~1.0.5", + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^6.4" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + } + }, "autoload": { "psr-4": { "phpDocumentor\\Reflection\\": [ @@ -415,7 +553,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-08-30T18:51:59+00:00" + "time": "2017-11-30T07:14:17+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -466,16 +604,16 @@ }, { "name": "phpspec/prophecy", - "version": "v1.7.2", + "version": "1.7.3", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6" + "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6", - "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", + "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", "shasum": "" }, "require": { @@ -487,7 +625,7 @@ }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8 || ^5.6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7" }, "type": "library", "extra": { @@ -525,20 +663,20 @@ "spy", "stub" ], - "time": "2017-09-04T11:05:03+00:00" + "time": "2017-11-24T13:59:53+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "5.2.2", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "8ed1902a57849e117b5651fc1a5c48110946c06b" + "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/8ed1902a57849e117b5651fc1a5c48110946c06b", - "reference": "8ed1902a57849e117b5651fc1a5c48110946c06b", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/661f34d0bd3f1a7225ef491a70a020ad23a057a1", + "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1", "shasum": "" }, "require": { @@ -547,14 +685,13 @@ "php": "^7.0", "phpunit/php-file-iterator": "^1.4.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^1.4.11 || ^2.0", + "phpunit/php-token-stream": "^2.0.1", "sebastian/code-unit-reverse-lookup": "^1.0.1", "sebastian/environment": "^3.0", "sebastian/version": "^2.0.1", "theseer/tokenizer": "^1.1" }, "require-dev": { - "ext-xdebug": "^2.5", "phpunit/phpunit": "^6.0" }, "suggest": { @@ -563,7 +700,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.2.x-dev" + "dev-master": "5.3.x-dev" } }, "autoload": { @@ -578,7 +715,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -589,20 +726,20 @@ "testing", "xunit" ], - "time": "2017-08-03T12:40:43+00:00" + "time": "2017-12-06T09:29:45+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.2", + "version": "1.4.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", "shasum": "" }, "require": { @@ -636,7 +773,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03T07:40:28+00:00" + "time": "2017-11-27T13:52:08+00:00" }, { "name": "phpunit/php-text-template", @@ -730,16 +867,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "9a02332089ac48e704c70f6cefed30c224e3c0b0" + "reference": "791198a2c6254db10131eecfe8c06670700904db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/9a02332089ac48e704c70f6cefed30c224e3c0b0", - "reference": "9a02332089ac48e704c70f6cefed30c224e3c0b0", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", + "reference": "791198a2c6254db10131eecfe8c06670700904db", "shasum": "" }, "require": { @@ -775,20 +912,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-08-20T05:47:52+00:00" + "time": "2017-11-27T05:48:46+00:00" }, { "name": "phpunit/phpunit", - "version": "6.3.0", + "version": "6.5.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "9501bab711403a1ab5b8378a8adb4ec3db3debdb" + "reference": "83d27937a310f2984fd575686138597147bdc7df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9501bab711403a1ab5b8378a8adb4ec3db3debdb", - "reference": "9501bab711403a1ab5b8378a8adb4ec3db3debdb", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/83d27937a310f2984fd575686138597147bdc7df", + "reference": "83d27937a310f2984fd575686138597147bdc7df", "shasum": "" }, "require": { @@ -802,12 +939,12 @@ "phar-io/version": "^1.0", "php": "^7.0", "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^5.2.2", - "phpunit/php-file-iterator": "^1.4.2", + "phpunit/php-code-coverage": "^5.3", + "phpunit/php-file-iterator": "^1.4.3", "phpunit/php-text-template": "^1.2.1", "phpunit/php-timer": "^1.0.9", - "phpunit/phpunit-mock-objects": "^4.0.3", - "sebastian/comparator": "^2.0.2", + "phpunit/phpunit-mock-objects": "^5.0.5", + "sebastian/comparator": "^2.1", "sebastian/diff": "^2.0", "sebastian/environment": "^3.1", "sebastian/exporter": "^3.1", @@ -833,7 +970,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.3.x-dev" + "dev-master": "6.5.x-dev" } }, "autoload": { @@ -859,33 +996,33 @@ "testing", "xunit" ], - "time": "2017-08-04T05:20:39+00:00" + "time": "2017-12-17T06:31:19+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "4.0.4", + "version": "5.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "2f789b59ab89669015ad984afa350c4ec577ade0" + "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/2f789b59ab89669015ad984afa350c4ec577ade0", - "reference": "2f789b59ab89669015ad984afa350c4ec577ade0", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/33fd41a76e746b8fa96d00b49a23dadfa8334cdf", + "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.5", "php": "^7.0", "phpunit/php-text-template": "^1.2.1", - "sebastian/exporter": "^3.0" + "sebastian/exporter": "^3.1" }, "conflict": { "phpunit/phpunit": "<6.0" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^6.5" }, "suggest": { "ext-soap": "*" @@ -893,7 +1030,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0.x-dev" + "dev-master": "5.0.x-dev" } }, "autoload": { @@ -908,7 +1045,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -918,7 +1055,7 @@ "mock", "xunit" ], - "time": "2017-08-03T14:08:16+00:00" + "time": "2018-01-06T05:45:45+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -967,30 +1104,30 @@ }, { "name": "sebastian/comparator", - "version": "2.0.2", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "ae068fede81d06e7bb9bb46a367210a3d3e1fe6a" + "reference": "11c07feade1d65453e06df3b3b90171d6d982087" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/ae068fede81d06e7bb9bb46a367210a3d3e1fe6a", - "reference": "ae068fede81d06e7bb9bb46a367210a3d3e1fe6a", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/11c07feade1d65453e06df3b3b90171d6d982087", + "reference": "11c07feade1d65453e06df3b3b90171d6d982087", "shasum": "" }, "require": { "php": "^7.0", "sebastian/diff": "^2.0", - "sebastian/exporter": "^3.0" + "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^6.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.1.x-dev" } }, "autoload": { @@ -1021,13 +1158,13 @@ } ], "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", + "homepage": "https://github.com/sebastianbergmann/comparator", "keywords": [ "comparator", "compare", "equality" ], - "time": "2017-08-03T07:14:59+00:00" + "time": "2018-01-12T06:34:42+00:00" }, { "name": "sebastian/diff", @@ -1521,16 +1658,16 @@ }, { "name": "webmozart/assert", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + "reference": "0df1908962e7a3071564e857d86874dad1ef204a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", + "reference": "0df1908962e7a3071564e857d86874dad1ef204a", "shasum": "" }, "require": { @@ -1567,7 +1704,7 @@ "check", "validate" ], - "time": "2016-11-23T20:04:58+00:00" + "time": "2018-01-29T19:49:41+00:00" } ], "aliases": [], From 18d033818df63869081b233d9809403e77ad292d Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Wed, 31 Jan 2018 15:46:14 -0500 Subject: [PATCH 09/10] Remove `suggest` block from composer.json --- composer.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/composer.json b/composer.json index 512ee90..64451ac 100644 --- a/composer.json +++ b/composer.json @@ -26,9 +26,6 @@ "Tightenco\\": "src/Tightenco" } }, - "suggest": { - "symfony/var-dumper": "Required to prettify dd() and dump() (~3.3)." - }, "minimum-stability": "dev", "prefer-stable": true } From 782942dfbce138a4b628d47fbdf47f6dd448a019 Mon Sep 17 00:00:00 2001 From: Keith Damiani Date: Wed, 31 Jan 2018 15:51:23 -0500 Subject: [PATCH 10/10] Fix composer.lock, roll back local updates requiring PHP 7.1 --- composer.lock | 202 ++++++++++++++++++++++++-------------------------- 1 file changed, 97 insertions(+), 105 deletions(-) diff --git a/composer.lock b/composer.lock index 16a68c5..b8731a9 100644 --- a/composer.lock +++ b/composer.lock @@ -138,32 +138,32 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.1.0", + "version": "1.0.5", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda" + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", "shasum": "" }, "require": { - "php": "^7.1" + "php": ">=5.3,<8.0-DEV" }, "require-dev": { "athletic/athletic": "~0.1.8", "ext-pdo": "*", "ext-phar": "*", - "phpunit/phpunit": "^6.2.3", - "squizlabs/php_codesniffer": "^3.0.2" + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { @@ -188,7 +188,7 @@ "constructor", "instantiate" ], - "time": "2017-07-22T11:58:36+00:00" + "time": "2015-06-14T21:17:01+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -240,16 +240,16 @@ }, { "name": "mockery/mockery", - "version": "1.0", + "version": "1.0.0-alpha1", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38" + "reference": "0b23f71799b3e43406f4ce7fef112ac3f0b7a385" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/1bac8c362b12f522fdd1f1fa3556284c91affa38", - "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38", + "url": "https://api.github.com/repos/mockery/mockery/zipball/0b23f71799b3e43406f4ce7fef112ac3f0b7a385", + "reference": "0b23f71799b3e43406f4ce7fef112ac3f0b7a385", "shasum": "" }, "require": { @@ -258,7 +258,7 @@ "php": ">=5.6.0" }, "require-dev": { - "phpunit/phpunit": "~5.7|~6.1" + "phpunit/phpunit": "~5.7" }, "type": "library", "extra": { @@ -288,7 +288,7 @@ } ], "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", - "homepage": "http://github.com/mockery/mockery", + "homepage": "http://github.com/padraic/mockery", "keywords": [ "BDD", "TDD", @@ -301,44 +301,41 @@ "test double", "testing" ], - "time": "2017-10-06T16:20:43+00:00" + "time": "2017-02-02T08:52:46+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.7.0", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": ">=5.4.0" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^4.1" + "doctrine/collections": "1.*", + "phpunit/phpunit": "~4.1" }, "type": "library", "autoload": { "psr-4": { "DeepCopy\\": "src/DeepCopy/" - }, - "files": [ - "src/DeepCopy/deep_copy.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "description": "Create deep copies (clones) of your objects", + "homepage": "https://github.com/myclabs/DeepCopy", "keywords": [ "clone", "copy", @@ -346,7 +343,7 @@ "object", "object graph" ], - "time": "2017-10-19T19:58:43+00:00" + "time": "2017-04-12T18:52:22+00:00" }, { "name": "phar-io/manifest", @@ -452,16 +449,16 @@ }, { "name": "phpdocumentor/reflection-common", - "version": "1.0.1", + "version": "1.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", "shasum": "" }, "require": { @@ -502,39 +499,33 @@ "reflection", "static analysis" ], - "time": "2017-09-11T18:02:19+00:00" + "time": "2015-12-27T11:43:31+00:00" }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.3.0", + "version": "4.1.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08" + "reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/2d3d238c433cf69caeb4842e97a3223a116f94b2", + "reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2", "shasum": "" }, "require": { "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0", + "phpdocumentor/reflection-common": "^1.0@dev", "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { - "doctrine/instantiator": "~1.0.5", - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.4" + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.x-dev" - } - }, "autoload": { "psr-4": { "phpDocumentor\\Reflection\\": [ @@ -553,7 +544,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-30T07:14:17+00:00" + "time": "2017-08-30T18:51:59+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -604,16 +595,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.7.3", + "version": "v1.7.2", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf" + "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", - "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6", + "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6", "shasum": "" }, "require": { @@ -625,7 +616,7 @@ }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7" + "phpunit/phpunit": "^4.8 || ^5.6.5" }, "type": "library", "extra": { @@ -663,20 +654,20 @@ "spy", "stub" ], - "time": "2017-11-24T13:59:53+00:00" + "time": "2017-09-04T11:05:03+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "5.3.0", + "version": "5.2.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1" + "reference": "8ed1902a57849e117b5651fc1a5c48110946c06b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/661f34d0bd3f1a7225ef491a70a020ad23a057a1", - "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/8ed1902a57849e117b5651fc1a5c48110946c06b", + "reference": "8ed1902a57849e117b5651fc1a5c48110946c06b", "shasum": "" }, "require": { @@ -685,13 +676,14 @@ "php": "^7.0", "phpunit/php-file-iterator": "^1.4.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^2.0.1", + "phpunit/php-token-stream": "^1.4.11 || ^2.0", "sebastian/code-unit-reverse-lookup": "^1.0.1", "sebastian/environment": "^3.0", "sebastian/version": "^2.0.1", "theseer/tokenizer": "^1.1" }, "require-dev": { + "ext-xdebug": "^2.5", "phpunit/phpunit": "^6.0" }, "suggest": { @@ -700,7 +692,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.3.x-dev" + "dev-master": "5.2.x-dev" } }, "autoload": { @@ -715,7 +707,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", + "email": "sb@sebastian-bergmann.de", "role": "lead" } ], @@ -726,20 +718,20 @@ "testing", "xunit" ], - "time": "2017-12-06T09:29:45+00:00" + "time": "2017-08-03T12:40:43+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.5", + "version": "1.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", "shasum": "" }, "require": { @@ -773,7 +765,7 @@ "filesystem", "iterator" ], - "time": "2017-11-27T13:52:08+00:00" + "time": "2016-10-03T07:40:28+00:00" }, { "name": "phpunit/php-text-template", @@ -867,16 +859,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "2.0.2", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "791198a2c6254db10131eecfe8c06670700904db" + "reference": "9a02332089ac48e704c70f6cefed30c224e3c0b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", - "reference": "791198a2c6254db10131eecfe8c06670700904db", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/9a02332089ac48e704c70f6cefed30c224e3c0b0", + "reference": "9a02332089ac48e704c70f6cefed30c224e3c0b0", "shasum": "" }, "require": { @@ -912,20 +904,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-11-27T05:48:46+00:00" + "time": "2017-08-20T05:47:52+00:00" }, { "name": "phpunit/phpunit", - "version": "6.5.5", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "83d27937a310f2984fd575686138597147bdc7df" + "reference": "9501bab711403a1ab5b8378a8adb4ec3db3debdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/83d27937a310f2984fd575686138597147bdc7df", - "reference": "83d27937a310f2984fd575686138597147bdc7df", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9501bab711403a1ab5b8378a8adb4ec3db3debdb", + "reference": "9501bab711403a1ab5b8378a8adb4ec3db3debdb", "shasum": "" }, "require": { @@ -939,12 +931,12 @@ "phar-io/version": "^1.0", "php": "^7.0", "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^5.3", - "phpunit/php-file-iterator": "^1.4.3", + "phpunit/php-code-coverage": "^5.2.2", + "phpunit/php-file-iterator": "^1.4.2", "phpunit/php-text-template": "^1.2.1", "phpunit/php-timer": "^1.0.9", - "phpunit/phpunit-mock-objects": "^5.0.5", - "sebastian/comparator": "^2.1", + "phpunit/phpunit-mock-objects": "^4.0.3", + "sebastian/comparator": "^2.0.2", "sebastian/diff": "^2.0", "sebastian/environment": "^3.1", "sebastian/exporter": "^3.1", @@ -970,7 +962,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.5.x-dev" + "dev-master": "6.3.x-dev" } }, "autoload": { @@ -996,33 +988,33 @@ "testing", "xunit" ], - "time": "2017-12-17T06:31:19+00:00" + "time": "2017-08-04T05:20:39+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "5.0.6", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf" + "reference": "2f789b59ab89669015ad984afa350c4ec577ade0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/33fd41a76e746b8fa96d00b49a23dadfa8334cdf", - "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/2f789b59ab89669015ad984afa350c4ec577ade0", + "reference": "2f789b59ab89669015ad984afa350c4ec577ade0", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.5", "php": "^7.0", "phpunit/php-text-template": "^1.2.1", - "sebastian/exporter": "^3.1" + "sebastian/exporter": "^3.0" }, "conflict": { "phpunit/phpunit": "<6.0" }, "require-dev": { - "phpunit/phpunit": "^6.5" + "phpunit/phpunit": "^6.0" }, "suggest": { "ext-soap": "*" @@ -1030,7 +1022,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0.x-dev" + "dev-master": "4.0.x-dev" } }, "autoload": { @@ -1045,7 +1037,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", + "email": "sb@sebastian-bergmann.de", "role": "lead" } ], @@ -1055,7 +1047,7 @@ "mock", "xunit" ], - "time": "2018-01-06T05:45:45+00:00" + "time": "2017-08-03T14:08:16+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -1104,30 +1096,30 @@ }, { "name": "sebastian/comparator", - "version": "2.1.2", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "11c07feade1d65453e06df3b3b90171d6d982087" + "reference": "ae068fede81d06e7bb9bb46a367210a3d3e1fe6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/11c07feade1d65453e06df3b3b90171d6d982087", - "reference": "11c07feade1d65453e06df3b3b90171d6d982087", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/ae068fede81d06e7bb9bb46a367210a3d3e1fe6a", + "reference": "ae068fede81d06e7bb9bb46a367210a3d3e1fe6a", "shasum": "" }, "require": { "php": "^7.0", "sebastian/diff": "^2.0", - "sebastian/exporter": "^3.1" + "sebastian/exporter": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^6.4" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -1158,13 +1150,13 @@ } ], "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", + "homepage": "http://www.github.com/sebastianbergmann/comparator", "keywords": [ "comparator", "compare", "equality" ], - "time": "2018-01-12T06:34:42+00:00" + "time": "2017-08-03T07:14:59+00:00" }, { "name": "sebastian/diff", @@ -1658,16 +1650,16 @@ }, { "name": "webmozart/assert", - "version": "1.3.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a" + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a", + "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", "shasum": "" }, "require": { @@ -1704,7 +1696,7 @@ "check", "validate" ], - "time": "2018-01-29T19:49:41+00:00" + "time": "2016-11-23T20:04:58+00:00" } ], "aliases": [],