Skip to content

Conversation

@roborourke
Copy link

The patches to get PHPUnit working are causing problems for other projects that use both cweagans/composer-patches and predis/predis along with PHPUnit.

This change moves the patch application to a simple PHP script run on the post-update-cmd composer event and removes the dependency on the patch installer package.

Addresses #660

The patches to get PHPUnit working are causing problems for other projects that use both `cweagans/composer-patch-installers` and `predis/predis` along with PHPUnit.

This change moves the patch application to a simple PHP script run on the `post-update-cmd` composer event and removes the dependency on the patch installers package.
@nrk
Copy link
Contributor

nrk commented Nov 27, 2020

Thanks @roborourke, I'll give it a try this weekend!

@roborourke
Copy link
Author

Switched to old array syntax to support PHP 5.3 and fix the failing test there.

@roborourke
Copy link
Author

🤔 not sure why there's a failing test for PHP 5.3. Seems unrelated to this PR. Is that a known issue @nrk?

@nrk
Copy link
Contributor

nrk commented Dec 3, 2020

@roborourke yes it should be unrelated to your PR, I guess it's due to the change in ca468b7 but right now I'm not sure why it fails only when running on PHP 5.3. I'll check later, I'm rebuilding my VM with all of the binaries from PHP 5.3 up to 8.0 for a final check locally, targeting a new patch release this weekend.

@roborourke
Copy link
Author

Any luck with this on your end?

@roborourke
Copy link
Author

Anything I can do to help this along?

@tillkruss tillkruss merged commit 5c9457c into predis:v1.1 Feb 9, 2021
@tillkruss
Copy link
Member

Related #679.

@roborourke roborourke deleted the apply-patches-on-update branch February 9, 2021 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants