Skip to content

Commit 4a71f33

Browse files
author
Greg Roach
committed
Update vendor dependencies
1 parent ea8eb82 commit 4a71f33

File tree

11 files changed

+66
-50
lines changed

11 files changed

+66
-50
lines changed

composer.lock

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/composer/installed.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -893,8 +893,8 @@
893893
},
894894
{
895895
"name": "illuminate/cache",
896-
"version": "v5.8.0",
897-
"version_normalized": "5.8.0.0",
896+
"version": "v5.8.2",
897+
"version_normalized": "5.8.2.0",
898898
"source": {
899899
"type": "git",
900900
"url": "https://github.com/illuminate/cache.git",
@@ -944,8 +944,8 @@
944944
},
945945
{
946946
"name": "illuminate/container",
947-
"version": "v5.8.0",
948-
"version_normalized": "5.8.0.0",
947+
"version": "v5.8.2",
948+
"version_normalized": "5.8.2.0",
949949
"source": {
950950
"type": "git",
951951
"url": "https://github.com/illuminate/container.git",
@@ -991,8 +991,8 @@
991991
},
992992
{
993993
"name": "illuminate/contracts",
994-
"version": "v5.8.0",
995-
"version_normalized": "5.8.0.0",
994+
"version": "v5.8.2",
995+
"version_normalized": "5.8.2.0",
996996
"source": {
997997
"type": "git",
998998
"url": "https://github.com/illuminate/contracts.git",
@@ -1037,17 +1037,17 @@
10371037
},
10381038
{
10391039
"name": "illuminate/database",
1040-
"version": "v5.8.0",
1041-
"version_normalized": "5.8.0.0",
1040+
"version": "v5.8.2",
1041+
"version_normalized": "5.8.2.0",
10421042
"source": {
10431043
"type": "git",
10441044
"url": "https://github.com/illuminate/database.git",
1045-
"reference": "488a1e7bab73099b5bc5284b25a71c59a0741f96"
1045+
"reference": "a9696050ee570fd1f59b0045aa3fe27458c48986"
10461046
},
10471047
"dist": {
10481048
"type": "zip",
1049-
"url": "https://api.github.com/repos/illuminate/database/zipball/488a1e7bab73099b5bc5284b25a71c59a0741f96",
1050-
"reference": "488a1e7bab73099b5bc5284b25a71c59a0741f96",
1049+
"url": "https://api.github.com/repos/illuminate/database/zipball/a9696050ee570fd1f59b0045aa3fe27458c48986",
1050+
"reference": "a9696050ee570fd1f59b0045aa3fe27458c48986",
10511051
"shasum": ""
10521052
},
10531053
"require": {
@@ -1065,7 +1065,7 @@
10651065
"illuminate/filesystem": "Required to use the migrations (5.8.*).",
10661066
"illuminate/pagination": "Required to paginate the result set (5.8.*)."
10671067
},
1068-
"time": "2019-02-26T15:24:16+00:00",
1068+
"time": "2019-02-27T13:46:50+00:00",
10691069
"type": "library",
10701070
"extra": {
10711071
"branch-alias": {
@@ -1099,17 +1099,17 @@
10991099
},
11001100
{
11011101
"name": "illuminate/support",
1102-
"version": "v5.8.0",
1103-
"version_normalized": "5.8.0.0",
1102+
"version": "v5.8.2",
1103+
"version_normalized": "5.8.2.0",
11041104
"source": {
11051105
"type": "git",
11061106
"url": "https://github.com/illuminate/support.git",
1107-
"reference": "f4eef6632fa23bcfb02d8029b7dce37ceb6a5801"
1107+
"reference": "013cfab5d44c530b56d70cc9ccb891c8b25ebbce"
11081108
},
11091109
"dist": {
11101110
"type": "zip",
1111-
"url": "https://api.github.com/repos/illuminate/support/zipball/f4eef6632fa23bcfb02d8029b7dce37ceb6a5801",
1112-
"reference": "f4eef6632fa23bcfb02d8029b7dce37ceb6a5801",
1111+
"url": "https://api.github.com/repos/illuminate/support/zipball/013cfab5d44c530b56d70cc9ccb891c8b25ebbce",
1112+
"reference": "013cfab5d44c530b56d70cc9ccb891c8b25ebbce",
11131113
"shasum": ""
11141114
},
11151115
"require": {
@@ -1131,7 +1131,7 @@
11311131
"symfony/var-dumper": "Required to use the dd function (^4.2).",
11321132
"vlucas/phpdotenv": "Required to use the env helper (^3.3)."
11331133
},
1134-
"time": "2019-02-23T15:01:19+00:00",
1134+
"time": "2019-02-27T14:00:44+00:00",
11351135
"type": "library",
11361136
"extra": {
11371137
"branch-alias": {

vendor/illuminate/database/DatabaseServiceProvider.php

-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ protected function registerConnectionServices()
6565
$this->app->bind('db.connection', function ($app) {
6666
return $app['db']->connection();
6767
});
68-
69-
$this->app->bind('db.schema', function ($app) {
70-
return $app['db']->connection()->getSchemaBuilder();
71-
});
7268
}
7369

7470
/**

vendor/illuminate/support/Facades/Bus.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ class Bus extends Facade
2020
/**
2121
* Replace the bound instance with a fake.
2222
*
23-
* @return void
23+
* @return \Illuminate\Support\Testing\Fakes\BusFake
2424
*/
2525
public static function fake()
2626
{
27-
static::swap(new BusFake);
27+
static::swap($fake = new BusFake);
28+
29+
return $fake;
2830
}
2931

3032
/**

vendor/illuminate/support/Facades/Event.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ class Event extends Facade
2424
* Replace the bound instance with a fake.
2525
*
2626
* @param array|string $eventsToFake
27-
* @return void
27+
* @return \Illuminate\Support\Testing\Fakes\EventFake
2828
*/
2929
public static function fake($eventsToFake = [])
3030
{
3131
static::swap($fake = new EventFake(static::getFacadeRoot(), $eventsToFake));
3232

3333
Model::setEventDispatcher($fake);
34+
35+
return $fake;
3436
}
3537

3638
/**

vendor/illuminate/support/Facades/Facade.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,15 @@ protected static function getFacadeAccessor()
159159
/**
160160
* Resolve the facade root instance from the container.
161161
*
162-
* @param string $name
162+
* @param object|string $name
163163
* @return mixed
164164
*/
165165
protected static function resolveFacadeInstance($name)
166166
{
167+
if (is_object($name)) {
168+
return $name;
169+
}
170+
167171
if (isset(static::$resolvedInstance[$name])) {
168172
return static::$resolvedInstance[$name];
169173
}

vendor/illuminate/support/Facades/Mail.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ class Mail extends Facade
3131
/**
3232
* Replace the bound instance with a fake.
3333
*
34-
* @return void
34+
* @return \Illuminate\Support\Testing\Fakes\MailFake
3535
*/
3636
public static function fake()
3737
{
38-
static::swap(new MailFake);
38+
static::swap($fake = new MailFake);
39+
40+
return $fake;
3941
}
4042

4143
/**

vendor/illuminate/support/Facades/Queue.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ class Queue extends Facade
2424
/**
2525
* Replace the bound instance with a fake.
2626
*
27-
* @return void
27+
* @return \Illuminate\Support\Testing\Fakes\QueueFake
2828
*/
2929
public static function fake()
3030
{
31-
static::swap(new QueueFake(static::getFacadeApplication()));
31+
static::swap($fake = new QueueFake(static::getFacadeApplication()));
32+
33+
return $fake;
3234
}
3335

3436
/**

vendor/illuminate/support/Facades/Schema.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ public static function connection($name)
2525
}
2626

2727
/**
28-
* Get the registered name of the component.
28+
* Get a schema builder instance for the default connection.
2929
*
30-
* @return string
30+
* @return \Illuminate\Database\Schema\Builder
3131
*/
3232
protected static function getFacadeAccessor()
3333
{
34-
return 'db.schema';
34+
return static::$app['db']->connection()->getSchemaBuilder();
3535
}
3636
}

vendor/illuminate/support/Facades/Storage.php

+8-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Storage extends Facade
1616
*
1717
* @param string|null $disk
1818
*
19-
* @return void
19+
* @return \Illuminate\Filesystem\Filesystem
2020
*/
2121
public static function fake($disk = null)
2222
{
@@ -26,22 +26,26 @@ public static function fake($disk = null)
2626
$root = storage_path('framework/testing/disks/'.$disk)
2727
);
2828

29-
static::set($disk, self::createLocalDriver(['root' => $root]));
29+
static::set($disk, $fake = self::createLocalDriver(['root' => $root]));
30+
31+
return $fake;
3032
}
3133

3234
/**
3335
* Replace the given disk with a persistent local testing disk.
3436
*
3537
* @param string|null $disk
36-
* @return void
38+
* @return \Illuminate\Filesystem\Filesystem
3739
*/
3840
public static function persistentFake($disk = null)
3941
{
4042
$disk = $disk ?: self::$app['config']->get('filesystems.default');
4143

42-
static::set($disk, self::createLocalDriver([
44+
static::set($disk, $fake = self::createLocalDriver([
4345
'root' => storage_path('framework/testing/disks/'.$disk),
4446
]));
47+
48+
return $fake;
4549
}
4650

4751
/**

vendor/illuminate/support/helpers.php

+4
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,10 @@ function env($key, $default = null)
662662
return;
663663
}
664664

665+
if (preg_match('/([\'"])(.*)\1/', $value, $matches)) {
666+
return $matches[2];
667+
}
668+
665669
return $value;
666670
})
667671
->getOrCall(function () use ($default) {

0 commit comments

Comments
 (0)