feat: Add support for Cloudflare Turnstile #14758
Annotations
5 warnings
modules/recaptcha/app/controllers/recaptcha/request_controller.rb#L97
[rubocop] reported by reviewdog 🐶
Add empty line after guard clause.
Raw Output:
modules/recaptcha/app/controllers/recaptcha/request_controller.rb:97:7: C: Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
|
modules/recaptcha/app/controllers/recaptcha/request_controller.rb#L104
[rubocop] reported by reviewdog 🐶
Avoid comma after the last item of a hash.
Raw Output:
modules/recaptcha/app/controllers/recaptcha/request_controller.rb:104:53: C: Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.
|
modules/recaptcha/app/controllers/recaptcha/request_controller.rb#L107
[rubocop] reported by reviewdog 🐶
Useless assignment to variable - `data_encoded`.
Raw Output:
modules/recaptcha/app/controllers/recaptcha/request_controller.rb:107:7: W: Lint/UselessAssignment: Useless assignment to variable - `data_encoded`.
|
modules/recaptcha/lib/open_project/recaptcha.rb#L7
[rubocop] reported by reviewdog 🐶
Avoid using or-assignment with constants.
Raw Output:
modules/recaptcha/lib/open_project/recaptcha.rb:7:20: W: Lint/OrAssignmentToConstant: Avoid using or-assignment with constants.
|
modules/recaptcha/lib/open_project/recaptcha.rb#L7
[rubocop] reported by reviewdog 🐶
Freeze mutable objects assigned to constants.
Raw Output:
modules/recaptcha/lib/open_project/recaptcha.rb:7:24: C: Style/MutableConstant: Freeze mutable objects assigned to constants.
|
This job succeeded
Loading