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

Display PHPStan version in output #7878

Closed
ThomasLandauer opened this issue Aug 29, 2022 · 3 comments
Closed

Display PHPStan version in output #7878

ThomasLandauer opened this issue Aug 29, 2022 · 3 comments

Comments

@ThomasLandauer
Copy link
Contributor

Feature request

$ vendor/bin/phpstan analyse
PHPStan 1.8.2 # <= Add this line
Note: Using configuration file /home/.../phpstan.neon.
50/50 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
@ondrejmirtes
Copy link
Member

Why? It's unnecessary noise. You must know what version have you installed with Composer 😊 And you can always verify it with --version.

@ThomasLandauer
Copy link
Contributor Author

ThomasLandauer commented Aug 29, 2022

@ondrejmirtes To me it's not noise but best practice ;-)

Some examples of other command line tools' first lines:

Codeception PHP Testing Framework v5.0.2 https://helpukrainewin.org
...

phploc 7.0.2 by Sebastian Bergmann.
...

ComposerRequireChecker 4.1.0@4d18781ae098802cb784f42454ef2477d6a95a4f
...

Phive 0.15.2 - Copyright (C) 2015-2022 by Arne Blankerts, Sebastian Heuer and Contributors
...

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants