Skip to content

Fix types for reading and writing config values - #37507

Merged
provokateurin merged 1 commit into
masterfrom
fix/config-values-types
Apr 5, 2023
Merged

Fix types for reading and writing config values#37507
provokateurin merged 1 commit into
masterfrom
fix/config-values-types

Conversation

@provokateurin

Copy link
Copy Markdown
Member

Summary

Split out from #37390

Checklist

Comment threadapps/user_ldap/lib/User/User.php Outdated
// Create a new job and store the creation date
$this->jobList->add(ResetTokenBackgroundJob::class);
$this->config->setAppValue('core', 'updater.secret.created', $this->timeFactory->getTime());
$this->config->setAppValue('core', 'updater.secret.created', (string)$this->timeFactory->getTime());

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OCP\AppFramework\Utility\ITimeFactory::getTime has been marked as deprecated
$this->userManager = $userManager;
$this->setInterval(
\OC::$server->getConfig()->getAppValue(
(int)\OC::$server->getConfig()->getAppValue(

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OC\Server::getConfig has been marked as deprecated
@provokateurin
provokateurinforce-pushed the fix/config-values-types branch 2 times, most recently from 21a6cad to 50ed0d9CompareApril 3, 2023 06:33
@provokateurin
provokateurinforce-pushed the fix/config-values-types branch 2 times, most recently from fe02954 to a3edcbeCompareApril 5, 2023 05:25
Signed-off-by: jld3103 <jld3103yt@gmail.com>
@provokateurin
provokateurinforce-pushed the fix/config-values-types branch from a3edcbe to d9f8522CompareApril 5, 2023 07:09
@provokateurin
provokateurin merged commit 88ab6d4 into masterApr 5, 2023
@provokateurin
provokateurin deleted the fix/config-values-types branch April 5, 2023 08:01
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewstechnical debt🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@provokateurin@nickvergessen@ChristophWurst@github-advanced-security@come-nc