Closed metalandcoffee closed 3 years ago
Well, yes, that wouldn't surprise me at all. Depending on how complex (and long) the file is, the tokenization can take up quite some memory.
You could try raising the memory_limit
in the php.ini
file used by the process.
Thanks @jrfnl - I'll do that. Just wanted to double check :)
No problem. Hope it fixes the issue for you.
phpcs -d memory_limit=512M -p wordpress-plugin --standard=PHPCompatibilityWP --runtime-set testVersion 7.3- --extensions=php
Hi there 👋🏾
When I run
phpcs -p wordpress-plugin --standard=PHPCompatibilityWP --runtime-set testVersion 7.3- --extensions=php
, I get the following error:The file that it is stopping at (when I add the
-v
flag) is 25,000 lines long. Could this be why?