Skip to content

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