overtrue / phplint

:bug: A tool that can speed up linting of php files by running several lint processes at once.
MIT License
972 stars 118 forks source link

Short option `nf` did not work #167

Closed llaville closed 1 year ago

llaville commented 1 year ago

Affect all current stable versions v3.2.0, v4.3.0, v5.3.0, v6.0.0

When Invoking lint command with --nf short option, we got unexpected results :

  [Symfony\Component\Console\Exception\RuntimeException]
  The "-f" option does not exist.

Reason : Symfony console check for n option (that exists => -n, --no-interaction) then try with f option that is not declared.

llaville commented 1 year ago

@overtrue Do you want to keep short option ? In this condition what is your suggestion ? Or could we consider to remove short option and keep only the long option (for a very quick fix)

overtrue commented 1 year ago

Please remove them, Thanks.

llaville commented 1 year ago

Available in latest releases 3.3.1, 4.4.0, 5.4.1 and 6.0.3