Skip to content

Commit

Permalink
Merge pull request #452 from drupol/451-update-minimal-version-of-seb…
Browse files Browse the repository at this point in the history
…astian-comparator

Issue #451: Raise minimum version of sebastian/comparator.
  • Loading branch information
ciaranmcnulty committed Dec 17, 2019
2 parents 6315aad + e865873 commit 65b55b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -20,13 +20,13 @@
"require": {
"php": "^5.3|^7.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
"sebastian/comparator": "^1.1|^2.0|^3.0",
"sebastian/comparator": "^1.2.3|^2.0|^3.0",
"doctrine/instantiator": "^1.0.2",
"sebastian/recursion-context": "^1.0|^2.0|^3.0"
},

"require-dev": {
"phpspec/phpspec": "^2.5|^3.2",
"phpspec/phpspec": "^3.2",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
},

Expand Down
2 changes: 1 addition & 1 deletion src/Prophecy/Comparator/ClosureComparator.php
Expand Up @@ -27,7 +27,7 @@ public function accepts($expected, $actual)
&& is_object($actual) && $actual instanceof \Closure;
}

public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase = false)
public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase = false, array &$processed = array())
{
throw new ComparisonFailure(
$expected,
Expand Down

0 comments on commit 65b55b2

Please sign in to comment.