Skip to content

feat: Update to PHP-Scoper 0.18.5#1142

Merged
theofidry merged 8 commits intobox-project:mainfrom
theofidry:feat/php-scoper
Nov 4, 2023
Merged

feat: Update to PHP-Scoper 0.18.5#1142
theofidry merged 8 commits intobox-project:mainfrom
theofidry:feat/php-scoper

Conversation

@theofidry
Copy link
Copy Markdown
Member

No description provided.

@theofidry theofidry marked this pull request as ready for review November 4, 2023 11:10
@theofidry theofidry merged commit 1e10a1e into box-project:main Nov 4, 2023
@theofidry theofidry deleted the feat/php-scoper branch November 4, 2023 17:51
theofidry added a commit to theofidry/box that referenced this pull request Mar 8, 2024
This fixes the integration of
humbug/php-scoper#864 within Box which was done
in box-project#1142.
theofidry added a commit that referenced this pull request Apr 7, 2024
This fixes the integration of
humbug/php-scoper#864 within Box which was done in #1142.

The issue was that the relative file paths was passed instead of hashes. Note that we create the file hasher in a different way than in PHP-Scoper, since PHP-Scoper has to deal with the vendor directory from the source and the scoped one, and deals with absolute paths. In Box however, this is not the case, we directly get relative file paths (relative to the working directory)
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