yswery/PHP-DNS-SERVER

What PHP version should we support?

Closed this issue · 3 comments

The composer and travis files currently indicate support for PHP 5.5 which has reached end-of-life. PHP 5.6 will reach end-of-life at the end of this year. Should we change the minimum requirements to PHP 5.6 with a view to update again to PHP 7.2 at the end of the year?

This also affects the PHPUnit testing framework version.

[http://php.net/supported-versions.php](PHP Version Support)

Personally, I wouldn't bother with php 5.6, in only four months it will be over for php 5.6. Besides we would loose some good type hinting with this backward compatibility

I agree with that position. I think this is where tagging releases would prove useful as it allows us to set a support cut-off.

I'd like to suggest git flow approach for code management.

Branches:

  • develop
  • release
    and feature branches prefixed with feature
  • feature/feature-name-tests