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

NewFunctions: Add new OCI functions #545

Merged
merged 1 commit into from
Dec 21, 2017
Merged

Conversation

@jrfnl jrfnl added this to the 8.1.0 milestone Dec 18, 2017
@jrfnl jrfnl requested a review from wimg December 18, 2017 04:54
@wimg
Copy link
Member

wimg commented Dec 18, 2017

Waaaah... didn't see this one before I created my own version. The big question is : should we target 7.0 or 7.1 ?

@jrfnl
Copy link
Member Author

jrfnl commented Dec 18, 2017

The big question is : should we target 7.0 or 7.1 ?

I was thinking about that last night as well. The reason I've chosen the 7.1.x versions is that the function is 100% fine if 7.1.7/9 or higher is the "targetVersion" (testVersion) for PHPCompatibility.
With 7.0.xx, 7.1.0 would pass without issue, but in reality does not support the function yet.

@jrfnl
Copy link
Member Author

jrfnl commented Dec 18, 2017

There are some more cases like this here and there. We may want to take a principle decision (always use lowest/highest PHP version where the function first appeared/was deprecated in last) and verify that the logic is applied consistently throughout the PHPCompatibility sniffs.

[Edit]: Oh and add it to the contributors guidelines so it's documented.

@jrfnl jrfnl mentioned this pull request Dec 18, 2017
@jrfnl
Copy link
Member Author

jrfnl commented Dec 21, 2017

I've created a new issue for the "consistency when something is added/removed in multiple versions" question.

@jrfnl
Copy link
Member Author

jrfnl commented Dec 23, 2017

And now I know why I didn't pull this before: php/php-src@9379b31#diff-7748eb3bfdd3bf962553f6f9f2723c45

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.

2 participants