Writing a custom sniff for PHP CodeSniffer
13th January 2019 6:50 pm
I've recently come around to the idea that in PHP all classes should be final by default , and have started doing so as a matter of course…
13th January 2019 6:50 pm
I've recently come around to the idea that in PHP all classes should be final by default , and have started doing so as a matter of course…
3rd January 2019 11:55 pm
Lately I've seen a number of Laravel packages being posted on places like Reddit that offer ways to make your project more modular by…
2nd January 2019 11:00 pm
This may sound a little trite, but why is it bad to write bad code? Suppose you're a client, or a line manager for a team of developers. You…
27th December 2018 6:37 pm
A while back I was asked to make some changes to a legacy project that was still using Subversion. This was troublesome because my usual…
6th December 2018 6:34 pm
I've written before about using decorators to extend the functionality of existing classes, in the context of the repository pattern when…