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

Remove mentions of "type hint" and "typehint" #1587

Conversation

morrisonlevi
Copy link
Contributor

We previously have removed some mentions of "type hint" in our documentation, and avoided it in some of our error messages. This removes the remaining usages in error messages. It also removes some usages in comments and in tests. This does not rename variables or functions in C code, nor does it rename files or folders.

If accepted it should also be applied to the next RC release of PHP 7.0.

@hikari-no-yume
Copy link
Contributor

Changing code comments but not variable names seems inconsistent and might be confusing

@morrisonlevi
Copy link
Contributor Author

Changing more code seemed like it might be too much this close to release for 7.0. I would not object if we changed the code as well, though.

@hikari-no-yume
Copy link
Contributor

Yeah, it has the potential to break things :/

Why didn't you change the test filenames, by the way? That's not going to break anything, and git can track renames just fine.

@morrisonlevi
Copy link
Contributor Author

I could rename the files too. I would do it in its own commit so it's clear they've only been moved. If I did it in the same commit then it would be harder to see the real diff.

This does not rename variables or functions in C code, nor does it
rename files or folders.
@morrisonlevi morrisonlevi force-pushed the remove_type_hint_from_error_messages branch from 4c18ddb to 7e40bfe Compare October 20, 2015 20:46
@morrisonlevi
Copy link
Contributor Author

I pushed a commit to rename the files that I could find with "type hint" or "typehint" in their names.

@morrisonlevi morrisonlevi force-pushed the remove_type_hint_from_error_messages branch from 9a4d4cb to 9cea4d2 Compare October 22, 2015 15:10
@jpauli
Copy link
Member

jpauli commented Dec 24, 2015

merged

@jpauli jpauli closed this Dec 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants