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
En esta página del sitio puede ver el video en línea Setup GitHub actions for PHP to run phpcs and phplint de Duración hora minuto segunda en buena calidad , que subió el usuario hussainweb 30 junio 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,858 veces y le gustó 87 a los espectadores. Disfruta viendo!