Write tests – even for your pet projects – Brandon Savage

I had an interesting discussion recently whereby I asserted that changing the constructor signature of a class should necessarily break some of your tests, if your tests are adequate in their coverage. This tweet generated considerable discussion, and one of the takeaways was a discussion about whether or not writing tests for personal pet projects […]

The post Write tests – even for your pet projects appeared first on BrandonSavage.net.

Xdebug Update: March 2022 – Derick Rethans

Xdebug Update: March 2022

In this monthly update I explain what happened with Xdebug development in this past month. These are normally published on the first Tuesday on or after the 5th of each month.

Patreon and GitHub supporters will get it earlier, around the first of each month.

You can become a patron or support me through GitHub Sponsors. I am currently 46% towards my $2,500 per month goal. If you are leading a team or company, then it is also possible to support Xdebug through a subscription.

In March, I spend 39 hours on Xdebug, with 25 hours funded.

Development

Most of my time in March was spent on investigating and fixing bugs. Ranging from a crash during debugging of closures with static properties, support for showing ArrayObject elements while debugging, improvements to code coverage, and bugs with Xdebug’s step-debugger triggering mechanism.

I also improved Xdebug’s diagnostics by adding warnings. I added one for when systemd PrivateTmp directories are used. And Xdebug now also warns if zlib compression is enabled in situations, such as with the profiler’s append feature, where it can not be used.

I spend a considerable amount of time cataloguing the different set-ups that developers use, and how to configure Xdebug’s debugger. This work will result in better documentation and perhaps a flow chart. The research is also useful for the Xdebug Course that I have mentioned before.

I have not figured out how to do it will all different set-ups, so if you have extra information, or if I am still missing set-ups, feel free to comment on the Google Doc.

In the more complicated set-ups, perhaps it would be easier to use Xdebug Cloud as it has none of these networking complications.

New Jigsaw-based Site – Jordi Boggiano

My blog was always based on some home-grown CMS I built during my studies in.. checks CV 2007-2008.

This was mostly fine but it had no markdown support and it was one more server to manage. I would like to try and write some more content here again so I figured I should get this sorted out as a first step, because writing text in plain html is kind of a pain.

So here we are, here’s my new website! It’s built with Jigsaw and hosted with GitHub pages for convenience.

And because it’s 2022 and I wanted to play a bit with Tailwind, there’s a dark mode too of course .

Stay tuned for more content coming soon!