-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Related to issue #1236 and RequirementChecker section #1237
Comments
We can check it online with result https://github.com/overtrue/phplint/actions/runs/7057695166/job/19211827974 |
Could there be that a mbstring poly fill is present? Thanks to the composer.lock file we remove all the covered extension requirements |
Personnaly I'd like the Composer Unused solution that display it even if the symfony/polyfill-mbstring is present
|
@theofidry I've another use case that I don't understand origin. I've recently played with PHP Benchmarking framework v1.12.15 And I've noticed that php extensions declared does not match with the
Extension Confirmed by the
Any idea of where it come from ? |
Probably from:
If it's GZ-compressed it requires Currently in |
@llaville do you think it would be good enough to show this as part of a command rather than the info? The difference would be that you compute the requirements before creating the PHAR, as opposed to the info which shows the requirements shipped. This would offer two benefits:
WDYT? |
@theofidry By invoking
But when I compile project with BOX
As the I'd like to see rather mention like That will give something better understandable (but it's only my opinion)
|
Another use case that lead for me to a confusion, is when an extension is defined as root in the
On project https://github.com/overtrue/phplint/tree/9.1, the With
Compare with
|
Yes that can be added, not sure if with the exact workding. Note that this is explicitly said in the build output already.
I totally understand the point, but in #1237 (comment), my question is if having it as part of another command would be good enough. The reason why I suggest another command is that it's a lot easier and cheaper to add information as part of a Box command. The produced requirement checker is shipped as part of the final PHAR so I prefer to keep the shipped code as stable and light as possible. Which is why listing all the intermediate steps of finding the requirements makes me a bit uneasy. |
Why don't we see all extensions declared on root
composer.json
fileSee with GitHub repo :
Built online for the first time at https://github.com/overtrue/phplint/actions/runs/7056960071/job/19209802647
But when we check with BOX info command, we got :
Only
json
extension is displayed, but notmbstring
. Is there a reason or is it just a bug ?The text was updated successfully, but these errors were encountered: