Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct{}
func (Analyzer) Analyze ¶
func (a Analyzer) Analyze(ctx analyzerapi.AnalyzerContext) []*analyzerapi.ProjectModule
type ComposerJSON ¶
type ComposerJSON struct { Name string `json:"name"` Description string `json:"description"` Homepage string `json:"homepage"` Keywords []string `json:"keywords"` Type string `json:"type"` License string `json:"license"` Authors []struct { Name string `json:"name"` Role string `json:"role"` Email string `json:"email,omitempty"` } `json:"authors"` Funding []struct { Type string `json:"type"` URL string `json:"url"` } `json:"funding"` Require map[string]string `json:"require"` RequireDev map[string]string `json:"require-dev"` Autoload interface{} `json:"autoload"` Scripts map[string][]string `json:"scripts"` }
func ParseComposerJSON ¶
func ParseComposerJSON(file string) (ComposerJSON, error)
ParseComposerJSON parses the composer.json
func ParseComposerJSONFromByteArray ¶
func ParseComposerJSONFromByteArray(content []byte) (ComposerJSON, error)
ParseComposerJSONFromByteArray parses the composer.json
Click to show internal directories.
Click to hide internal directories.