Skip to content

PHPStan command doesn't use phpstan.neon.dist #174

Description

@neclimdul

Preliminary checklist

  • I am using the latest stable version of DDEV
  • I am using the latest stable version of this add-on

Expected Behavior

$ ddev phpstan
Note: Using configuration file /var/www/html/phpstan.neon.dist.
....


### Actual Behavior

$ ddev phpstan
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 455 100 455 0 0 11404 0 --:--:-- --:--:-- --:--:-- 11666
Note: Using configuration file /var/www/html/web/modules/custom/marketo_ma/phpstan.neon.


### Steps To Reproduce

_No response_

### Anything else?

As stated in the title, if you have a phpstan.neon.dist file in your project, its ignored and gitlab template version is downloaded instead.

Personally I'd prefer if the entire command just did less and passed through to phpstan with out all the scaffolding but definitely should respect the dist file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions