mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix PHPCS problems
This commit is contained in:
parent
ec2530ba58
commit
b0d0143b82
1 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ class CakeTestFixture {
|
|||
$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) {
|
||||
|
@ -301,7 +301,7 @@ class CakeTestFixture {
|
|||
}
|
||||
}
|
||||
$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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue