Skip to content

PHP 7.0+ for Nextcloud 14 #7368

@MorrisJobke

Description

@MorrisJobke

I want to bring up the topic of raising the PHP version to 7.0. I collected a list of released PHP packages for the main distributions:

As you need to use RHSCL anyways on Red Hat to run Nextcloud 13 and before, it only make sense to also raise the required version for Nextcloud. The main reason behind this is proper type hinting of scalar types as well as strict typing. Just today there was another possible bug that would have been found by our CI if strict typing would be set: #7351 (comment)

Compare https://3v4l.org/dmBJK (without strict typing) to https://3v4l.org/msAEZ (with strict typing).

Opinions on this? I guess it is a good way to move forward with our quality goals.

cc @rullzer @LukasReschke @schiessle @karlitschek @blizzz @skjnldsv @juliushaertl @icewind1991 @ChristophWurst @daita @danxuliu

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions