Closed greggh closed 3 years ago
@greggh Did you try to enter the absolute path for phpcs in the preferences? The steps that finally lead me to having issues displayed in Nova’s sidebar where:
which phpcs | tr -d '\n' | pbcopy
to copy the absolute path for phpcsWhere should I actually see any output from phpcs? The description of the extension doesn't explain at all where I am supposed to see anything, or what I am supposed to see.
@adriannier Thank you for the response! I set it to the full path now. Just wondering where I am actually supposed to see the results. In phpStorm it's in the debug/terminal and in the editor.
@greggh Try this article to find out how to add the tab for Issues to your sidebar: https://library.panic.com/nova/sidebar/
My initial tests with phpcs weren’t that good though. Sometimes issues disappear when the code is fixed, sometimes the issues linger on no matter what you do to the code.
I am in a laravel project, and have a php file open. I have the debug pane up. Nova says the file is a PHP-HTML file, I don't see just PHP by itself as a syntax option. I guess thats ok?
But what I really want to know is this: when is phpcs run? Do I have to trigger it? I don't see any output anywhere, or any option to run it.