src/Utility/Validate/Check.php
public static function getList(string $module) : array
    {
        $default = Configure::read('CsvMigrations.ValidateShell.module._default');
        $result = Configure::read('CsvMigrations.ValidateShell.module.' . $module);
        $result = empty($result) ? $default : $result;
        $result = empty($result['checks']) ? [] : $result['checks'];

        return $result;
    }
public static function getList(string $module) : array
    {
        $default = Configure::read('CsvMigrations.ValidateShell.module._default');
        $result = Configure::read('CsvMigrations.ValidateShell.module.' . $module);
        $result = empty($result) ? $default : $result;
        $result = empty($result['checks']) ? [] : $result['checks'];

        return $result;
    }
public static function getList ( string $ module ) : array { $ default = Configure :: read ( 'CsvMigrations.ValidateShell.module._default' ) ; $ result = Configure :: read ( 'CsvMigrations.ValidateShell.module.' . $ module ) ; $ result = empty ( $ result ) ? $ default : $ result ; $ result = empty ( $ result [ 'checks' ] ) ? [ ] : $ result [ 'checks' ] ; return $ result ; }
Get ValidateShell checks configuration for a given module

If no checks configured for the given module, return
the default checks instead (aka checks for module
'_default').

@param string $module Module name
@return mixed[]
Get ValidateShell checks configuration for a given module