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

PHPC-936: Define PHP_MONGODB_VERSION and STABILITY constants #563

Merged
merged 1 commit into from
Mar 20, 2017

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Mar 17, 2017

https://jira.mongodb.org/browse/PHPC-936

This removes the redundant MONGODB_VERSION constant renames the existing version and stability constants to be consistent with the format in PHP's extension skeleton: php/php-src@dcfd753

Fixes: #562

This removes the redundant MONGODB_VERSION constant renames the existing version and stability constants to be consistent with the format in PHP's extension skeleton: php/php-src@dcfd753
#define MONGODB_STABILITY_S "devel"
#define MONGODB_VERSION MONGODB_VERSION_S
#define PHP_MONGODB_VERSION "1.2.8-dev"
#define PHP_MONGODB_STABILITY "devel"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arguments of the extension skeleton aside, these names are also more consistent with the MONGODB_VERSION and MONGODB_STABILITY constants we define for userland.

As for MONGODB_VERSION, I found no references to it apart from zend_module_entry. This seemed ripe for removal after updated the struct to use PHP_MONGODB_VERSION.

Copy link
Contributor

@derickr derickr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmikola jmikola merged commit f4cea43 into mongodb:v1.2 Mar 20, 2017
jmikola added a commit that referenced this pull request Mar 20, 2017
@jmikola jmikola deleted the 1.2-phpc-936 branch March 20, 2017 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants