Skip to content

Conversation

theofidry
Copy link
Collaborator

@theofidry theofidry commented Mar 23, 2025

  • Review the changes
  • Double check the PHPDoc
  • Document the BC breaks in the Upgrade.md file

{
public function __construct(
private readonly string $phpExecutable,
public readonly string $phpExecutable,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To be able to pass the PHP executable to PhpSubprocess we need to expose it, instead of passing it as part of the created command

@theofidry
Copy link
Collaborator Author

This will require several BC breaks hence scheduled for 3.0

@theofidry theofidry added this to the 3.0 milestone Mar 23, 2025
* @param callable(): void $tick
*/
public function create(
array $phpExecutable,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this change is a BC break

public function startProcess(
int $index,
InputStream $inputStream,
array $phpExecutable,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this change is a BC break

$process = $this->processFactory->startProcess(
$index,
$inputStream,
$this->phpExecutable,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this change is a BC break

* @param callable(): void $tick
*/
public function create(
array $phpExecutable,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this change is a BC break

@theofidry theofidry changed the base branch from main to 3.x April 20, 2025 19:15
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.

1 participant