Testing PHP code against many PHP versions
As PHP grows, more versions show up with better stability & performance, obviously we test our code against production environment, but what if we could test it against new versions with little effort and ensure soft migration in future ?
Here we will use Docker & Gitlab to ensure that our PHP code runs on these versions: 5.5, 5.6 and 7.0.
We’ll use our own Docker images with configured additional extensions not provided by PHP official images, also with installed GIT and newest composer out of the box.