cancel
Showing results for 
Search instead for 
Did you mean: 

code sniffer passes locally, fails when I submit

code sniffer passes locally, fails when I submit

Hello,

 

Code sniffer is passing locally with no issues at all, with the magento2 standard, but when I submit the extension, it fails the code sniffer, and the report.json is just empty.

 

Any idea?

3 REPLIES 3

Re: code sniffer passes locally, fails when I submit

Hello @hichamvalidation 

 

Can you please share the description coming with the error file?

Re: code sniffer passes locally, fails when I submit

The problem is exactly this, I am failing all tests, but report.json files are like this:

 

{"tool":"phpcs","status":"FAIL","reports":[]}
{"tool":"varnish","status":"FAIL","reports":[]}
{"tool":"mftfmagento","status":"FAIL","reports":[]}

Re: code sniffer passes locally, fails when I submit

Hello,

 

Any help is appreciated. I tried everything, but still getting the same issue. All 3 fails but no reports.