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

Add information about running phpstan? #182

Closed
sypets opened this issue Oct 15, 2020 · 2 comments
Closed

Add information about running phpstan? #182

sypets opened this issue Oct 15, 2020 · 2 comments

Comments

@sypets
Copy link
Contributor

sypets commented Oct 15, 2020

I don't know if this is really necessary, but I saw that bamboo runs it and it is pretty easily done to execute it locally, and make sure the code is ready for a higher level.

Currently level 2 is used, which is not very high.

./bin/phpstan analyse --no-progress --no-interaction

./bin/phpstan analyse --no-progress --no-interaction -l3

@sypets sypets transferred this issue from TYPO3-Documentation/TYPO3CMS-Guide-HowToDocument Oct 17, 2020
@sypets
Copy link
Contributor Author

sypets commented Oct 19, 2020

see also blog post about integrating phpstan in PhpStorm: https://susi.dev/phpstan-phpstorm-pro

@sypets
Copy link
Contributor Author

sypets commented May 21, 2022

Running phpstan is available via runTests.sh: runTests.sh -s phpstan.

This is also listed here: https://docs.typo3.org/m/typo3/guide-contributionworkflow/main/en-us/Testing/Index.html#commands

I am closing.

@sypets sypets closed this as completed May 21, 2022
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

No branches or pull requests

1 participant