Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Leftover from [344].

  • Loading branch information...
commit 1cff17100b4b0bc08313659e9f8f707ecdea655d 1 parent 3a7d21b
@sebastianbergmann authored
View
22 PHPUnit/Framework/Constraint.php
@@ -105,20 +105,18 @@ public function fail($other, $description, $not = FALSE)
if ($not) {
$failureDescription = str_replace(
array(
- ' anything ',
- ' contains ',
- ' exists ',
- ' has ',
- ' is ',
- ' matches '
+ 'contains ',
+ 'exists ',
+ 'has ',
+ 'is ',
+ 'matches '
),
array(
- ' nothing ',
- ' not contains ',
- ' not exists ',
- ' has not ',
- ' is not ',
- ' not matches '
+ 'not contains ',
+ 'not exists ',
+ 'has not ',
+ 'is not ',
+ 'not matches '
),
$failureDescription
);
View
2  PHPUnit/Framework/Constraint/Not.php
@@ -126,7 +126,6 @@ public function toString()
default: {
return str_replace(
array(
- 'anything ',
'contains ',
'exists ',
'has ',
@@ -134,7 +133,6 @@ public function toString()
'matches '
),
array(
- 'nothing ',
'not contains ',
'not exists ',
'has not ',
Please sign in to comment.
Something went wrong with that request. Please try again.