chore(php): remove analyse alias for stan command

No backwards compatibility - use `core php stan` directly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-01-30 20:08:34 +00:00
parent 9aaaa0ad26
commit edfb84cf1d

View file

@ -144,9 +144,8 @@ var (
func addPHPStanCommand(parent *cobra.Command) { func addPHPStanCommand(parent *cobra.Command) {
stanCmd := &cobra.Command{ stanCmd := &cobra.Command{
Use: "stan [paths...]", Use: "stan [paths...]",
Aliases: []string{"analyse"}, Short: i18n.T("cmd.php.analyse.short"),
Short: i18n.T("cmd.php.analyse.short"),
Long: i18n.T("cmd.php.analyse.long"), Long: i18n.T("cmd.php.analyse.long"),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
cwd, err := os.Getwd() cwd, err := os.Getwd()