It's so nice to see well formatted code. When the code formatting by all your team members are standard, it becomes so much more easy to scan code and make sense of what's happening.
Pint is one such laravel package which can be used to format code, remove unused imports etc. So, it does save a lot of time and also ensures that code from every developer is formatted in the same way.
However, it is quite possible that a developer may forget to execute the code before doing a git commit.
In this video, we are going to look at how we can automate that process so that you don't have to remember this and also the code formatting and the git commit will happen only when the test cases are success.
You can find me on:
Twitter: / amitavroy7
Discord: / discord
Негізгі бет Laravel Pint PHP Tests run automatically on before git commit using git hooks
No video
Пікірлер: 10