Skip to content

Commit

Permalink
Update dependencies (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
TavoNiievez authored Dec 8, 2021
1 parent 4b3e37e commit 3c8ae13
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
],
"minimum-stability": "RC",
"require": {
"php": "^7.4 || ^8.0",
"codeception/lib-innerbrowser": "^1.0",
"codeception/codeception": "^4.0",
"php": "^7.4 | ^8.0",
"codeception/lib-innerbrowser": "^2.0",
"codeception/codeception": "^4.1",
"laminas/laminas-db": "^2.11.3",
"laminas/laminas-mvc": "^3.1.1"
},
"require-dev": {
"codeception/module-asserts": "^1.0",
"codeception/module-doctrine2": "^1.0",
"codeception/module-rest": "^1.0"
"codeception/module-asserts": "^2.0",
"codeception/module-doctrine2": "^2.0",
"codeception/module-rest": "^2.0"
},
"autoload": {
"classmap": [
Expand Down
5 changes: 3 additions & 2 deletions src/Codeception/Module/Laminas.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Laminas\Router\Http\Part;
use Laminas\Router\Http\TreeRouteStack;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Symfony\Component\BrowserKit\AbstractBrowser;
use Traversable;
use function array_unique;
use function class_exists;
Expand Down Expand Up @@ -69,7 +70,7 @@ class Laminas extends Framework implements DoctrineProvider, PartedModule
public AdapterInterface $db;

/** @var LaminasConnector */
public $client;
public ?AbstractBrowser $client = null;

/** @var string[] */
protected $config = [
Expand Down Expand Up @@ -234,7 +235,7 @@ protected function getInternalDomains(): array

private function addInternalDomainsFromRoutes(Traversable $routes): void
{
foreach ($routes as $name => $route) {
foreach ($routes as $route) {
if ($route instanceof Hostname) {
$this->addInternalDomain($route);
} elseif ($route instanceof Part) {
Expand Down

0 comments on commit 3c8ae13

Please sign in to comment.