-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Added deprecation to cwd not existing Fixes #18249 #23708
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
Changes from 1 commit
a019543
602a7d4
7103381
56a4a01
f9225dd
4c9f3d0
f44bfd9
296cfe6
5918f16
1dd14be
06dd2eb
d684e70
7e0141c
1e4abf6
53b2c2e
8830131
d9746a2
babbfea
d57ac4d
b93e7ad
e8a2702
647fdff
29ad993
8e9ddd2
f46239d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,8 +209,8 @@ Process | |
|
||
* The `Symfony\Component\Process\ProcessBuilder` class has been deprecated, | ||
use the `Symfony\Component\Process\Process` class directly instead. | ||
* The `Symfony\Component\Process\Process` __construct `cwd` argument will throw | ||
|
||
* The `Symfony\Component\Process\Process` constructor's $cwd argument will throw | ||
a deprecation warning on `run` if the folder does not exist. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should replace the (silent) deprecation log by a real exception in 4.0, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should I put that in the upgrade log before the exception is even implemented? Or should there be a separate PR for the exception? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should target There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How do i change the target? If i change it now, surely doesn't it put all of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You need to rebase your changes on top of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any chance you can give me the details on how to rebase? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alternatively, I'm going away for the weekend. If somebody else wants to apply these as a patch to 3.4 instead of master, i'm more than happy for you to go ahead and do it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe this has been done properly now. |
||
|
||
Profiler | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$cwd
should also be enclosed with backticksThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should actually reword this (please also add the same entry to the
CHANGELOG.md
file of theProcess
component):And please also add a similar entry to the
UPGRADE-4.0.md
file:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these messages verbatim?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done