Skip to content

Refactoring and fixes for PHP 7.2 #188

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

Closed
wants to merge 8 commits into from

Conversation

noo-zh
Copy link

@noo-zh noo-zh commented Dec 21, 2017

This solves issue 181.

Fixes:

  • fix incompatible declaration of OpenStack\Common\Resource\ResourceInterface::populateFromResponse
  • rename OpenStack\ObjectStore\v1\Models\Object to OpenStack\ObjectStore\v1\Models\ObjectEntity due to new object typehint
  • refactor self typehints in child classes

Because of renaming Object -> ObjectEntity, this should be a candidate for v3.0.0 release.

@mrwogu
Copy link
Contributor

mrwogu commented Jan 6, 2018

@noo-zh you didn't build it under PHP 7.2 in travis. Your repo does not work.
Look here: #184

@noo-zh
Copy link
Author

noo-zh commented Jan 6, 2018

@mrwogu I see. Travis config updated. It seems only tests may be out of date. I actually already use my branch in production and everything works well (of course, I don't use all features but still).

@haphan
Copy link
Collaborator

haphan commented Feb 5, 2018

Version 3.0 should be compatible with php 7.2 now thanks to #184

@haphan haphan closed this Feb 5, 2018
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.

3 participants