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

Config auto detection #194

Merged
merged 8 commits into from
Nov 1, 2018
Merged

Config auto detection #194

merged 8 commits into from
Nov 1, 2018

Conversation

johanvanhelden
Copy link
Contributor

As we discussed yesterday in #178, this is the PR for configuration auto-detection.

This will allow the user to place a custom configuration file in the root of the application, and Larastan will automatically pick that one up instead of the hard-coded vendor file.

So you no longer have to run:
artisan code:analyse --configuration=$PWD/phpstan.neon

But now, you can simply run:
artisan code:analyse

I've also added some extra documentation on setting up a custom configuration.

@nunomaduro nunomaduro self-requested a review October 31, 2018 15:03
@nunomaduro nunomaduro merged commit bf868d7 into larastan:master Nov 1, 2018
@nunomaduro
Copy link
Collaborator

Thanks for this! 👍

@johanvanhelden johanvanhelden deleted the config-auto-detection branch November 2, 2018 06:54
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

2 participants