fix(deps): Deprecate functionality deprecated by doctrine and test on more oracle versions#46605
Merged
nickvergessen merged 14 commits intomasterfrom Jul 19, 2024
Merged
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 <coding@schilljs.com>
…at will be removed with Doctrine/DBAL 4 Signed-off-by: Joas Schilling <coding@schilljs.com>
…s deprecated Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…ction::PARAM_STR_ARRAY` Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…e of removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…::and()` without parameters Signed-off-by: Joas Schilling <coding@schilljs.com>
…d recursion Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
7d34c84 to
817ca00
Compare
ChristophWurst
approved these changes
Jul 19, 2024
Member
ChristophWurst
left a comment
There was a problem hiding this comment.
👍 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 <coding@schilljs.com>
b79d87c to
b656edc
Compare
AndyScherzinger
approved these changes
Jul 19, 2024
Merged
3 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Checklist