Skip to content

Commit

Permalink
Fix PHPCS problems
Browse files Browse the repository at this point in the history
  • Loading branch information
tranfuga25s committed Dec 5, 2014
1 parent ec2530b commit b0d0143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/TestSuite/Fixture/CakeTestFixture.php
Expand Up @@ -291,7 +291,7 @@ public function insert($db) {
$merge = array_values( $mergeData );
if (count($fields) !== count($merge)) {

$mergeFields = array_keys( $merge_data );
$mergeFields = array_keys( $mergeData );
$remove = array();

foreach ($fields as $k => $f) {
Expand All @@ -301,7 +301,7 @@ public function insert($db) {
}
}
$mergeFields = array_diff( $mergeFields, $remove );
$message = 'Fixture invalid: Count of fields does not match count of values in ' . get_class($this)."\n";
$message = 'Fixture invalid: Count of fields does not match count of values in ' . get_class($this) . "\n";
foreach ($mergeFields as $field) {
$message .= "The field '" . $field . "' is in the data fixture but not in the schema." . "\n";
}
Expand Down

0 comments on commit b0d0143

Please sign in to comment.