Skip to content

Commit

Permalink
Merge 102d5b6 into 06443ff
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Mar 18, 2019
2 parents 06443ff + 102d5b6 commit f9463a3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"require-dev": {
"phpunit/phpunit": "~6.2",
"squizlabs/php_codesniffer": "~3.2",
"squizlabs/php_codesniffer": "~3.4.0",
"ockcyp/covers-validator": "~1.0"
},
"autoload": {
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/Differ/CallbackListDifferTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private function doTestDiff( Differ $differ, $old, $new, $expected, $message ) {
}

public function testCallbackComparisonReturningFalse() {
$differ = new CallbackListDiffer( function( $foo, $bar ) {
$differ = new CallbackListDiffer( function() {
return false;
} );

Expand All @@ -194,7 +194,7 @@ public function testCallbackComparisonReturningFalse() {
}

public function testCallbackComparisonReturningTrue() {
$differ = new CallbackListDiffer( function( $foo, $bar ) {
$differ = new CallbackListDiffer( function() {
return true;
} );

Expand All @@ -209,7 +209,7 @@ public function testCallbackComparisonReturningTrue() {
}

public function testCallbackComparisonReturningNyanCat() {
$differ = new CallbackListDiffer( function( $foo, $bar ) {
$differ = new CallbackListDiffer( function() {
return '~=[,,_,,]:3';
} );

Expand Down
6 changes: 3 additions & 3 deletions tests/unit/Differ/OrderedListDifferTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private function doTestDiff( Differ $differ, $old, $new, $expected, $message ) {
}

public function testCallbackComparisonReturningFalse() {
$differ = new OrderedListDiffer( new CallbackComparer( function( $foo, $bar ) {
$differ = new OrderedListDiffer( new CallbackComparer( function() {
return false;
} ) );

Expand All @@ -263,7 +263,7 @@ public function testCallbackComparisonReturningFalse() {
}

public function testCallbackComparisonReturningTrue() {
$differ = new OrderedListDiffer( new CallbackComparer( function( $foo, $bar ) {
$differ = new OrderedListDiffer( new CallbackComparer( function() {
return true;
} ) );

Expand All @@ -278,7 +278,7 @@ public function testCallbackComparisonReturningTrue() {
}

public function testCallbackComparisonReturningNyanCat() {
$differ = new OrderedListDiffer( new CallbackComparer( function( $foo, $bar ) {
$differ = new OrderedListDiffer( new CallbackComparer( function() {
return '~=[,,_,,]:3';
} ) );

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/Patcher/MapPatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function testGetApplicableDiff( Diff $diff, array $currentObject, Diff $e
public function testSetValueComparerToAlwaysFalse() {
$patcher = new MapPatcher();

$patcher->setValueComparer( new CallbackComparer( function( $firstValue, $secondValue ) {
$patcher->setValueComparer( new CallbackComparer( function() {
return false;
} ) );

Expand All @@ -400,7 +400,7 @@ public function testSetValueComparerToAlwaysFalse() {
public function testSetValueComparerToAlwaysTrue() {
$patcher = new MapPatcher();

$patcher->setValueComparer( new CallbackComparer( function( $firstValue, $secondValue ) {
$patcher->setValueComparer( new CallbackComparer( function() {
return true;
} ) );

Expand Down

0 comments on commit f9463a3

Please sign in to comment.