public function mergeInclude(array $data, array $includeData): array
    {
        foreach ($data as $class => $fixtures) {
            // $class is either a FQCN or 'parameters'
            $includeData[$class] = (
                    array_key_exists($class, $includeData)
                    && is_array($includeData[$class])
                    && is_array($fixtures)
                )
                ? array_merge($includeData[$class], $fixtures)
                : $fixtures
            ;
        }

        return $includeData;
    }
public function mergeInclude(array $data, array $includeData): array
    {
        foreach ($data as $class => $fixtures) {
            // $class is either a FQCN or 'parameters'
            $includeData[$class] = (
                    array_key_exists($class, $includeData)
                    && is_array($includeData[$class])
                    && is_array($fixtures)
                )
                ? array_merge($includeData[$class], $fixtures)
                : $fixtures
            ;
        }

        return $includeData;
    }
public function mergeInclude ( array $ data , array $ includeData ) : array { foreach ( $ data as $ class => $ fixtures ) { // $class is either a FQCN or 'parameters' $ includeData [ $ class ] = ( array_key_exists ( $ class , $ includeData ) && is_array ( $ includeData [ $ class ] ) && is_array ( $ fixtures ) ) ? array_merge ( $ includeData [ $ class ] , $ fixtures ) : $ fixtures ; } return $ includeData ; }
Merges a parsed file data with another. If some data overlaps, the existent data is kept, i.e. the included data
is discarded.

@param array $data        Parsed file data
@param array $includeData Parsed file data to merge
Merges a parsed file data with another . If some data overlaps the existent data is kept i . e . the included data is discarded .