Skip to content

Commit

Permalink
Update dependencies (#149)
Browse files Browse the repository at this point in the history
Co-authored-by: TavoNiievez <ganieves@outlook.com>
  • Loading branch information
ThomasLandauer and TavoNiievez authored Dec 8, 2021
1 parent 518b73a commit 6cbbd24
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"require": {
"php": "^7.4 | ^8.0",
"ext-json": "*",
"codeception/lib-innerbrowser": "^1.4",
"codeception/codeception": "^4.0"
"codeception/lib-innerbrowser": "^2.0",
"codeception/codeception": "^4.1"
},
"require-dev": {
"codeception/module-asserts": "^1.3",
"codeception/module-doctrine2": "^1.1",
"codeception/module-asserts": "^2.0",
"codeception/module-doctrine2": "^2.0",
"doctrine/orm": "^2.10",
"symfony/form": "^4.4 | ^5.0",
"symfony/framework-bundle": "^4.4 | ^5.0",
Expand All @@ -32,7 +32,7 @@
"symfony/routing": "^4.4 | ^5.0",
"symfony/security-bundle": "^4.4 | ^5.0",
"symfony/twig-bundle": "^4.4 | ^5.0",
"vlucas/phpdotenv": "^4.2 | ^5.3"
"vlucas/phpdotenv": "^4.2 | ^5.4"
},
"suggest": {
"codeception/module-asserts": "Include traditional PHPUnit assertions in your tests",
Expand Down
5 changes: 2 additions & 3 deletions src/Codeception/Module/Symfony.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
use ReflectionClass;
use ReflectionException;
use Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector;
use Symfony\Component\BrowserKit\AbstractBrowser;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Finder\Finder;
use Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface;
Expand Down Expand Up @@ -148,7 +149,7 @@ class Symfony extends Framework implements DoctrineProvider, PartedModule
/**
* @var SymfonyConnector
*/
public $client;
public ?AbstractBrowser $client = null;

/**
* @var array
Expand Down Expand Up @@ -444,8 +445,6 @@ protected function debugResponse($url): void

/**
* Returns a list of recognized domain names.
*
* @return mixed[]
*/
protected function getInternalDomains(): array
{
Expand Down
4 changes: 2 additions & 2 deletions src/Codeception/Module/Symfony/ParameterAssertionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ trait ParameterAssertionsTrait
* ```
*
* @param string $name
* @return mixed|null
* @return array|bool|float|int|string|null
*/
public function grabParameter(string $name)
{
Expand All @@ -29,4 +29,4 @@ protected function grabParameterBagService(): ParameterBagInterface
{
return $this->grabService('parameter_bag');
}
}
}

0 comments on commit 6cbbd24

Please sign in to comment.