Documentation
¶
Index ¶
Constants ¶
View Source
const ComposerNoDevInProductionRuleCode = rules.TallyRulePrefix + "php/composer-no-dev-in-production"
ComposerNoDevInProductionRuleCode is the full rule code.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposerNoDevInProductionRule ¶
type ComposerNoDevInProductionRule struct{}
ComposerNoDevInProductionRule requires --no-dev for production-like composer installs.
func NewComposerNoDevInProductionRule ¶
func NewComposerNoDevInProductionRule() *ComposerNoDevInProductionRule
NewComposerNoDevInProductionRule creates the rule.
func (*ComposerNoDevInProductionRule) Check ¶
func (r *ComposerNoDevInProductionRule) Check(input rules.LintInput) []rules.Violation
Check runs the rule.
func (*ComposerNoDevInProductionRule) Metadata ¶
func (r *ComposerNoDevInProductionRule) Metadata() rules.RuleMetadata
Metadata returns the rule metadata.
Click to show internal directories.
Click to hide internal directories.