Skip to content

[HttpClient] add native argument for the test server working directory #52418

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

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Nov 2, 2023

Q A
Branch? 7.0
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

@carsonbot carsonbot added this to the 7.0 milestone Nov 2, 2023
@carsonbot carsonbot changed the title add native argument for the test server working directory [HttpClient] add native argument for the test server working directory Nov 2, 2023
* @param string|null $workingDirectory
*/
public static function start(int $port = 8057/* , string $workingDirectory = null */): Process
public static function start(int $port = 8057, string $workingDirectory = __DIR__.'/Fixtures/web'): Process
Copy link
Member

Choose a reason for hiding this comment

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

I think we should still accept null and have it be the default

Copy link
Member Author

Choose a reason for hiding this comment

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

I have pushed an update. Is that what you had in mind?

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit fa590af into symfony:7.0 Nov 2, 2023
@xabbuh xabbuh deleted the pr-50814 branch November 2, 2023 09:40
nicolas-grekas added a commit to nicolas-grekas/symfony that referenced this pull request Nov 15, 2023
…test server working directory (xabbuh)"

This reverts commit fa590af, reversing
changes made to 907b683.
fabpot added a commit that referenced this pull request Nov 15, 2023
…r the test server working directory" (nicolas-grekas)

This PR was merged into the 7.0 branch.

Discussion
----------

[HttpClient] Revert "minor #52418  add native argument for the test server working directory"

| Q             | A
| ------------- | ---
| Branch?       | 7.0
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

This reverts commit fa590af, reversing changes made to 907b683.

I completly forgot that we don't want to release a new major for contracts so the code in 7.0 must be in sync with the one in 6.4. /cc `@xabbuh`

Commits
-------

1b61e92 Revert "minor #52418 [HttpClient] add native argument for the test server working directory (xabbuh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy