Skip to content
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

Update config-reference.md after #6561 #6627

Merged
merged 1 commit into from May 24, 2022

Conversation

johnbillion
Copy link
Contributor

See #6561

@@ -37,16 +37,17 @@ vendor/bin/phpstan analyse -c phpstan.neon

When using a config file, you have to pass the `--level|-l` option to `analyse` command (default value `0` does not apply here), or provide it as a `level` parameter in the config file itself. [Learn more about other command line options »](/user-guide/command-line-usage)

If you do not provide a config file explicitly, PHPStan will look for files named `phpstan.neon` or `phpstan.neon.dist` in current directory.
If you do not provide a config file explicitly, PHPStan will look for files named `phpstan.neon`, `phpstan.neon.dist`, or `phpstan.dist.neon` in the current directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be specified that phpstan.dist.neon is supported since PHPStan 1.4.7.

@staabm
Copy link
Contributor

staabm commented May 24, 2022

@johnbillion any plans to finish this one?

@ondrejmirtes ondrejmirtes merged commit b37ea88 into phpstan:1.5.x May 24, 2022
@ondrejmirtes
Copy link
Member

I think it's fine. It's been a long time. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants