Skip to content

Conversation

@jesseleite
Copy link
Collaborator

@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.

2 participants