Skip to content

Commit 41350c5

Browse files
committed
Added Laravel 7 compatibility.
1 parent 867204f commit 41350c5

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.0] - 2020-02-29
8+
### Added
9+
- Laravel 7 compatibility.
10+
711
## [0.3.0] - 2019-10-14
812
### Removed
913
- user resolution and persistence functionality and extracted it to a generic

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@
1616
"genealabs/laravel-socialiter": "Automatic user resolution and persistence for any Laravel Socialite driver."
1717
},
1818
"require": {
19-
"illuminate/support": "^6.2",
20-
"laravel/socialite": "^4.2",
21-
"php": "^7.2"
19+
"illuminate/support": "^7.0",
20+
"laravel/socialite": "dev-master@dev"
2221
},
2322
"require-dev": {
24-
"orchestra/testbench-dusk": "^4.2",
25-
"orchestra/testbench": "^4.2",
23+
"orchestra/testbench-browser-kit": "^5.0",
24+
"orchestra/testbench-dusk": "^5.0",
25+
"orchestra/testbench": "^5.0",
2626
"phpmd/phpmd": "^2.7",
2727
"squizlabs/php_codesniffer": "^3.5",
28-
"orchestra/testbench-browser-kit": "^4.2"
28+
"predis/predis": "^1.1",
29+
"phpunit/phpunit": "^8.5"
2930
},
3031
"autoload": {
3132
"psr-4": {

phpunit.xml.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@
3535
<env name="QUEUE_DRIVER" value="sync"/>
3636
<env name="DB_CONNECTION" value="sqlite"/>
3737
<env name="DB_DATABASE" value=":memory:"/>
38-
<env name="REDIS_HOST" value="127.0.0.1"/>
38+
<env name="REDIS_HOST" value="192.168.10.10"/>
3939
<env name="SIGN_IN_WITH_APPLE_LOGIN" value="/siwa-login"/>
4040
<env name="SIGN_IN_WITH_APPLE_REDIRECT" value="http://testing.dev/siwa-callback"/>
41+
<env name="SIGN_IN_WITH_APPLE_CLIENT_ID" value="add-your-own"/>
42+
<env name="SIGN_IN_WITH_APPLE_CLIENT_SECRET" value="add-your-own"/>
4143
</php>
4244
</phpunit>

tests/CreatesApplication.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ protected function setUp(): void
2222

2323
protected function getEnvironmentSetUp($app)
2424
{
25+
$app['config']->set('database.redis.client', "predis");
2526
$app->make(Kernel::class)
2627
->pushMiddleware(StartSession::class);
2728

0 commit comments

Comments
 (0)