PHP CS Fixer Setup and Configuration - intro into professional PHP development

Опубликовано: 19 Сентябрь 2024
на канале: Frank Prins
254
16

When working in a team, talking about code style changes can be quite counter productive. Instead, we set up a common style and enforce it in a pipeline with PHPCSFixer

00:00 Intro
00:45 Installing PHPCSFixer
01:00 Configuration
03:00 Rules and Rulesets
03:23 PSR12
04:05 Script aliases
04:54 .gitignore of cache
05:35 GitHub actions pipeline
07:07 Outro