This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
modulesync 5.1.0 #11
ci.yml
on: pull_request
Puppet
/
Static validations
23s
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
10 errors
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L21
Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc by using `<<~` instead of `<<-`. (https://rubystyle.guide#squiggly-heredocs)
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L93
Layout/ClosingHeredocIndentation: `EOS` is not aligned with `newfunction(:create_resources_hash_from, type: :rvalue, doc: <<-EOS`.
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L94
Layout/ClosingParenthesisIndentation: Indent `)` to column 2 (not 13)
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L95
Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning. (https://rubystyle.guide#empty-lines-around-bodies)
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L103
Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L109
Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L114
Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L120
Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
|
Puppet / Static validations:
lib/puppet/parser/functions/create_resources_hash_from.rb#L129
Style/SafeNavigation: Use safe navigation (`&.`) instead of checking if an object exists before calling the method.
|