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

Fix process path issue #121

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Fix process path issue #121

merged 1 commit into from
Nov 25, 2024

Conversation

jesseleite
Copy link
Member

@jesseleite jesseleite commented Nov 25, 2024

Use getcwd() to more intelligently run php-cs-fixer via absolute path, because tests are failing again.

We initially tried to fix this in a695b45, and had to revert in #118. I think the first solution was a red herring solution though, because __DIR__.'/../' might always point to the same absolute path, relative to the cwd.

This fix uses getcwd() to figure out the proper cwd, both in context of testbench, but also in context of actually running the command as end user.

Todo

  • Manually test migration in MacOS
  • Manually test migration in Windows

@jesseleite jesseleite merged commit 0854880 into master Nov 25, 2024
24 checks passed
@jesseleite jesseleite deleted the fix-process-path-issue branch November 25, 2024 21:52
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