DEV Community

Discussion on: How to setup Git commit hooks for PHP

Collapse
 
mmayboy_ profile image
O ji nwayo e je

1) What's the difference between code sniffer and editor config? Is code sniffer a more language-specific form of formatting i.e. Looks into language specific things like naming convention?

2) Why do we need to run php lint first? Isn't that what the first level of php-stan/psalm does?