-
Notifications
You must be signed in to change notification settings - Fork 15
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
Including dependencies packed with clue/phar-composer results in exception #19
Comments
Interesting! Can you please share the Phar archive and it's source code that you're using, as well as how to execute it (I assume it's a CLI application). Thx |
|
Sure. That‘s my composer scripts packing the phar archive:
It‘s not strictly a CLI application but a TYPO3 eID script call. I attached the phar for reference. |
I could not reproduce using My isolated test scenario just looked like this:
|
I just got a similar report in pagemachine/typo3-formlog#23 apparently affecting |
@mbrodala |
The issue mentioned in pagemachine/typo3-formlog#23 was a different one. Back to this very issue, invocation of |
There haven't been much more details on this topic during the last two years. I guess it's fine to close this issue. |
In a non-composer TYPO3 project I follow @helhum‘s suggestions here https://insight.helhum.io/post/148112375750/how-to-use-php-libraries-in-legacy-extensions to require third party dependencies.
After an update to a TYPO3 version including
phar-stream-wrapper
I‘m facing this exception:thrown in the line that does actually require the autoload.php file inside the phar, equally to
Expected behaviour:
Register classes inside phar and load classes from there as needed.
PHP is 5.6.24 and target TYPO3 version is 6.2.40
The text was updated successfully, but these errors were encountered: