-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for doctrine/dbal v4.0 (#811)
- Loading branch information
Showing
25 changed files
with
1,465 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,60 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="4.22.0@fc2c6ab4d5fa5d644d8617089f012f3bb84b8703"> | ||
<files psalm-version="5.22.2@d768d914152dbbf3486c36398802f74e80cfde48"> | ||
<file src="src/DependencyInjection/SentryExtension.php"> | ||
<UndefinedClass occurrences="1"> | ||
<code>FatalErrorException</code> | ||
<UndefinedClass> | ||
<code><![CDATA[FatalErrorException]]></code> | ||
</UndefinedClass> | ||
</file> | ||
<file src="src/EventListener/ConsoleCommandListener.php"> | ||
<InvalidExtendClass occurrences="1"> | ||
<code>ConsoleListener</code> | ||
<InvalidExtendClass> | ||
<code><![CDATA[ConsoleListener]]></code> | ||
</InvalidExtendClass> | ||
<MethodSignatureMismatch occurrences="1"> | ||
<code>public function __construct(HubInterface $hub, bool $captureErrors = true)</code> | ||
<MethodSignatureMismatch> | ||
<code><![CDATA[public function __construct(HubInterface $hub, bool $captureErrors = true)]]></code> | ||
</MethodSignatureMismatch> | ||
</file> | ||
<file src="src/EventListener/ErrorListener.php"> | ||
<RedundantCondition occurrences="1"> | ||
<code>$event instanceof ExceptionEvent</code> | ||
</RedundantCondition> | ||
<UndefinedMethod occurrences="1"> | ||
<code>getException</code> | ||
</UndefinedMethod> | ||
</file> | ||
<file src="src/EventListener/KernelEventForwardCompatibilityTrait.php"> | ||
<UndefinedMethod occurrences="1"> | ||
<code>isMasterRequest</code> | ||
<UndefinedMethod> | ||
<code><![CDATA[isMasterRequest]]></code> | ||
</UndefinedMethod> | ||
</file> | ||
<file src="src/Tracing/Cache/TraceableCacheAdapterTrait.php"> | ||
<LessSpecificImplementedReturnType occurrences="1"> | ||
<code>iterable</code> | ||
<LessSpecificImplementedReturnType> | ||
<code><![CDATA[iterable]]></code> | ||
</LessSpecificImplementedReturnType> | ||
</file> | ||
<file src="src/Tracing/Doctrine/DBAL/Compatibility/MiddlewareInterface.php"> | ||
<UnrecognizedStatement occurrences="1"/> | ||
</file> | ||
<file src="src/Tracing/Doctrine/DBAL/TracingDriverForV2.php"> | ||
<UndefinedClass occurrences="1"> | ||
<code>ExceptionConverterDriver</code> | ||
</UndefinedClass> | ||
</file> | ||
<file src="src/Tracing/Doctrine/DBAL/TracingDriverForV3.php"> | ||
<InvalidReturnStatement occurrences="1"> | ||
<code>$this->decoratedDriver->getSchemaManager($conn, $platform)</code> | ||
</InvalidReturnStatement> | ||
<InvalidReturnType occurrences="1"> | ||
<code>AbstractSchemaManager<T></code> | ||
</InvalidReturnType> | ||
<MoreSpecificImplementedParamType occurrences="1"> | ||
<code>$params</code> | ||
<UnrecognizedStatement> | ||
<code><![CDATA[interface MiddlewareInterface extends DoctrineMiddlewareInterface | ||
{ | ||
}]]></code> | ||
</UnrecognizedStatement> | ||
</file> | ||
<file src="src/Tracing/Doctrine/DBAL/TracingDriverForV4.php"> | ||
<MoreSpecificImplementedParamType> | ||
<code><![CDATA[$params]]></code> | ||
</MoreSpecificImplementedParamType> | ||
<TooManyArguments> | ||
<code><![CDATA[new StaticServerVersionProvider($connection->getServerVersion())]]></code> | ||
<code><![CDATA[parent::__construct($decoratedDriver)]]></code> | ||
</TooManyArguments> | ||
<UndefinedClass> | ||
<code><![CDATA[$this->getDatabasePlatform($versionProvider)]]></code> | ||
</UndefinedClass> | ||
</file> | ||
<file src="src/Tracing/HttpClient/TraceableResponseForV5.php"> | ||
<UndefinedInterfaceMethod occurrences="1"> | ||
<code>toStream</code> | ||
<UndefinedInterfaceMethod> | ||
<code><![CDATA[toStream]]></code> | ||
</UndefinedInterfaceMethod> | ||
</file> | ||
<file src="src/Tracing/HttpClient/TraceableResponseForV6.php"> | ||
<UndefinedInterfaceMethod occurrences="1"> | ||
<code>toStream</code> | ||
<UndefinedInterfaceMethod> | ||
<code><![CDATA[toStream]]></code> | ||
</UndefinedInterfaceMethod> | ||
</file> | ||
<file src="src/aliases.php"> | ||
<MissingDependency occurrences="1"> | ||
<code>TracingDriverForV2</code> | ||
<MissingDependency> | ||
<code><![CDATA[TracingDriverForV2]]></code> | ||
</MissingDependency> | ||
<UndefinedClass occurrences="6"> | ||
<code>FilterControllerEvent</code> | ||
<code>FilterResponseEvent</code> | ||
<code>GetResponseEvent</code> | ||
<code>GetResponseEvent</code> | ||
<code>GetResponseForExceptionEvent</code> | ||
<code>PostResponseEvent</code> | ||
</UndefinedClass> | ||
</file> | ||
<file src="src/DependencyInjection/Compiler/CacheTracingPass.php"> | ||
<UndefinedDocblockClass occurrences="1"> | ||
<code>$container->getParameter('sentry.tracing.cache.enabled')</code> | ||
</UndefinedDocblockClass> | ||
</file> | ||
<file src="src/DependencyInjection/Compiler/HttpClientTracingPass.php"> | ||
<UndefinedDocblockClass occurrences="2"> | ||
<code>$container->getParameter('sentry.tracing.enabled')</code> | ||
<code>$container->getParameter('sentry.tracing.http_client.enabled')</code> | ||
</UndefinedDocblockClass> | ||
</file> | ||
<file src="src/DependencyInjection/Compiler/DbalTracingPass.php"> | ||
<UndefinedDocblockClass occurrences="4"> | ||
<code>$container->getParameter('sentry.tracing.enabled')</code> | ||
<code>$container->getParameter('sentry.tracing.dbal.enabled')</code> | ||
<code>$container->getParameter('sentry.tracing.dbal.connections')</code> | ||
<code>$container->getParameter('doctrine.connections')</code> | ||
</UndefinedDocblockClass> | ||
</file> | ||
</files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.