Replies: 2 comments 2 replies
-
For example, I'm building a simple Symfony project but the root PHP_CodeSniffer configuration file isn't read. Whatever standard I specify, the warnings stay the same, even if I restart nvim. If I run my globally installed |
Beta Was this translation helpful? Give feedback.
-
After further testing and investigating, I noticed that the null-ls phpcs/phpcbf was looking upper in the folder structure... I had something like this: main And null-ls wasnt looking within the php project folder but at the main folder... |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to understand how to use phpcs and phpcbf (introduced by @gbprod : #178) with null-ls and I'm completely lost...
It seems the per-project PHP_CodeSniffer config file isn't read... I've tried with a
phpcs.xml
or aphpcs.xml.dist
but both aren't working : if I change the standard, if I ignore some folders... these modifications aren't taken into account, even If I quit and reopen NeoVim...Thanks in advance for your help !
Beta Was this translation helpful? Give feedback.
All reactions