Prettier and PHPStan #1685
Replies: 3 comments 4 replies
-
I think PHPStan is already in use @datengraben ? |
Beta Was this translation helpful? Give feedback.
-
@hansmorb is right, @janschoenherr I already started with running the initial levels of phpstan (in this non-PR-commit f555c18) and fixing findings in the repo code with this PR #1654 and suppose you did the same with #1686, since there was a small overlap haha. I hesitated because of the autloading issue, but after PR #1656 is merged now, onboarding of new contributors should have one less obstacle to overcome and it should be possible to start all of the tooling (phpstan/phpunit/phpcs) right after the initial repo setup. For every new/old contributor :) I also stumbled upon this Github Action that adds PR-Annotations via an Github-Action using the Checks-API and thought about integrating it into our github actions. EDIT: PR-Link to phpstan config |
Beta Was this translation helpful? Give feedback.
-
@janschoenherr and I know prettier, but did not check its capabillities for PHP code. @janschoenherr I would be interested in pull request, but would like to have two seperate. One for phpstan and one for prettier. But till now, I also didn't check for any prettier php toolings. Maybe I will be suprised. |
Beta Was this translation helpful? Give feedback.
-
Hi,
have you considerer using Prettier and PHPStan. Both might make it easier for new contributors to find their way around the code base.
I could create a PR for both tools.
Regards
Jan
Beta Was this translation helpful? Give feedback.
All reactions