Every year, I try to take the time off from Christmas to New Year’s to be with family and friends and this year is no different.
During my time off, I’ve spent a bunch of time with my family, seen Star Wars: The Rise of Skywalker (and it was great to share the experience with my kids to see the movie on the big screen!), and already spent some time with my in-laws to celebrate the holiday.
If you inherit a WordPress codebase, regardless of the age of the project, there may be a lot of context that you don’t have as to why certain decisions were made or how things were implemented.
This may include the server, infrastructure used to help power the site or the app, and other contextual information about the environment in which it was running.
This type of information can be server-related information, PHP version, database type, information that’s actually stored in the database especially if you do a database import, and so on.
Ideally, all of this is handed over but that’s not always the case. Anyway, say you attempt to start it up and then when you attempt to start up the application, not only does it not work but it either shows a white screen or displays a message about technical problems with your installation.
There are a lot of nice packages that we can use in our PHP-based projects and if you’re using Composer or GrumPHP, PHPCompatibility is one that I recommend including your projects especially if you’re writing code for something that’s going to run across multiple versions of PHP (that is, on hosts that offer different versions).
This is a set of sniffs for PHP CodeSniffer that checks for PHP cross-version compatibility. It will allow you to analyse your code for compatibility with higher and lower versions of PHP.
As I head into December of this year, this will be the final – and obviously the third – time I take off the social web for the remainder of the year. At least that’s the plan. I’m thinking of doing it a little bit differently this year.
For those of you who haven’t read about my doing this in years past, check out:
After two years after writing a lot of content and giving exclusive access to site members, this past weekend I opened the site to everyone.
But this wasn’t a small nor was it a quick decision and it’s not something that I opted to on a whim. For those who were subscribed to the newsletter earlier this year, I made an announcement that this was coming.