-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
installing with phar crashes because phpstan/phpstan not found #164
Comments
🤔 Okay, so I looked at the code again $pharPath = \Phar::running();
if ($pharPath !== '') {
// Running in packaged Phar archive.
$phpstanBin = 'vendor/phpstan/phpstan/phpstan'; What I noticed is that the bin path doesn't use the $configuration_data['parameters']['bootstrap'] = $pharPath . '/error-bootstrap.php';
$configuration_data['includes'] = [
$pharPath . '/vendor/phpstan/phpstan-deprecation-rules/rules.neon',
$pharPath . '/vendor/mglaman/phpstan-drupal/extension.neon',
]; So that's why it used your current directory and appended
|
This was referenced May 10, 2020
Closed
Phar is just flat out broken. I'm closing this to track the complete problem in #167 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How is drupal-check installed?
Environment:
Describe the bug
I did
drupal-check docroot/modules/custom/mymodule/
and got this:
Console output
Paste the output of the console when running the command with
-vvv
The text was updated successfully, but these errors were encountered: