jhoff / SublimeLinter-contrib-php-cs-fixer

SublimeLinter plugin for php, using php-cs-fixer.
MIT License
8 stars 8 forks source link

Defining 'cls.syntax' has been deprecated #8

Closed tszulc closed 5 years ago

tszulc commented 5 years ago

When loading SublimeLinter-rubocop.linter, this error can be seen in Sublime's console:

SublimeLinter: ERROR:
=====================

phpcsfixer: Defining 'cls.syntax' has no effect anymore. Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector instead.

SublimeLinter: ERROR:
=====================

phpcsfixer disabled. 'cls.defaults' is mandatory and MUST be a dict.

Same issue was experienced by other SublimeLinter plugins: maristgeek/SublimeLinter-contrib-bashate#17 SublimeLinter/SublimeLinter-html-tidy#56

And were resolved like this: maristgeek/SublimeLinter-contrib-bashate@0500219 SublimeLinter/SublimeLinter-html-tidy@3da0310

knagode commented 5 years ago

How to resolve this?

tszulc commented 5 years ago

I made a PR that should solve the issue: jhoff/SublimeLinter-contrib-php-cs-fixer#9

jhoff commented 5 years ago

This should be resolved