cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2: PhpCS install and usage problem

Magento 2: PhpCS install and usage problem

Hi!

I have a problem with PhpCS usage in the PhpStorm 2016.2.1. When I'm trying to use CS with remote PHP7 interpreter and setup path for CS ruleset file the error message is:

phpcs: PHP Fatal error:  Interface 'PHP_CodeSniffer_Sniff' not found in /var/www/.../dev/tests/static/framework/Magento/Sniffs/Less/AvoidIdSniff.php on line 19.

Ubuntu server 16.04.2
PHP 7.0.8

Thank you!