Linting and style checks are quick wins and you should not think too much about them. Just set it up and let it do its thing. I know everyone prefers a different coding style, but whatever style you use, style checks make it consistent for you and your team. So, just pick something and use it consistently.
This video walks you through setting up phpcs and phplint on your PHP project as a composer script. It then also covers adding those as GitHub actions so that you have style checks and linting with every commit.
Contents
00:00 Start
00:17 Introduction to linting and style checks
00:53 Looking at the project
01:40 Adding the tools
02:07 Verifying phpcs
02:26 Add phplint
04:33 Adding GitHub workflow
05:53 Add actions to the workflow
06:47 See it in action
07:37 Merge PR and closing
Nesta página do site você pode assistir ao vídeo on-line Setup GitHub actions for PHP to run phpcs and phplint duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário hussainweb 30 Junho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,858 vezes e gostou 87 espectadores. Boa visualização!