Skip to content

exclude symfony polyfills from php scoper during PHAR compilation #579

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

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

DAcodedBEAT
Copy link

This PR resolves this issue around PHAR compilation:

PHP Fatal error:  Uncaught Error: Call to undefined function _HumbugBox48cf944fc33a\Symfony\Component\Console\get_debug_type()

The solution used is using a similar approach to humbug/php-scoper#481

Resolves #550

@DAcodedBEAT
Copy link
Author

@box-project / @humbug It looks like I need maintainer approval to run the required Github workflow, so can someone please run this and merge this contribution at their earliest convenience?

This is my first time contributing to this project so I'm not completely sure what else is required of a PR in order for it to be accepted.

@zbtnot
Copy link

zbtnot commented Dec 9, 2021

Looks good to me! Maybe someone from @box-project or @humbug could take a look? 😃

@DAcodedBEAT
Copy link
Author

@theofidry I see you are listed as a maintainer of this project. Can I get this reviewed and hopefully merged? (also going forward, what is the protocol to get things merged for this project?)

@theofidry
Copy link
Member

@DAcodedBEAT sorry I cannot check in details atm. Right now there is two blocking issues for respectively PHP-Scoper (a content overall which no one can do but I) and Box (#571) which need to be dealt with. Once done I believe there is some (minor) cleanup to do and both projects can be released once again with full 8.1 support

This commit resolves this issue around PHAR compilation:
```
PHP Fatal error:  Uncaught Error: Call to undefined function _HumbugBox48cf944fc33a\Symfony\Component\Console\get_debug_type()
```

The solution used is using a similar approach to humbug/php-scoper#481

Resolves box-project#550
@theofidry theofidry mentioned this pull request Feb 1, 2022
@theofidry theofidry merged commit 7a9f03b into box-project:master Feb 1, 2022
@theofidry
Copy link
Member

Thank you @DAcodedBEAT

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.

Build fails with "Call to undefined function get_debug_type()"
5 participants