Giter Site home page Giter Site logo

Patchwork 2.0 about brainmonkey HOT 9 CLOSED

brain-wp avatar brain-wp commented on May 22, 2024
Patchwork 2.0

from brainmonkey.

Comments (9)

gmazzap avatar gmazzap commented on May 22, 2024

@krodyrobi Thanks for the contribution.

Being a major version change, I want to better test any issue before merging on master and release.

If I merge it on dev branch, could you use it from there and please report any issue?

from brainmonkey.

krodyrobi avatar krodyrobi commented on May 22, 2024

Sure. But could you place it on composer as well, on the dev branch.

from brainmonkey.

gmazzap avatar gmazzap commented on May 22, 2024

@krodyrobi Pushed to dev branch.

Of course you can still use Composer, just pull Brain Monkey with "brain/monkey": "dev-dev"

from brainmonkey.

krodyrobi avatar krodyrobi commented on May 22, 2024

Sorry for the late reply I got off focus with the project.

Unfortunately I'm not able to get Functions::expect() to work.
ReflectionException: Method Mockery\CompositeExpectation::once() does not exist

And for me this is the most important part, ensuring a call was made.
Can't say for sure where the issue is but I've made a small reproducible example.
failing.tar.gz

It doesn't seem to be related to the new php redefinitions, as both a custom and time functions have the same behaviour.

from brainmonkey.

krodyrobi avatar krodyrobi commented on May 22, 2024

To follow up on that,

The expect call triggers Monkey/MockeryBridge.php __call() with the required data,
on Mockery's side Mockery/CompositeExpectation.php __call() never gets called.

from brainmonkey.

gmazzap avatar gmazzap commented on May 22, 2024

@krodyrobi don't really have time now to sort this out, will look at this as sson as I can...

from brainmonkey.

krodyrobi avatar krodyrobi commented on May 22, 2024

No problem, I'll still look around at least to provide possible insight.

from brainmonkey.

gmazzap avatar gmazzap commented on May 22, 2024

Version 2 seems to work fine with Patchwork 2, and with last changes in dev-version/1 seems to work with Patchwork 2 as well.

Will close this after some more tests next days, then release version 1.5 with Patchwork 2 support.

from brainmonkey.

gmazzap avatar gmazzap commented on May 22, 2024

Patchwork 2 is now in use for v1 and v2 series, I can close this.

from brainmonkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.