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

[5.5] Use laravel provided argument escaping #22448

Merged
merged 3 commits into from
Dec 16, 2017
Merged

[5.5] Use laravel provided argument escaping #22448

merged 3 commits into from
Dec 16, 2017

Conversation

GrahamCampbell
Copy link
Member

Symfony's ProcessUtils::escapeArgument method is deprecated since Symfony 3.3, and removed in Symfony 4.0. It would be a lot of work to refactor Laravel's code to do the suggestion Symfony have as an alternative to calling that method, so I suggest we port the original code into Laravel.

This:

  1. Fixes eprecation warnings in Laravel 5.5.
  2. Is a prerequisite for switching Laravel 5.6 to Symfony 4.

@mfn
Copy link
Contributor

mfn commented Dec 16, 2017

Seems others also opted to simply copy the code to move to 4, e.g. composer/composer@8b42aed 🤷‍♀️

Lets one wonder if the deprecation was too early …

@GrahamCampbell
Copy link
Member Author

lol, yeh

@taylorotwell taylorotwell merged commit 3b98e7f into 5.5 Dec 16, 2017
@GrahamCampbell GrahamCampbell deleted the process-utils branch December 16, 2017 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants