summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-24 07:12:38 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-24 07:12:38 +0100
commit43f65498795c738257a151fcc516ad38519fd052 (patch)
tree948c6b6c3a516c4ceeb3f60706a156cbf324cc4d
parent222699f9ad41ed3a732fa88fec2cccaf9f4cb4fb (diff)
missing files
-rw-r--r--php-phpspec-prophecy-upstream.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/php-phpspec-prophecy-upstream.patch b/php-phpspec-prophecy-upstream.patch
new file mode 100644
index 0000000..e293c3f
--- /dev/null
+++ b/php-phpspec-prophecy-upstream.patch
@@ -0,0 +1,27 @@
+From ddc426cb8851c551a79b6872929ced532c3af207 Mon Sep 17 00:00:00 2001
+From: Anyqax <mail@martinmenke.net>
+Date: Tue, 14 Jun 2016 12:55:22 +0200
+Subject: [PATCH] Fix incorrect method argument order
+
+---
+ src/Prophecy/Argument/Token/ObjectStateToken.php | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Prophecy/Argument/Token/ObjectStateToken.php b/src/Prophecy/Argument/Token/ObjectStateToken.php
+index 8d93bfd..d771077 100644
+--- a/src/Prophecy/Argument/Token/ObjectStateToken.php
++++ b/src/Prophecy/Argument/Token/ObjectStateToken.php
+@@ -61,11 +61,11 @@ public function scoreArgument($argument)
+ $actual = call_user_func(array($argument, $this->name));
+
+ $comparator = $this->comparatorFactory->getComparatorFor(
+- $actual, $this->value
++ $this->value, $actual
+ );
+
+ try {
+- $comparator->assertEquals($actual, $this->value);
++ $comparator->assertEquals($this->value, $actual);
+ return 8;
+ } catch (ComparisonFailure $failure) {
+ return false;