Buat yg blm tau, jd setelah kasus kmaren legacy code yg gk beres dr software house. Sy berencana utk melakukan quality control secara otomatis di project yg baru nantinya.
Untuk itu kita bisa pakai tools namanya grumphp, cara kerjanya (lnjt)
Linknya dibawah 👇
📝#PHP Code Quality Tips📝
Are you into PHP & using GrumPHP? - That's Great 👍
"Grumphp is a composer plugin that can be set as a Git pre-commit hook to inspect code quality before committing the code."
Running Grumphp is as simple as shown in the screenshot 👇
Git hooks to improve code quality (grumphp, phpcs, phpcpd and phpstan) https://t.co/KzNJCEjwVj
This article is part of series that we created to have a common knowledge/rule base among our IT teams
Continue reading on Medium »
@heiglandreas @tnolte@jon_bossenger@twigpress Grumphp approves this message!
You must always run GrumPHP in a CI flow as well!
Local validation is just a sanity check for yourself!
@jon_bossenger @heiglandreas @twigpress @CaptainHookPHP You can open up an issue if you want to discuss something in-depth or join the gitter channel, which is less active atm, for smaller questions.
https://t.co/7TTYLKqziR
@jon_bossenger @heiglandreas @twigpress @CaptainHookPHP We've put a big effort in making grumphp more flexible in the past year.
Most of it is in the configurable options or tasks.
Let us know if there is something else we can do in order to make it even more flexible!