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

Migrate to phpspec/prophecy-phpunit #178

Closed
wants to merge 3 commits into from

Commits on Sep 5, 2022

  1. Migrate to phpspec/prophecy-phpunit

    sebastianbergmann/phpunit#5033 changed phpunit
    to no longer depend on phpspec/prophecy. This results in the need to add
    a development dependency for phpspec/prophecy. Doing so results in a
    warning, since PHPUnit\Framework\TestCase::prophesize() is deprecated
    and will be removed in PHPUnit 10. Let's use the trait provided by
    phpspec/prophecy-phpunit instead.
    
    * Fixes myclabs#177
    athos-ribeiro committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    e03ad06 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Revert "Migrate to phpspec/prophecy-phpunit"

    This reverts commit e03ad06.
    Supporting phpspec/prophecy-phpunit at this point, would require
    dropping php <= 7.2 support. We can re-visit this matter once we start
    supporting phpunit 10.
    athos-ribeiro committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    a396191 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2022

  1. Require phpspec/prophecy as a dev dependency

    While e03ad06 (reverted) is not applied, we require phpspec/prophecy as
    a development dependency. This is needed because phpunit dropped
    ptophecy as a dependency in recent releases. See e03ad06 for further
    reference.
    athos-ribeiro committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    b95de66 View commit details
    Browse the repository at this point in the history