You most likely have read my previous posts that go into detail regarding CakePHP and how to be most efficient in the IDE, as well as most "type safe" using PHPStan and static analyzing. See e.g. here. In this post…
Tag: PHPStan
CakePHP Static Analyzer updates
You might remember my blog post from beginning of this year. In this article I want to give a quick feedback on what happened so far. CakeDC PHPStan extension The authors of CakeDC/cakephp-phpstan did a great job over the last…
CakePHP and static analyzers
In this post, I discuss the usefulness of clean coding and static analyzers used to introspect it. I will also outline a few neat tools and tricks to get there faster. Static Analyzers Statically analyzing your code can be super…
CakePHP Tips 2017 Part 1
Whoops as ErrorHandler I recently switched to Whoops in my apps. It provides a better exception rendering for development mode for most cases. Just load the plugin (dereuromark/cakephp-whoops) and modify the bootstrap line: //(new ErrorHandler(Configure::consume(‘Error’)))->register(); (new \CakephpWhoops\Error\WhoopsHandler(Configure::consume(‘Error’)))->register(); If you already…