Skip to content

Commit

Permalink
Merge pull request #1768 from greg0ire/analyze-middleware
Browse files Browse the repository at this point in the history
Analyze Middleware directory
  • Loading branch information
greg0ire committed Mar 15, 2024
2 parents 7150c1d + d05c094 commit 24f94ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Middleware/BacktraceDebugDataHolder.php
Expand Up @@ -17,7 +17,7 @@ class BacktraceDebugDataHolder extends DebugDataHolder
/** @var string[] */
private array $connWithBacktraces;

/** @var array<string, array<string, mixed>[]> */
/** @var array<string, array<int|string, mixed>[]> */
private array $backtraces = [];

/** @param string[] $connWithBacktraces */
Expand Down
1 change: 1 addition & 0 deletions Middleware/DebugMiddleware.php
Expand Up @@ -27,6 +27,7 @@ public function setConnectionName(string $name): void

public function wrap(DriverInterface $driver): DriverInterface
{
/** @psalm-suppress InternalClass,InternalMethod */
return new Driver($driver, $this->debugDataHolder, $this->stopwatch, $this->connectionName);
}
}
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -58,6 +58,7 @@
"symfony/property-info": "^5.4 || ^6.0 || ^7.0",
"symfony/proxy-manager-bridge": "^5.4 || ^6.0 || ^7.0",
"symfony/security-bundle": "^5.4 || ^6.0 || ^7.0",
"symfony/stopwatch": "^5.4 || ^6.0 || ^7.0",
"symfony/string": "^5.4 || ^6.0 || ^7.0",
"symfony/twig-bridge": "^5.4 || ^6.0 || ^7.0",
"symfony/validator": "^5.4 || ^6.0 || ^7.0",
Expand Down
1 change: 1 addition & 0 deletions psalm.xml.dist
Expand Up @@ -28,6 +28,7 @@
<directory name="DependencyInjection"/>
<directory name="EventSubscriber"/>
<directory name="Mapping"/>
<directory name="Middleware"/>
<directory name="Repository"/>
<directory name="Tests"/>
<directory name="Twig"/>
Expand Down

0 comments on commit 24f94ad

Please sign in to comment.