Skip to content

Commit 994e3ff

Browse files
authored
Update dependencies (#38)
1 parent 71f92ce commit 994e3ff

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Diff for: composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"require": {
2222
"php": "^7.4 | ^8.0",
2323
"ext-json": "*",
24-
"codeception/lib-innerbrowser": "^1.3",
25-
"codeception/codeception": "^4.0"
24+
"codeception/lib-innerbrowser": "^2.0",
25+
"codeception/codeception": "^4.1"
2626
},
2727
"require-dev": {
28-
"codeception/module-asserts": "^1.3",
29-
"codeception/module-rest": "^1.2",
28+
"codeception/module-asserts": "^2.0",
29+
"codeception/module-rest": "^2.0",
3030
"laravel/framework": "^6.0 | ^7.0 | ^8.0",
3131
"vlucas/phpdotenv": "^3.6 | ^4.1 | ^5.2"
3232
},

Diff for: src/Codeception/Module/Laravel.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@
2525
use Codeception\TestInterface;
2626
use Codeception\Util\ReflectionHelper;
2727
use Illuminate\Contracts\Config\Repository as Config;
28+
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
2829
use Illuminate\Database\Connection;
2930
use Illuminate\Database\DatabaseManager;
3031
use Illuminate\Foundation\Application;
3132
use Illuminate\Routing\Route;
3233
use ReflectionException;
34+
use Symfony\Component\BrowserKit\AbstractBrowser;
3335
use Symfony\Component\Routing\CompiledRoute as SymfonyCompiledRoute;
3436
use Throwable;
3537

@@ -140,12 +142,12 @@ class Laravel extends Framework implements ActiveRecord, PartedModule
140142
/**
141143
* @var Application
142144
*/
143-
public $app;
145+
public ApplicationContract $app;
144146

145147
/**
146148
* @var LaravelConnector
147149
*/
148-
public $client;
150+
public ?AbstractBrowser $client;
149151

150152
/**
151153
* @var array

0 commit comments

Comments
 (0)