Skip to content
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

Make $vars and $secureRandom required. #24629

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Dec 10, 2020

https://www.php.net/manual/en/migration80.deprecated.php

Optional parameter before required parameter will raise a deprecation note on PHP 8. $vars and $secureRandom are not really optional anyway. Let's hope no apps are creating their own instance of Request 🙈

@kesselb kesselb added this to the Nextcloud 21 milestone Dec 10, 2020
@kesselb kesselb added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Dec 10, 2020
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb force-pushed the enh/noid/optional-before-required branch from 6c13f35 to 9558734 Compare December 10, 2020 16:06
@rullzer rullzer mentioned this pull request Dec 14, 2020
59 tasks
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@ChristophWurst ChristophWurst merged commit 820f9f4 into master Dec 16, 2020
@ChristophWurst ChristophWurst deleted the enh/noid/optional-before-required branch December 16, 2020 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants