Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require PHP 7.1 #119

Merged
merged 11 commits into from
May 23, 2017
Merged

Require PHP 7.1 #119

merged 11 commits into from
May 23, 2017

Conversation

lcobucci
Copy link
Member

@lcobucci lcobucci commented May 23, 2017

Related to doctrine/orm#6425

@lcobucci lcobucci added this to the 1.5 milestone May 23, 2017
@lcobucci lcobucci self-assigned this May 23, 2017
@malukenho
Copy link

@lcobucci how about declare(strict_types=1);?

@lcobucci
Copy link
Member Author

@malukenho I like the idea but I rather add it on the major release (along with the type-hints everywhere)...

@Ocramius
Copy link
Member

Strict types can indeed only be added later in a major version. Checking just the current diff, some upcasts may happen for asc/desc ordering, and that means that it would crash hard on people not strictly passing strings to the API.

@Ocramius Ocramius assigned Ocramius and unassigned lcobucci May 23, 2017
@Ocramius Ocramius merged commit f4b7fca into master May 23, 2017
@Ocramius Ocramius deleted the require-php-71 branch May 23, 2017 20:40
@Ocramius
Copy link
Member

Ocramius commented May 23, 2017

:shipit:

soullivaneuh added a commit to soullivaneuh/doctrine-collections that referenced this pull request Jun 26, 2017
7.1 is required since doctrine#119, but composer was not updated.
@Majkl578
Copy link
Contributor

FYI: See #125 for strict types, etc. 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants