Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Drop minimum required PHP version to 5.4 #48

Merged

Conversation

weierophinney
Copy link
Member

Drupal 8 has a minimum PHP of 5.4.8. Symfony 2.7 still depends on 5.3.something. 5.4 is a reasonable middle-ground to ensure that new libraries targeting older versions of PHP do not need to be written.

This will be a temporary change; we will likely update the minimum required version in one of the next few minor releases.

- Drupal 8 has a minimum PHP of 5.4.8. Symfony 2.7 still depends on
  5.3.something. 5.4 is a reasonable middle-ground to ensure that new libraries
  targeting older versions of PHP do not need to be written.
@weierophinney weierophinney added this to the 1.0.3 milestone Jun 4, 2015
- The `::class` magic class constant was introduced with PHP 5.5, so
  cannot be used here if we want to provide 5.4 support.
@Crell
Copy link

Crell commented Jun 4, 2015

This would eliminate one of the two blockers to Drupal pulling in the Symfony-PSR-7 bridge and Diactoros, so definitely +1 from me. (The other blocker is a question of scope and timing, which is not something Zend can do anything about.)

@dunglas
Copy link
Contributor

dunglas commented Jun 4, 2015

It will increase the number of Symfony users and projects able to use the PSR-7 Bridge so 👍
Thanks!

weierophinney added a commit that referenced this pull request Jun 4, 2015
weierophinney added a commit that referenced this pull request Jun 4, 2015
@weierophinney weierophinney merged commit 0aab3a4 into zendframework:master Jun 4, 2015
weierophinney added a commit that referenced this pull request Jun 4, 2015
@weierophinney weierophinney deleted the hotfix/minimum-php-version branch June 4, 2015 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants