sebastianbergmann / phploc

A tool for quickly measuring the size of a PHP project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'LC_ALL' is not recognized as an internal or external command, operable program or batch file.

edsonmedina opened this issue · comments

I got this output when running phploc on git-bash on windows:

$/vendor/phploc/phploc/phploc --log-csv log.csv --progress --git-repository . .
phploc 3.0.1 by Sebastian Bergmann.

'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.


  [SebastianBergmann\Git\RuntimeException]


phploc [--names NAMES] [--names-exclude NAMES-EXCLUDE] [--count-tests] [--git-repository GIT-REPOSITORY] [--exclude EXCLUDE] [--log-csv LOG-CSV] [--log-xml LOG-XML] [--progress] [--] [<values>]...

Is there anything I'm doing wrong?

@sebastianbergmann I think we have to remove the inline env setting.

What do you prefer ?

  • switch back to the previous version using getenv/putenv ?
  • add it only on non-windows env ?

Add it only on non-windows, I guess.

Thank you!