src/ProjectLoader.php
private function massageConfig(array $config, string $configPath) : array
    {
        if (!isset($config['installed_paths'])) {
            return $config;
        }

        $config['installed_paths'] = implode(',', array_map(function ($path) use ($configPath) {
            return dirname($configPath) . '/' . $path;
        }, explode(',', $config['installed_paths'])));

        return $config;
    }
private function massageConfig(array $config, string $configPath) : array
    {
        if (!isset($config['installed_paths'])) {
            return $config;
        }

        $config['installed_paths'] = implode(',', array_map(function ($path) use ($configPath) {
            return dirname($configPath) . '/' . $path;
        }, explode(',', $config['installed_paths'])));

        return $config;
    }
private function massageConfig ( array $ config , string $ configPath ) : array { if ( ! isset ( $ config [ 'installed_paths' ] ) ) { return $ config ; } $ config [ 'installed_paths' ] = implode ( ',' , array_map ( function ( $ path ) use ( $ configPath ) { return dirname ( $ configPath ) . '/' . $ path ; } , explode ( ',' , $ config [ 'installed_paths' ] ) ) ) ; return $ config ; }
Resolves relative installed paths against the configuration file path

@param array $config Configuration parameters
@param string $configPath Configuration file paths
@return array Configuration parameters
Resolves relative installed paths against the configuration file path