Skip to content

Remove Match interface #4374

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

Merged
merged 1 commit into from
Jul 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions src/Framework/MockObject/Builder/Match.php

This file was deleted.

12 changes: 11 additions & 1 deletion src/Framework/MockObject/Builder/ParametersMatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@
/**
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
interface ParametersMatch extends Match
interface ParametersMatch extends Stub
{
/**
* Defines the expectation which must occur before the current is valid.
*
* @param string $id the identification of the expectation that should
* occur before this one
*
* @return Stub
*/
public function after($id);

/**
* Sets the parameters to match for, each parameter to this function will
* be part of match. To perform specific matches or constraints create a
Expand Down