Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

modulesync 5.1.0

modulesync 5.1.0 #11

Triggered via pull request May 12, 2023 11:59
@bastelfreakbastelfreak
synchronize #81
modulesync
Status Failure
Total duration 35s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
23s
Puppet / Static validations
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

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.