-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(deps): Deprecate functionality deprecated by doctrine and test on more oracle versions #46605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
|
|
||
| /** | ||
| * @return self::PLATFORM_MYSQL|self::PLATFORM_ORACLE|self::PLATFORM_POSTGRES|self::PLATFORM_SQLITE |
Check failure
Code scanning / Psalm
MoreSpecificReturnType
| } else { | ||
| throw new \Exception('Database ' . $platform::class . ' not supported'); | ||
| } | ||
| return $this->inner->getDatabaseProvider(); |
Check failure
Code scanning / Psalm
LessSpecificReturnStatement
| public function __construct(ConnectionAdapter $connection, IQueryBuilder $queryBuilder) { | ||
| public function __construct(ConnectionAdapter $connection, IQueryBuilder $queryBuilder, LoggerInterface $logger) { | ||
| $this->connection = $connection; | ||
| $this->logger = $logger; |
Check failure
Code scanning / Psalm
InvalidPropertyAssignmentValue
| */ | ||
| public function andX(...$x): ICompositeExpression { | ||
| if (empty($x)) { | ||
| $this->logger->debug('Calling ' . IQueryBuilder::class . '::' . __FUNCTION__ . ' without parameters is deprecated and will throw soon.', ['exception' => new \Exception('No parameters in call to ' . __METHOD__)]); |
Check failure
Code scanning / Psalm
UndefinedMethod
| */ | ||
| public function orX(...$x): ICompositeExpression { | ||
| if (empty($x)) { | ||
| $this->logger->debug('Calling ' . IQueryBuilder::class . '::' . __FUNCTION__ . ' without parameters is deprecated and will throw soon.', ['exception' => new \Exception('No parameters in call to ' . __METHOD__)]); |
Check failure
Code scanning / Psalm
UndefinedMethod
b11564f to
796d641
Compare
Signed-off-by: Joas Schilling <[email protected]>
…at will be removed with Doctrine/DBAL 4 Signed-off-by: Joas Schilling <[email protected]>
…s deprecated Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
…ction::PARAM_STR_ARRAY` Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
…e of removed upstream platforms Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
…::and()` without parameters Signed-off-by: Joas Schilling <[email protected]>
…d recursion Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
7d34c84 to
817ca00
Compare
ChristophWurst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for the carddav/caldav changes
| * All apps and API code should not need this and instead use provided functionality from the above. | ||
| */ | ||
| public function getServerVersion(): string { | ||
| return $this->_conn->getServerVersion(); |
Check failure
Code scanning / Psalm
UndefinedInterfaceMethod
|
|
||
| class OCIFunctionBuilder extends FunctionBuilder { | ||
| public function md5($input): IQueryFunction { | ||
| if (version_compare($this->connection->getServerVersion(), '20', '>=')) { |
Check failure
Code scanning / Psalm
UndefinedInterfaceMethod
2ecf40f to
b79d87c
Compare
Signed-off-by: Joas Schilling <[email protected]>
b79d87c to
b656edc
Compare
Summary
Checklist