Check code before making PR on github

ok, as @murrant asked, i will post this in forum

so my question was
is there any way to avoid annoying styleci errors when making a PR ?

and answer was

lnms dev:check style , the only problem is the offline check is not 100% consistent.

so i tried this command on some old code i make on my old LNMS install and it is worked
PHP files with faulty code was detected and rewritten :slight_smile: so, yes, looks lite it will help in future

1 Like

I normally don’t run the test locally since I find it faster to just apply the patch from styleci.

Like so:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.