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

Replace deprecated String.prototype.substr() #31699

Closed
wants to merge 5 commits into from
Closed

Replace deprecated String.prototype.substr() #31699

wants to merge 5 commits into from

Conversation

CommanderRoot
Copy link

String.prototype.substr() is deprecated so we replace it with String.prototype.slice() or String.prototype.substring() which work similarily but aren't deprecated.
.substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.

@tcitworld
Copy link
Member

/compile amend /

@szaimen szaimen added the 3. to review Waiting for reviews label Mar 25, 2022
@szaimen szaimen added this to the Nextcloud 24 milestone Mar 25, 2022
@nickvergessen
Copy link
Member

/compile amend /

@blizzz blizzz mentioned this pull request Mar 31, 2022
This was referenced Apr 7, 2022
@blizzz blizzz modified the milestones: Nextcloud 24, Nextcloud 25 Apr 21, 2022
This was referenced Aug 12, 2022
This was referenced Aug 24, 2022
@CommanderRoot
Copy link
Author

I have rebased the PR on current master and fixed the merge conflict

This was referenced Sep 6, 2022
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
This was referenced Sep 20, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
@blizzz blizzz mentioned this pull request Feb 1, 2023
@skjnldsv skjnldsv mentioned this pull request Feb 23, 2023
@blizzz blizzz mentioned this pull request Mar 7, 2023
@blizzz blizzz modified the milestones: Nextcloud 26, Nextcloud 27 Mar 9, 2023
This was referenced May 3, 2023
@blizzz blizzz mentioned this pull request May 17, 2023
@blizzz blizzz modified the milestones: Nextcloud 27, Nextcloud 28 May 23, 2023
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
@blizzz blizzz mentioned this pull request Nov 6, 2023
.substr() is deprecated so we replace it with .slice() or .substring() which work similarily but aren't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
.substr() is deprecated so we replace it with .slice() which work similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
.substr() is deprecated so we replace it with .slice() which work similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
@CommanderRoot
Copy link
Author

/compile amend /

This was referenced Nov 10, 2023
@blizzz blizzz mentioned this pull request Nov 20, 2023
5 tasks
@blizzz blizzz modified the milestones: Nextcloud 28, Nextcloud 29 Nov 23, 2023
@skjnldsv skjnldsv closed this Feb 23, 2024
@skjnldsv
Copy link
Member

far too much conflicts, feel free to run your bot again and create a new PR @CommanderRoot :)

@skjnldsv skjnldsv removed this from the Nextcloud 29 milestone Feb 23, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants