mikebronner / panic-nova-phpcs.novaextension

https://extensions.panic.com/extensions/genealabs/genealabs.phpcs/
MIT License
2 stars 1 forks source link

Error: Arguments must all be strings #3

Open didosilva opened 2 years ago

didosilva commented 2 years ago

Hello,

Having problems when validating a file, showing this message:

PHP CodeSniffer[14:09:16.170000] Error: Arguments must all be strings

PHP CodeSniffer[14:09:19.492000] Error: Arguments must all be strings

PHP CodeSniffer[14:09:20.469000] Error: Arguments must all be strings

I have php installed locally, how can solve this issue?

mikebronner commented 2 years ago

That is indeed odd. Can you provide the file under validation, so I can replicate this?

mikebronner commented 2 years ago

@didosilva I just updated the extension with the new version of PHPCS. Please let me know if you still have the problem.

didosilva commented 2 years ago

@mikebronner

After updating, still not working:

PHP CodeSniffer[11:46:40.933000] Error: Arguments must all be strings

PHP CodeSniffer[11:46:41.744000] PHP_CodeSniffer version 3.7.0 (stable) by Squiz (http://www.squiz.net)

PHP CodeSniffer[11:46:41.747000] The installed coding standards are MySource, PEAR, PSR1, PSR2, PSR12, Squiz and Zend

PHP CodeSniffer[11:46:48.207000] Executable Path /Users/didosilva/Library/Application Support/Nova/Extensions/genealabs.phpcs/Bin/phpcs

PHP CodeSniffer[11:46:48.208000] Executable Path /Users/didosilva/Library/Application Support/Nova/Extensions/genealabs.phpcs/Bin/phpcs

PHP CodeSniffer[11:46:48.208000] Working Directory /Users/didosilva/Library/Application Support/Nova/Extensions/genealabs.phpcs/Bin

PHP CodeSniffer[11:46:48.208000] Error: Arguments must all be strings