php-opencloud / openstack

PHP SDK for OpenStack clouds
Apache License 2.0
221 stars 148 forks source link

Update phpunit and allow php8 #325

Closed ChristophWurst closed 3 years ago

ChristophWurst commented 3 years ago

This builds on https://github.com/php-opencloud/openstack/pull/324.

This also resolves all wrong method calls with the new phpunit and fixes and code/markup that triggers phpunit warnings otherwise. This will ease the upgrade to phpunit9.

ChristophWurst commented 3 years ago

@jamiehannaford @haphan please let me know if this is ok the way I did it or if you want this to be split into smaller change sets. After my most recent commit CI should finally test the code on php8, so we'll see if anything needs to be adjusted in the code. The changes so far are merely to satisfy composer platform dependencies and updating test code for a new phpunit.

ChristophWurst commented 3 years ago

All green. Whohoo.

haphan commented 3 years ago

Let me know if this pr is ready for review. Thanks :)

On Wed, 6 Jan 2021 at 8:56 PM, Christoph Wurst notifications@github.com wrote:

All green. Whohoo.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/php-opencloud/openstack/pull/325#issuecomment-755283659, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGARMQBL3OVQ7M54A6XIJTSYRMWHANCNFSM4VVWHKIQ .

ChristophWurst commented 3 years ago

IMO it is: the composer now allows php8, so consumers of the package can depend on it, CI and dependencies were updated accordingly :)

ChristophWurst commented 3 years ago

@haphan friendly ping :grinning:

if you want me to change or split anything in smaller junks just let me know :)

ChristophWurst commented 3 years ago

@jamiehannaford @haphan please review :)

Elycin commented 3 years ago

Hey there, I'm checking in for a status update on this pull request.

This PR and #323 seem inactive for the past two months, so I figured that I could probably ask for an update. If there's any blockers in the way, is there something that I can do to help this project by any chance? There's a handful of things that depend on this and I'd like to contribute if possible.

Best Regards, Ely

pcieszkowski commented 3 years ago

Tried this PR on my project. Works really smooth.

timmipetit commented 3 years ago

Also tried this PR, works for us. Is there anything that is keeping it blocked from being merged?

jamiehannaford commented 3 years ago

If anybody is interested in help maintain this project, please let me know. Otherwise we'll need to consider activating read-only mode.

Elycin commented 3 years ago

@jamiehannaford It may be worth adding a message to display in the package.json that will tell users installing the library that the package is looking for a new maintainer. I wish that I had the time to further contribute to the library myself, but I do hope that this library is maintained for how much I utilize it.

jamiehannaford commented 3 years ago

@Elycin Is this possible to do with Composer? It's been a while since I've worked with PHP 😄

Elycin commented 3 years ago

@jamiehannaford I believe so. Found this on StackOverflow. https://stackoverflow.com/a/61254933

P.S.: can you also tag the release if possible?

haphan commented 3 years ago

Tagged v3.2.0