A collection of practical tips for CakePHP developers focused on IDE tooling, static analysis, and CI efficiency. Key topics include running phpcs only on git-modified files using a bash script, setting up CI with PHPStan and annotation checks, and a detailed PHPStan configuration using cakephp-phpstan, rector/type-perfect, and phpstan-strict-rules. The post highlights specific rule settings like disallowedImplicitArrayCreation and dynamicCallOnStaticMethod that catch real bugs without excessive noise.
Sort: