-
PHPStan: unspecified value in iterable
I got this error yesterday and it took hours until I figured out the problem. Why you ask? Because the class looked like this: My impression was: why is $record a problem? It has a type! After trying a simpler example at PHPStan’s playground, I found the problem: While writing this blogpost I tried itContinue…
-
PHPUnit Code Sprint: Issue discussions
assertDirectoryExists and assertDirectoryDoesNotExist failed #5996 Did you know php has a statcache which caches the return values of all kinds of return values from the operating system IO? That means, as long as you stick to the php universe like stat(), lstat(), file_exists(), is_writable(), is_readable(), is_executable(), is_file(), is_dir(), is_link(), filectime(), fileatime(), filemtime(), fileinode(), filegroup(), fileowner(), filesize(), filetype(), and fileperms() everything is fine, but don’t mix it with exec(“rm -rf $yourEscapeDirectory”); More on thisContinue…
-
PHPUnit Code Sprint in Autumn
Last week I traveled to Munich to attend PHPCode Sprint. Once again Sebastian Bergmann invited to work together on PHPUnit, close issues, fix bugs and think weird behaviour by tests, PHPUnit itself and PHP through. A big shout out and thank you goes to celebrate company who hosted once gain the hackathon and took careContinue…
-
From Stuck to Success: Ensuring Progress with Proactive Project Management
As a project manager, I often view our work differently from our developers. While the dev team focuses on solving technical challenges, my job is to ensure projects stay on track and meet both deadlines and client expectations. One of the key tools we use to manage tasks is Jira, where every ticket moves throughContinue…