yaegassy / coc-php-cs-fixer

PHP CS Fixer (PHP Coding Standards Fixer) and Laravel Pint extension for coc.nvim
https://www.npmjs.com/package/coc-php-cs-fixer
MIT License
30 stars 2 forks source link

--standard option #13

Closed fcojavierdomenech closed 1 year ago

fcojavierdomenech commented 1 year ago

Is it possible to load any phpcs.xml containing a ruleset?

yaegassy commented 1 year ago

coc-php-cs-fixer is a coc extension that integrates with the php-cs-fixer and laravel/pint tools. coc-php-cs-fixer does not support PHP_CodeSniffer (phpcs).

Does the option "--standard" exist in php-cs-fixer or laravel/pint? I couldn't find it.

fcojavierdomenech commented 1 year ago

I couldn't find it either, I likely misunderstood the tool and thought it should have the same options that phpcs.

I'll create my own rules based on the phpcs.xml file. Thanks