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

[PSR-7] "integer" is not a valid scalar type #483

Merged
merged 1 commit into from Apr 6, 2015
Merged

[PSR-7] "integer" is not a valid scalar type #483

merged 1 commit into from Apr 6, 2015

Conversation

GrahamCampbell
Copy link
Contributor

It has always been the case that integer and boolean are aliases of int and bool, despite people's resistance to this (blame java, whatever), but as of php 7.0, integer really isn't allowed. PHP's implementation of scalar type hinting only allows you to use int, not integer. I think we should respect this and comply with PHP's official scalar types.

// cc @ircmaxell

@Tobion
Copy link
Contributor

Tobion commented Apr 3, 2015

👍

2 similar comments
@nyamsprod
Copy link

👍

@mtdowling
Copy link
Contributor

👍

simensen added a commit that referenced this pull request Apr 6, 2015
[PSR-7] "integer" is not a valid scalar type
@simensen simensen merged commit a49585f into php-fig:master Apr 6, 2015
@simensen
Copy link
Contributor

simensen commented Apr 6, 2015

@weierophinney Are you manually synchronizing the package yourself?

@GrahamCampbell GrahamCampbell deleted the psr7 branch April 6, 2015 13:55
@weierophinney
Copy link
Contributor

@simensen - yes. Periodically updating the http - message repo and/or creating PR pairs.

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