Skip to content

Commit 6cbbd24

Browse files
Update dependencies (#149)
Co-authored-by: TavoNiievez <ganieves@outlook.com>
1 parent 518b73a commit 6cbbd24

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"require": {
1919
"php": "^7.4 | ^8.0",
2020
"ext-json": "*",
21-
"codeception/lib-innerbrowser": "^1.4",
22-
"codeception/codeception": "^4.0"
21+
"codeception/lib-innerbrowser": "^2.0",
22+
"codeception/codeception": "^4.1"
2323
},
2424
"require-dev": {
25-
"codeception/module-asserts": "^1.3",
26-
"codeception/module-doctrine2": "^1.1",
25+
"codeception/module-asserts": "^2.0",
26+
"codeception/module-doctrine2": "^2.0",
2727
"doctrine/orm": "^2.10",
2828
"symfony/form": "^4.4 | ^5.0",
2929
"symfony/framework-bundle": "^4.4 | ^5.0",
@@ -32,7 +32,7 @@
3232
"symfony/routing": "^4.4 | ^5.0",
3333
"symfony/security-bundle": "^4.4 | ^5.0",
3434
"symfony/twig-bundle": "^4.4 | ^5.0",
35-
"vlucas/phpdotenv": "^4.2 | ^5.3"
35+
"vlucas/phpdotenv": "^4.2 | ^5.4"
3636
},
3737
"suggest": {
3838
"codeception/module-asserts": "Include traditional PHPUnit assertions in your tests",

src/Codeception/Module/Symfony.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use ReflectionClass;
3030
use ReflectionException;
3131
use Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector;
32+
use Symfony\Component\BrowserKit\AbstractBrowser;
3233
use Symfony\Component\DependencyInjection\ContainerInterface;
3334
use Symfony\Component\Finder\Finder;
3435
use Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface;
@@ -148,7 +149,7 @@ class Symfony extends Framework implements DoctrineProvider, PartedModule
148149
/**
149150
* @var SymfonyConnector
150151
*/
151-
public $client;
152+
public ?AbstractBrowser $client = null;
152153

153154
/**
154155
* @var array
@@ -444,8 +445,6 @@ protected function debugResponse($url): void
444445

445446
/**
446447
* Returns a list of recognized domain names.
447-
*
448-
* @return mixed[]
449448
*/
450449
protected function getInternalDomains(): array
451450
{

src/Codeception/Module/Symfony/ParameterAssertionsTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ trait ParameterAssertionsTrait
1717
* ```
1818
*
1919
* @param string $name
20-
* @return mixed|null
20+
* @return array|bool|float|int|string|null
2121
*/
2222
public function grabParameter(string $name)
2323
{
@@ -29,4 +29,4 @@ protected function grabParameterBagService(): ParameterBagInterface
2929
{
3030
return $this->grabService('parameter_bag');
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)