What is the difference between sublimelinter-php and sublimelinter-phpcs?

From what I know, CodeSniffer follows a specific set of coding standards and checks your code if it follows the specified standards. But sublimelinter-php does this too. Are they different or the same? Because I installed both plugins on my Sublime Text 3.

+4
source share
1 answer

SublimeLinter-phpcs allows you to run PHP_CodeSniffer on your code, ensuring that it conforms to any coding standard that you use.

SublimeLinter-php php -l , , . , .

PHP_CodeSniffer , , , . SublimeLinter-php, , , SublimeLinter-phpcs, , .

+8

Source: https://habr.com/ru/post/1544288/


All Articles