Introduce CI
Closed this issue · 12 comments
Could you point me to a full-fledged plugin made from this boilerplate?
I'd set up PHPStan for all possible problems.
I am looking to the various pr, thanks!
Right now I am using this phpcs https://github.com/codeatcode/codeatcs that is downloaded by https://github.com/WPBP/generator but is replaceable during the boilerplate generation.
I am using this phpcs codeatcode/codeatcs
Thank you.
Could you publish it on Packagist?
e.g. https://github.com/szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset/blob/master/composer.json
Do you think that is useful? right now that xml is downloaded by the generator and placed in the root of the plugin so anyone can customize it based on their needs.
If will do a package this require to create a new one etc...
Every PHPCS ruleset is distributed as a Composer package.
Composer even has a special package type for that: "type": "phpcodesniffer-standard",
I will do a package asap.
Package generated https://packagist.org/packages/codeatcode/codeatcs
Thank you.
Are you compatible with the highly popular https://github.com/Dealerdirect/phpcodesniffer-composer-installer#how-it-works ?
Seems yes because I got that
PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibility,../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../phpcsstandards/phpcsdevcs,../../slevomat/coding-standard,../../wp-coding-standards/wpcs
Where is codeatcs
??
You are right, checking the tool code require that the file is called ruleset
so I will do a new release.