pietervogelaar/chef-cookbook-jenkins-server

View on GitHub
recipes/composer.rb

Summary

Maintainability
A
0 mins
Test Coverage

Use meaningful heredoc delimiters.
Open

    EOS
Severity: Minor
Found in recipes/composer.rb by rubocop

This cop checks that your heredocs are using meaningful delimiters. By default it disallows END and EO*, and can be configured through blacklisting additional delimiters.

Example:

# good
<<-SQL
  SELECT * FROM foo
SQL

# bad
<<-END
  SELECT * FROM foo
END

# bad
<<-EOS
  SELECT * FROM foo
EOS

Use meaningful heredoc delimiters.
Open

    EOS
Severity: Minor
Found in recipes/composer.rb by rubocop

This cop checks that your heredocs are using meaningful delimiters. By default it disallows END and EO*, and can be configured through blacklisting additional delimiters.

Example:

# good
<<-SQL
  SELECT * FROM foo
SQL

# bad
<<-END
  SELECT * FROM foo
END

# bad
<<-EOS
  SELECT * FROM foo
EOS

Line is too long. [85/80]
Open

    not_if "grep -q composer/vendor/bin #{node['jenkins']['master']['home']}/.bashrc"
Severity: Minor
Found in recipes/composer.rb by rubocop

There are no issues that match your filters.

Category
Status