protected function buildMessage(array $errors)
    {
        $errorList = array();
        foreach ($errors as $error) {
            $errorList[] = sprintf(
                '  - [%s] %s',
                $error['property'],
                $error['message']
            );
        }

        return sprintf(
            "The supplied Composer configuration is invalid:\n%s",
            implode("\n", $errorList)
        );
    }
protected function buildMessage(array $errors)
    {
        $errorList = array();
        foreach ($errors as $error) {
            $errorList[] = sprintf(
                '  - [%s] %s',
                $error['property'],
                $error['message']
            );
        }

        return sprintf(
            "The supplied Composer configuration is invalid:\n%s",
            implode("\n", $errorList)
        );
    }
protected function buildMessage ( array $ errors ) { $ errorList = array ( ) ; foreach ( $ errors as $ error ) { $ errorList [ ] = sprintf ( '  - [%s] %s' , $ error [ 'property' ] , $ error [ 'message' ] ) ; } return sprintf ( "The supplied Composer configuration is invalid:\n%s" , implode ( "\n" , $ errorList ) ) ; }
Build the exception message.

@param array<integer,array<integer,string>> $errors The errors in the configuration.

@return string The exception message.
Build the exception message .