-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Uncaught Error: Failed opening required 'phar:///usr/local/bin/phplint/config/bootstrap.php' #203
Comments
This issue affect only PHAR version 9.1.1 and not 9.0.8 ! |
While contents of BOX config file v9.1 is almost the same as v9.0 (except compression directive) We use BOX v6 to build PHAR version of v9.1, while we use BOX v5 to build PHAR version of v9.0 |
Even if I try to follow the SOLID design principle, and especially the single responsability principle Even if I found new issues with BOX v6 that was not present with BOX v5, it's not the fault of BOX project here. When you don't specify So the solution to fix this problem is to use force-autodiscovery directive. PS: @nvuillam Thanks for reporting, a new version 9.1.2 will be soon available ! |
@llaville you're welcome. for once i'm useful to one of your repos, and not the contrary 😅 Meanwhile i downgraded phplint in MegaLinter and it's ok ^^ |
Version 9.1.2 is available |
Thanks for your reactivity :) |
New Issue
Diagnose
Installed with phive:
phive --no-progress install overtrue/phplint --force-accept-unsigned -g
Installation log from MegaLinter Dockerfile process:
Summary
Fatal error while calling any phplint command
Expected behaviour
No fatal error
Actual behaviour
Example 1 with phplint -h
Example 2
Full job logs is available here: https://github.com/oxsecurity/megalinter/actions/runs/7789108227/job/21240023175?pr=3341
The text was updated successfully, but these errors were encountered: