Skip to content

Conversation

@berniedurfee-renaissance

This option seems to require an = symbol between the option name and value. It was failing until I added the = symbol.

This option seems to require an `=` symbol between the option name and value. It was failing until I added the `=` symbol.
@ondrejmirtes
Copy link
Member

Can you show the full command for which it was failing?

@berniedurfee-renaissance
Copy link
Author

Running on MacOS 14.2.1

> uname -v
Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64`

> zsh --version
zsh 5.9 (x86_64-apple-darwin23.0)

This didn't work...

> phpstan --memory-limit 1g

  Command "1g" is not defined.

This works...

❯ phpstan --memory-limit=1g
Note: Using configuration file /xxx/phpstan.neon.dist.

@ondrejmirtes
Copy link
Member

Yeah but if you put "analyse" at the end then there's no need for =. I just wanted to clarify that so that you don't think the docs were always wrong 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants