Issue with using of php8
Sentry Issue: CATTR-CORE-6S
Symfony\Component\ErrorHandler\Error\FatalError: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs)
File "/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php", line 70
public function query()
[2021-03-18 06:43:19] production.ERROR: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Declaration of Doctrine\\DBAL\\Driver\\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) at /opt/cattr/cattr/backend/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:70)
[stacktrace]
#0 {main}
"}