-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Hello!
First of all, thank you for this great piece of code, works beautifully.
What do you think about opening a PR to squizlabs/PHP_CodeSniffer for including the codeclimate spec?
Basically gitlab is using a subset of it, but still, both would benefit the community and didn't want to steal your work 🙂
Cheers!
R
PS: found another really cool solution here:
php -dmemory_limit=-1 vendor/bin/phpcs --report=json . | jq '[.files | keys[] as $file | .[] | .messages | .[] as $msg | {type: "issue", check_name: $msg.source, categories: ["PHP", "phpcs"], fingerprint: ("\($file):\($msg.line):\($msg.source)"), description: $msg.message, location: { path: $file, lines: {begin: $msg.line, end: $msg.line }}}]'
Metadata
Metadata
Assignees
Labels
No labels