Author: alister

Improve your code coverage percentage – delete code!

A recent post showed how to setup Code Tombstones – but there are other , even more insidious pieces of code in a project. The code you know you aren’t using now, but you wrote ahead of time – because  you

Posted in php, testing

PHP-in-London list

While Twitter can be really annoying, sometimes it can help to promote some wonderfully simple ideas. One of these came from Andrew Woods (@awoods) – a github repo called php-in-seattle.  It’s a simple idea – just a list of companies around a

Posted in php

Code Tombstones

In a large project – particularly one in a dynamic language like PHP, as a project gets bigger maintaining full control of the code can be difficult. New features are written, old ones are changed or deprecated. Sometimes code is

Posted in php, tools

Replacing @expectedException with $this->expectException()

One of the advantages of a side-project is that you can be a little extra passionate about getting things just right. If you want to increase code coverage because you think that it’s good, you can – after all, it’s

Posted in php, testing, tools

Upgrading PHPunit – fixing PHPUnit_Util_DeprecatedFeature_Logger

Having just watched Sebastian Bergmann’s “The State of PHPUnit” presentation from Fosdem 2015, I was inspired to install and test a project of mine with the latest stable PHPUnit – v4.7. It was easily installed on the command line. composer

Posted in testing, tools Tagged with: ,

Presentations, May 2010 and July 2012, on Queueing

Just a quick note to point out a couple of presentations on Queuing. I’ve recently shown the second (which admittedly has some significant things in common with the original, and not just the web-based slides). Either way, you are welcome

Posted in presentation Tagged with:


It’s been one of those quiet spots around here for a while, so here’s the catch-up on what has been happening while I was not posting. I’ve recently finished a short contract working with an agency, Transform (part of the

Posted in advanced, tools Tagged with: , , ,

Hire quickly: Addendum, recruiters

Recruiters: Here’s the rules. The first recruiter to tell me the company name, and then send the job-spec gets to forward my details – if I think it’s interesting. No company name, or spec, no chance If you send my

Posted in hiring, quick Tagged with: , ,

Hire quickly, because your competitors will.

If you aren’t taking hiring seriously – other people can, and do hire the people you need. I’ve been guilty of it before – leaving it a couple of days – or even a week before getting back to someone

Posted in hiring Tagged with: ,

Jailbreaking your Kindle, and putting new ‘screensaver’ images

Non functional demo unit

A quick fun post for those of you with an Amazon Kindle – some instructions on how to a) jailbreak your reader (trivially easy), and then b) put your own wallpapers on there, so you get a more interesting ‘screensaver’.

Posted in fun, quick Tagged with: ,