mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added PHPCS fixes
This commit is contained in:
parent
9ecdaf7965
commit
674af51d6b
1 changed files with 2 additions and 2 deletions
|
@ -293,9 +293,9 @@ class CakeTestFixture {
|
||||||
|
|
||||||
$mergeFields = array_diff_key(array_keys($mergeData), $fields);
|
$mergeFields = array_diff_key(array_keys($mergeData), $fields);
|
||||||
|
|
||||||
$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) {
|
foreach ($mergeFields as $field) {
|
||||||
$message .= "The field '".$field."' is in the data fixture but not in the schema."."\n";
|
$message .= "The field '" . $field . "' is in the data fixture but not in the schema." . "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new CakeException( $message );
|
throw new CakeException( $message );
|
||||||
|
|
Loading…
Reference in a new issue