openactive / models-php

PHP Models for the OpenActive Opportunity and Booking Specifications
MIT License
6 stars 8 forks source link

Remove support for PHP 5.6 #114

Open nathansalter opened 3 months ago

nathansalter commented 3 months ago

Based on this table PHP 5.6 has been out of active support for a long time. Looking at our current supported versions we should be a bit more explicit in this for the composer.json file. Looking at an analysis of the estimated version usage My suggested supported versions would be as follows:

Basically having a cut-off of 5% usage stats to remove that version. I do appreciate that some of our customers in particular might still be on PHP 7.2 but looking at our Packagist stats I don't think that's actually the case. It actually seems like the only system using this library on 5.6 is our auto-tests.

The features we'd be able to use by moving to 7.4 are:

Which I think would make the PHP library at least look a lot more like our other libraries.