Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add = to --memory-limit example #10448

Open
wants to merge 1 commit into
base: 1.11.x
Choose a base branch
from

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.

None yet

2 participants