Skip to content

Instantly share code, notes, and snippets.

@biinari
Last active August 16, 2020 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biinari/3f75ca1488a3cd1ef59a61aa87db5d38 to your computer and use it in GitHub Desktop.
Save biinari/3f75ca1488a3cd1ef59a61aa87db5d38 to your computer and use it in GitHub Desktop.
RuboCop spec failure output. Issue https://github.com/rubocop-hq/rubocop/issues/8548
$ bundle exec rspec spec/rubocop/config_loader_spec.rb:1224 spec/rubocop/target_finder_spec.rb:168 --seed 10065 --format documentation
Run options: include {:focus=>true, :locations=>{"./spec/rubocop/config_loader_spec.rb"=>[1224], "./spec/rubocop/target_finder_spec.rb"=>[168]}}
Randomized with seed 10065
RuboCop::ConfigLoader
.configuration_from_file
when a new cop is introduced
when EnabledByDefault is true
is enabled
RuboCop::TargetFinder
#find(..., :only_recognized_file_types)
does not find hidden files (FAILED - 1)
#find(..., :all_file_types)
does not find hidden files (FAILED - 2)
Failures:
1) RuboCop::TargetFinder#find(..., :only_recognized_file_types) does not find hidden files
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:168:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
2) RuboCop::TargetFinder#find(..., :all_file_types) does not find hidden files
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:168:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
Finished in 0.016 seconds (files took 0.98013 seconds to load)
3 examples, 2 failures
Failed examples:
rspec ./spec/rubocop/target_finder_spec.rb[1:1:10] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) does not find hidden files
rspec ./spec/rubocop/target_finder_spec.rb[1:2:7] # RuboCop::TargetFinder#find(..., :all_file_types) does not find hidden files
Randomized with seed 10065
$ bundle exec rspec spec/rubocop/config_loader_spec.rb spec/rubocop/target_finder_spec.rb --seed 10065
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 10065
..........................................................................FFFFFFFFFFF.F..FFFFFF..F..F....FF.F..FFFFFFFFF..
Failures:
1) RuboCop::TargetFinder#find(..., :only_recognized_file_types) does not find hidden files
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:168:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
2) RuboCop::TargetFinder#find(..., :only_recognized_file_types) returns absolute paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:161:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
3) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are explicitly passed as arguments includes them
Failure/Error: /#!.*(#{ruby_interpreters(file).join('|')})/.match?(first_line)
NoMethodError:
undefined method `join' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:145:in `ruby_executable?'
# ./lib/rubocop/target_finder.rb:162:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:224:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
4) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:190:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:189:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:189:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
5) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when same paths are passed does not return duplicated file paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:118:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
6) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are not explicitly passed as arguments includes them
Failure/Error: /#!.*(#{ruby_interpreters(file).join('|')})/.match?(first_line)
NoMethodError:
undefined method `join' for nil:NilClass
# ./lib/rubocop/target_finder.rb:145:in `ruby_executable?'
# ./lib/rubocop/target_finder.rb:162:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:328:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
7) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a pattern is passed finds files which match the pattern
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:110:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
8) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with ruby interpreters are passed picks all the ruby files
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:102:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
9) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a file with a ruby filename is passed picks all the ruby files
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:88:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
10) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments normally does not exclude them
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:146:in `block (5 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
11) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:155:in `block (5 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
12) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with a ruby extension are passed picks all the ruby files
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:273:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
13) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:203:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
14) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when no argument is passed finds files under the current directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:176:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:175:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:175:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
15) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a non-ruby file is passed doesn't pick the file
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:265:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
16) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:256:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
17) RuboCop::TargetFinder#find(..., :all_file_types) does not find hidden files
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:168:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
18) RuboCop::TargetFinder#find(..., :all_file_types) returns absolute paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:161:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
19) RuboCop::TargetFinder#find(..., :all_file_types) when a hidden directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:203:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
20) RuboCop::TargetFinder#find(..., :all_file_types) when same paths are passed does not return duplicated file paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:338:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:118:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
21) RuboCop::TargetFinder#find(..., :all_file_types) when a directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:190:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:189:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:189:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
22) RuboCop::TargetFinder#find(..., :all_file_types) when no argument is passed finds files under the current directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:176:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:175:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:175:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
23) RuboCop::TargetFinder#find(..., :all_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:338:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:155:in `block (5 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
24) RuboCop::TargetFinder#target_files_in_dir does not pick files with no extension and no ruby shebang
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:460:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
25) RuboCop::TargetFinder#target_files_in_dir picks files specified to be included in config
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:69:in `to_inspect?'
# ./lib/rubocop/target_finder.rb:61:in `block in target_files_in_dir'
# ./lib/rubocop/target_finder.rb:60:in `select'
# ./lib/rubocop/target_finder.rb:60:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:482:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
26) RuboCop::TargetFinder#target_files_in_dir picks ruby executable files with no extension
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:456:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
27) RuboCop::TargetFinder#target_files_in_dir does not pick files specified to be excluded in config
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:69:in `to_inspect?'
# ./lib/rubocop/target_finder.rb:61:in `block in target_files_in_dir'
# ./lib/rubocop/target_finder.rb:60:in `select'
# ./lib/rubocop/target_finder.rb:60:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:497:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
28) RuboCop::TargetFinder#target_files_in_dir does not pick directories
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:464:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
29) RuboCop::TargetFinder#target_files_in_dir picks files with extension .rb
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:451:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
30) RuboCop::TargetFinder#target_files_in_dir w/ --fail-fast option works
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:544:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
31) RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is disabled outputs nothing
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:528:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:505:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
32) RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is enabled outputs error message
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:519:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:505:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
Finished in 3.12 seconds (files took 0.87622 seconds to load)
122 examples, 32 failures
Failed examples:
rspec ./spec/rubocop/target_finder_spec.rb[1:1:10] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) does not find hidden files
rspec ./spec/rubocop/target_finder_spec.rb[1:1:9] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) returns absolute paths
rspec ./spec/rubocop/target_finder_spec.rb[1:1:14:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are explicitly passed as arguments includes them
rspec ./spec/rubocop/target_finder_spec.rb[1:1:12:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:1:7:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when same paths are passed does not return duplicated file paths
rspec ./spec/rubocop/target_finder_spec.rb:327 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are not explicitly passed as arguments includes them
rspec ./spec/rubocop/target_finder_spec.rb[1:1:6:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a pattern is passed finds files which match the pattern
rspec ./spec/rubocop/target_finder_spec.rb[1:1:5:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with ruby interpreters are passed picks all the ruby files
rspec ./spec/rubocop/target_finder_spec.rb[1:1:4:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a file with a ruby filename is passed picks all the ruby files
rspec ./spec/rubocop/target_finder_spec.rb[1:1:8:1:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments normally does not exclude them
rspec ./spec/rubocop/target_finder_spec.rb[1:1:8:2:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
rspec ./spec/rubocop/target_finder_spec.rb:272 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with a ruby extension are passed picks all the ruby files
rspec ./spec/rubocop/target_finder_spec.rb[1:1:13:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:1:11:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when no argument is passed finds files under the current directory
rspec ./spec/rubocop/target_finder_spec.rb:264 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a non-ruby file is passed doesn't pick the file
rspec ./spec/rubocop/target_finder_spec.rb:255 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:2:7] # RuboCop::TargetFinder#find(..., :all_file_types) does not find hidden files
rspec ./spec/rubocop/target_finder_spec.rb[1:2:6] # RuboCop::TargetFinder#find(..., :all_file_types) returns absolute paths
rspec ./spec/rubocop/target_finder_spec.rb[1:2:10:1] # RuboCop::TargetFinder#find(..., :all_file_types) when a hidden directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:2:4:1] # RuboCop::TargetFinder#find(..., :all_file_types) when same paths are passed does not return duplicated file paths
rspec ./spec/rubocop/target_finder_spec.rb[1:2:9:1] # RuboCop::TargetFinder#find(..., :all_file_types) when a directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:2:8:1] # RuboCop::TargetFinder#find(..., :all_file_types) when no argument is passed finds files under the current directory
rspec ./spec/rubocop/target_finder_spec.rb[1:2:5:2:1] # RuboCop::TargetFinder#find(..., :all_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
rspec ./spec/rubocop/target_finder_spec.rb:459 # RuboCop::TargetFinder#target_files_in_dir does not pick files with no extension and no ruby shebang
rspec ./spec/rubocop/target_finder_spec.rb:469 # RuboCop::TargetFinder#target_files_in_dir picks files specified to be included in config
rspec ./spec/rubocop/target_finder_spec.rb:455 # RuboCop::TargetFinder#target_files_in_dir picks ruby executable files with no extension
rspec ./spec/rubocop/target_finder_spec.rb:485 # RuboCop::TargetFinder#target_files_in_dir does not pick files specified to be excluded in config
rspec ./spec/rubocop/target_finder_spec.rb:463 # RuboCop::TargetFinder#target_files_in_dir does not pick directories
rspec ./spec/rubocop/target_finder_spec.rb:450 # RuboCop::TargetFinder#target_files_in_dir picks files with extension .rb
rspec ./spec/rubocop/target_finder_spec.rb:543 # RuboCop::TargetFinder#target_files_in_dir w/ --fail-fast option works
rspec ./spec/rubocop/target_finder_spec.rb:527 # RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is disabled outputs nothing
rspec ./spec/rubocop/target_finder_spec.rb:518 # RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is enabled outputs error message
Randomized with seed 10065
$ bundle exec rspec --seed 15787
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 15787
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*........................*....*.........................................................................*.*.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFFFFF...F......FFFFFFFFFF.............................................F.....F.F.F.FFFFF.F...............................................................................................................................................................................................................F...FF...................................................FF..F....FFF..F...FF.FFFFFFFFF..FFFFFFFFFFFFFF..................................................................................................................................................................................................................FFFFFFFFFFFFFFFFFFFFFFFFF.FFFFFFFFFFFF......................................................F...FF.FF...FF.F.FF.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Pending: (Failures listed here are expected and do not affect your suite's status)
1) RuboCop::Cop::Lint::DuplicateMethods registers an offense when class << exp is used
# No reason given
Failure/Error: expect(actual_annotations).to eq(expected_annotations), ''
Diff:
@@ -4,7 +4,6 @@
implement 1
end
def some_method
- ^^^^^^^^^^^^^^^ Method `A#some_method` is defined at both test.rb:3 and test.rb:6.
implement 2
end
end
Shared Example Group: "in scope" called from ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:396
# ./lib/rubocop/rspec/expect_offense.rb:140:in `expect_offense'
# ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:243:in `block (3 levels) in <top (required)>'
2) RuboCop::Cop::Lint::DuplicateMethods registers an offense when class << exp is used
# No reason given
Failure/Error: expect(actual_annotations).to eq(expected_annotations), ''
Diff:
@@ -4,7 +4,6 @@
implement 1
end
def some_method
- ^^^^^^^^^^^^^^^ Method `A#some_method` is defined at both test.rb:3 and test.rb:6.
implement 2
end
end
Shared Example Group: "in scope" called from ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:400
# ./lib/rubocop/rspec/expect_offense.rb:140:in `expect_offense'
# ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:243:in `block (3 levels) in <top (required)>'
3) RuboCop::Cop::Lint::DuplicateMethods registers an offense when class << exp is used
# No reason given
Failure/Error: expect(actual_annotations).to eq(expected_annotations), ''
Diff:
@@ -4,7 +4,6 @@
implement 1
end
def some_method
- ^^^^^^^^^^^^^^^ Method `A#some_method` is defined at both test.rb:3 and test.rb:6.
implement 2
end
end
Shared Example Group: "in scope" called from ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:399
# ./lib/rubocop/rspec/expect_offense.rb:140:in `expect_offense'
# ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:243:in `block (3 levels) in <top (required)>'
4) RuboCop::Cop::Lint::DuplicateMethods registers an offense when class << exp is used
# No reason given
Failure/Error: expect(actual_annotations).to eq(expected_annotations), ''
Diff:
@@ -4,7 +4,6 @@
implement 1
end
def some_method
- ^^^^^^^^^^^^^^^ Method `A#some_method` is defined at both test.rb:3 and test.rb:6.
implement 2
end
end
Shared Example Group: "in scope" called from ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:397
# ./lib/rubocop/rspec/expect_offense.rb:140:in `expect_offense'
# ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:243:in `block (3 levels) in <top (required)>'
5) RuboCop::Cop::Lint::DuplicateMethods registers an offense when class << exp is used
# No reason given
Failure/Error: expect(actual_annotations).to eq(expected_annotations), ''
Diff:
@@ -4,7 +4,6 @@
implement 1
end
def some_method
- ^^^^^^^^^^^^^^^ Method `A#some_method` is defined at both test.rb:3 and test.rb:6.
implement 2
end
end
Shared Example Group: "in scope" called from ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:398
# ./lib/rubocop/rspec/expect_offense.rb:140:in `expect_offense'
# ./spec/rubocop/cop/lint/duplicate_methods_spec.rb:243:in `block (3 levels) in <top (required)>'
6) RuboCop::Cop::Lint::UselessAssignment when a variable is reassigned in loop body but won't be referenced either next iteration or loop condition registers an offense
# Requires an advanced logic that checks whether the return value of an operator assignment is used or not.
Failure/Error: expect(actual_annotations).to eq(expected_annotations), ''
Diff:
@@ -5,7 +5,6 @@
while total < 100
total += 1
foo += 1
- ^^^ Useless assignment to variable - `foo`.
end
total
# ./lib/rubocop/rspec/expect_offense.rb:140:in `expect_offense'
# ./spec/rubocop/cop/lint/useless_assignment_spec.rb:349:in `block (3 levels) in <top (required)>'
7) RuboCop::Cop::Cop.qualified_cop_name raises an error if the cop name is in more than one namespace
# Temporarily skipped with xit
# ./spec/rubocop/cop/cop_spec.rb:45
Failures:
1) RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty class method definition allows multi line method with a blank line
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/empty_method_spec.rb:216:in `block (4 levels) in <top (required)>'
2) RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty class method definition registers an offense for single line method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:224:in `block (4 levels) in <top (required)>'
3) RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty class method definition allows empty multi line method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/empty_method_spec.rb:209:in `block (4 levels) in <top (required)>'
4) RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty instance method definition registers an offense for single line method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:174:in `block (4 levels) in <top (required)>'
5) RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty instance method definition allows multi line method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/empty_method_spec.rb:159:in `block (4 levels) in <top (required)>'
6) RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty instance method definition allows multi line method with blank line
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/empty_method_spec.rb:166:in `block (4 levels) in <top (required)>'
7) RuboCop::Cop::Style::EmptyMethod when configured with expanded style when method is nested in class scope registers an offense for single line method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:259:in `block (4 levels) in <top (required)>'
8) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition registers an offense for method with blank line
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:115:in `block (4 levels) in <top (required)>'
9) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition registers an offense for empty method with arguments
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:104:in `block (4 levels) in <top (required)>'
10) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition allows single line method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/empty_method_spec.rb:127:in `block (4 levels) in <top (required)>'
11) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition registers an offense for empty method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:93:in `block (4 levels) in <top (required)>'
12) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for empty method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:9:in `block (4 levels) in <top (required)>'
13) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with blank line
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:42:in `block (4 levels) in <top (required)>'
14) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with closing paren on following line
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:54:in `block (4 levels) in <top (required)>'
15) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with arguments
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:20:in `block (4 levels) in <top (required)>'
16) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition allows single line method
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/empty_method_spec.rb:65:in `block (4 levels) in <top (required)>'
17) RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with arguments without parens
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/empty_method.rb:99:in `compact_style?'
# ./lib/rubocop/cop/style/empty_method.rb:68:in `correct_style?'
# ./lib/rubocop/cop/style/empty_method.rb:53:in `on_def'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/empty_method_spec.rb:31:in `block (4 levels) in <top (required)>'
18) RuboCop::Cop::Style::CollectionMethods registers an offense for collect with proc param
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:53:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:30:in `block (3 levels) in <top (required)>'
19) RuboCop::Cop::Style::CollectionMethods registers an offense for detect with proc param
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:53:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:30:in `block (3 levels) in <top (required)>'
20) RuboCop::Cop::Style::CollectionMethods registers an offense for detect with block
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:47:in `on_block'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:20:in `block (3 levels) in <top (required)>'
21) RuboCop::Cop::Style::CollectionMethods registers an offense for find_all with proc param
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:53:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:30:in `block (3 levels) in <top (required)>'
22) RuboCop::Cop::Style::CollectionMethods registers an offense for inject with block
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:47:in `on_block'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:20:in `block (3 levels) in <top (required)>'
23) RuboCop::Cop::Style::CollectionMethods registers an offense for inject with proc param
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:53:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:30:in `block (3 levels) in <top (required)>'
24) RuboCop::Cop::Style::CollectionMethods registers an offense for collect with block
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:47:in `on_block'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:20:in `block (3 levels) in <top (required)>'
25) RuboCop::Cop::Style::CollectionMethods registers an offense for member? with proc param
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:53:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:30:in `block (3 levels) in <top (required)>'
26) RuboCop::Cop::Style::CollectionMethods registers an offense for member? with block
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:47:in `on_block'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:20:in `block (3 levels) in <top (required)>'
27) RuboCop::Cop::Style::CollectionMethods registers an offense for find_all with block
Failure/Error: default = default_cop_config['PreferredMethods']
NoMethodError:
undefined method `[]' for nil:NilClass
# ./lib/rubocop/cop/mixin/method_preference.rb:18:in `preferred_methods'
# ./lib/rubocop/cop/style/collection_methods.rb:59:in `check_method_node'
# ./lib/rubocop/cop/style/collection_methods.rb:47:in `on_block'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/collection_methods_spec.rb:20:in `block (3 levels) in <top (required)>'
28) RuboCop::Cop::Style::StabbyLambdaParentheses require_no_parentheses registers an offense for a stabby lambda with parentheses
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/stabby_lambda_parentheses.rb:52:in `redundant_parentheses?'
# ./lib/rubocop/cop/style/stabby_lambda_parentheses.rb:31:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/stabby_lambda_parentheses_spec.rb:45:in `block (3 levels) in <top (required)>'
29) RuboCop::Cop::Style::StabbyLambdaParentheses require_parentheses does not register an offense for a stabby lambda with parentheses
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/stabby_lambda_parentheses.rb:52:in `redundant_parentheses?'
# ./lib/rubocop/cop/style/stabby_lambda_parentheses.rb:31:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/stabby_lambda_parentheses_spec.rb:35:in `block (3 levels) in <top (required)>'
30) RuboCop::Cop::Style::StabbyLambdaParentheses require_parentheses registers an offense for a stabby lambda without parentheses
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/stabby_lambda_parentheses.rb:52:in `redundant_parentheses?'
# ./lib/rubocop/cop/style/stabby_lambda_parentheses.rb:31:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/stabby_lambda_parentheses_spec.rb:24:in `block (3 levels) in <top (required)>'
31) RuboCop::TargetFinder#find(..., :all_file_types) does not find hidden files
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:168:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
32) RuboCop::TargetFinder#find(..., :all_file_types) returns absolute paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:161:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
33) RuboCop::TargetFinder#find(..., :all_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:338:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:155:in `block (5 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
34) RuboCop::TargetFinder#find(..., :all_file_types) when no argument is passed finds files under the current directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:176:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:175:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:175:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
35) RuboCop::TargetFinder#find(..., :all_file_types) when same paths are passed does not return duplicated file paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:338:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:118:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
36) RuboCop::TargetFinder#find(..., :all_file_types) when a directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:190:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:189:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:189:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
37) RuboCop::TargetFinder#find(..., :all_file_types) when a hidden directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:341
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:337:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:203:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
38) RuboCop::TargetFinder#find(..., :only_recognized_file_types) returns absolute paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:161:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
39) RuboCop::TargetFinder#find(..., :only_recognized_file_types) does not find hidden files
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:168:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
40) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a non-ruby file is passed doesn't pick the file
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:265:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
41) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are explicitly passed as arguments includes them
Failure/Error: /#!.*(#{ruby_interpreters(file).join('|')})/.match?(first_line)
NoMethodError:
undefined method `join' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:145:in `ruby_executable?'
# ./lib/rubocop/target_finder.rb:162:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:224:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
42) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are not explicitly passed as arguments includes them
Failure/Error: /#!.*(#{ruby_interpreters(file).join('|')})/.match?(first_line)
NoMethodError:
undefined method `join' for nil:NilClass
# ./lib/rubocop/target_finder.rb:145:in `ruby_executable?'
# ./lib/rubocop/target_finder.rb:162:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:328:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
43) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:203:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
44) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:155:in `block (5 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
45) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments normally does not exclude them
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:146:in `block (5 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
46) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when no argument is passed finds files under the current directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:29:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:176:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:175:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:175:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
47) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a pattern is passed finds files which match the pattern
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:110:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
48) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with a ruby extension are passed picks all the ruby files
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:273:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
49) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:256:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
50) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a file with a ruby filename is passed picks all the ruby files
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:88:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
51) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when same paths are passed does not return duplicated file paths
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:118:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
52) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with ruby interpreters are passed picks all the ruby files
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:170:in `included_file?'
# ./lib/rubocop/target_finder.rb:177:in `block in process_explicit_path'
# ./lib/rubocop/target_finder.rb:177:in `select!'
# ./lib/rubocop/target_finder.rb:177:in `process_explicit_path'
# ./lib/rubocop/target_finder.rb:37:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:249:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:102:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
53) RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a directory path is passed finds files under the specified directory
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
Shared Example Group: "common behavior for #find" called from ./spec/rubocop/target_finder_spec.rb:309
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./lib/rubocop/target_finder.rb:35:in `block in find'
# ./lib/rubocop/target_finder.rb:33:in `each'
# ./lib/rubocop/target_finder.rb:33:in `find'
# ./spec/rubocop/target_finder_spec.rb:248:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:190:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:189:in `chdir'
# ./spec/rubocop/target_finder_spec.rb:189:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
54) RuboCop::TargetFinder#target_files_in_dir does not pick directories
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:464:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
55) RuboCop::TargetFinder#target_files_in_dir picks ruby executable files with no extension
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:456:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
56) RuboCop::TargetFinder#target_files_in_dir picks files with extension .rb
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:451:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
57) RuboCop::TargetFinder#target_files_in_dir picks files specified to be included in config
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:69:in `to_inspect?'
# ./lib/rubocop/target_finder.rb:61:in `block in target_files_in_dir'
# ./lib/rubocop/target_finder.rb:60:in `select'
# ./lib/rubocop/target_finder.rb:60:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:482:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
58) RuboCop::TargetFinder#target_files_in_dir does not pick files specified to be excluded in config
Failure/Error: @config_store.for_pwd.for_all_cops['Include'].map(&:to_s)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/target_finder.rb:138:in `all_cops_include'
# ./lib/rubocop/target_finder.rb:116:in `ruby_extensions'
# ./lib/rubocop/target_finder.rb:111:in `ruby_extension?'
# ./lib/rubocop/target_finder.rb:161:in `ruby_file?'
# ./lib/rubocop/target_finder.rb:69:in `to_inspect?'
# ./lib/rubocop/target_finder.rb:61:in `block in target_files_in_dir'
# ./lib/rubocop/target_finder.rb:60:in `select'
# ./lib/rubocop/target_finder.rb:60:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:497:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
59) RuboCop::TargetFinder#target_files_in_dir does not pick files with no extension and no ruby shebang
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:447:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:460:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
60) RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is enabled outputs error message
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:519:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:505:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
61) RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is disabled outputs nothing
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:528:in `block (5 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:505:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
62) RuboCop::TargetFinder#target_files_in_dir w/ --fail-fast option works
Failure/Error:
dir_tree_excludes = all_cops_config['Exclude'].select do |pattern|
pattern.is_a?(String) && pattern.end_with?('/**/*')
end
NoMethodError:
private method `select' called for nil:NilClass
# ./lib/rubocop/target_finder.rb:104:in `excluded_dirs'
# ./lib/rubocop/target_finder.rb:81:in `find_files'
# ./lib/rubocop/target_finder.rb:56:in `target_files_in_dir'
# ./spec/rubocop/target_finder_spec.rb:446:in `block (3 levels) in <top (required)>'
# ./spec/rubocop/target_finder_spec.rb:544:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:31:in `block (4 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `chdir'
# ./lib/rubocop/rspec/shared_contexts.rb:30:in `block (3 levels) in <top (required)>'
# ./lib/rubocop/rspec/shared_contexts.rb:7:in `block (2 levels) in <top (required)>'
63) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout when comment present before closing brace corrects closing brace without crashing
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:67:in `block (3 levels) in <top (required)>'
64) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout trailing comma same_line style opening brace on same line as first element last element has a trailing comma autocorrects closing brace on different line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout trailing comma" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:37
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_trailing_comma_examples.rb:37:in `block (5 levels) in <top (required)>'
65) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout trailing comma symmetrical style opening brace on same line as first element last element has a trailing comma autocorrects closing brace on different line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout trailing comma" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:37
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_trailing_comma_examples.rb:17:in `block (5 levels) in <top (required)>'
66) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element detects closing brace on same line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:219:in `block (4 levels) in <top (required)>'
67) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element autocorrects closing brace on same line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:227:in `block (4 levels) in <top (required)>'
68) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element allows closing brace on separate line from last multiline element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:214:in `block (4 levels) in <top (required)>'
69) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element allows closing brace on separate line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:210:in `block (4 levels) in <top (required)>'
70) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element detects closing brace on same line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:180:in `block (4 levels) in <top (required)>'
71) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element autocorrects closing brace on same line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:197:in `block (4 levels) in <top (required)>'
72) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element detects closing brace on same line as last multiline element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:189:in `block (4 levels) in <top (required)>'
73) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element allows closing brace on different line from multi-line element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:175:in `block (4 levels) in <top (required)>'
74) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element allows closing brace on different line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:171:in `block (4 levels) in <top (required)>'
75) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element detects closing brace on different line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:85:in `block (4 levels) in <top (required)>'
76) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element allows closing brace on same line as last multiline element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:80:in `block (4 levels) in <top (required)>'
77) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element autocorrects closing brace on different line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:93:in `block (4 levels) in <top (required)>'
78) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element allows closing brace on same line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:76:in `block (4 levels) in <top (required)>'
79) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element with a chained call on the closing brace but no comment after the last element autocorrects the closing brace
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:129:in `block (6 levels) in <top (required)>'
80) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element detects closing brace on separate line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:114:in `block (6 levels) in <top (required)>'
81) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element does not autocorrect the closing brace
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:122:in `block (6 levels) in <top (required)>'
82) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element detects closing brace on same line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:151:in `block (4 levels) in <top (required)>'
83) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element allows closing brace on separate line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:142:in `block (4 levels) in <top (required)>'
84) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element autocorrects closing brace on same line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:159:in `block (4 levels) in <top (required)>'
85) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element allows closing brace on separate line from last multiline element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:146:in `block (4 levels) in <top (required)>'
86) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout heredoc auto-corrects safe heredoc offenses
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:62:in `block (3 levels) in <top (required)>'
87) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout heredoc detects heredoc structures that are safe to add to
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:56:in `block (3 levels) in <top (required)>'
88) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element allows closing brace on same line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:314:in `block (4 levels) in <top (required)>'
89) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element autocorrects closing brace on different line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:330:in `block (4 levels) in <top (required)>'
90) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element detects closing brace on different line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:323:in `block (4 levels) in <top (required)>'
91) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element allows closing brace on same line as last multiline element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:318:in `block (4 levels) in <top (required)>'
92) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element detects closing brace on different line from multiline element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:257:in `block (4 levels) in <top (required)>'
93) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element allows closing brace on same line as multi-line element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:243:in `block (4 levels) in <top (required)>'
94) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element detects closing brace on different line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:248:in `block (4 levels) in <top (required)>'
95) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element allows closing brace on same line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/support/multiline_literal_brace_layout_examples.rb:239:in `block (4 levels) in <top (required)>'
96) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element autocorrects closing brace on different line as last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:265:in `block (4 levels) in <top (required)>'
97) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element detects closing brace on separate line from last element
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:286:in `block (6 levels) in <top (required)>'
98) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element does not autocorrect the closing brace
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:294:in `block (6 levels) in <top (required)>'
99) RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element with a chained call on the closing brace but no comment after the last element autocorrects the closing brace
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "multiline literal brace layout" called from ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:32
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:36:in `check'
# ./lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb:19:in `check_brace_layout'
# ./lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:109:in `on_send'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:47:in `autocorrect_source'
# ./spec/support/multiline_literal_brace_layout_examples.rb:301:in `block (6 levels) in <top (required)>'
100) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q with interpolation accepts %q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:95:in `block (4 levels) in <top (required)>'
101) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation accepts %Q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:79:in `block (4 levels) in <top (required)>'
102) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation registers offense for %q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:68:in `block (4 levels) in <top (required)>'
103) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation with special characters accepts %q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "accepts any q string with backslash t" called from ./spec/rubocop/cop/style/percent_q_literals_spec.rb:83
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:17:in `block (4 levels) in <top (required)>'
104) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation with special characters accepts %Q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "accepts any q string with backslash t" called from ./spec/rubocop/cop/style/percent_q_literals_spec.rb:83
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:21:in `block (4 levels) in <top (required)>'
105) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q with interpolation accepts %q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:56:in `block (4 levels) in <top (required)>'
106) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation accepts %q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:31:in `block (4 levels) in <top (required)>'
107) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation registers offense for %Q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:77:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/expect_offense.rb:136:in `expect_offense'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:35:in `block (4 levels) in <top (required)>'
108) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation with special characters accepts %q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "accepts any q string with backslash t" called from ./spec/rubocop/cop/style/percent_q_literals_spec.rb:46
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:17:in `block (4 levels) in <top (required)>'
109) RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation with special characters accepts %Q
Failure/Error: cop_config[supported_styles].map(&:to_sym)
NoMethodError:
undefined method `map' for nil:NilClass
Shared Example Group: "accepts any q string with backslash t" called from ./spec/rubocop/cop/style/percent_q_literals_spec.rb:46
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:91:in `supported_styles'
# ./lib/rubocop/cop/mixin/configurable_enforced_style.rb:70:in `style'
# ./lib/rubocop/cop/style/percent_q_literals.rb:59:in `correct_literal_style?'
# ./lib/rubocop/cop/style/percent_q_literals.rb:49:in `on_percent_literal'
# ./lib/rubocop/cop/mixin/percent_literal.rb:20:in `process'
# ./lib/rubocop/cop/style/percent_q_literals.rb:37:in `on_str'
# ./lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
# ./lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:89:in `each'
# ./lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
# ./lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
# ./lib/rubocop/cop/commissioner.rb:74:in `investigate'
# ./lib/rubocop/cop/team.rb:151:in `investigate_partial'
# ./lib/rubocop/cop/team.rb:83:in `investigate'
# ./lib/rubocop/rspec/cop_helper.rb:54:in `_investigate'
# ./lib/rubocop/rspec/cop_helper.rb:25:in `inspect_source'
# ./lib/rubocop/rspec/expect_offense.rb:185:in `expect_no_offenses'
# ./spec/rubocop/cop/style/percent_q_literals_spec.rb:21:in `block (4 levels) in <top (required)>'
Finished in 58.83 seconds (files took 3.03 seconds to load)
13750 examples, 109 failures, 7 pending
Failed examples:
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:215 # RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty class method definition allows multi line method with a blank line
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:223 # RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty class method definition registers an offense for single line method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:208 # RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty class method definition allows empty multi line method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:173 # RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty instance method definition registers an offense for single line method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:158 # RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty instance method definition allows multi line method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:165 # RuboCop::Cop::Style::EmptyMethod when configured with expanded style with an empty instance method definition allows multi line method with blank line
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:258 # RuboCop::Cop::Style::EmptyMethod when configured with expanded style when method is nested in class scope registers an offense for single line method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:114 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition registers an offense for method with blank line
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:103 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition registers an offense for empty method with arguments
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:126 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition allows single line method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:92 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty class method definition registers an offense for empty method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:8 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for empty method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:41 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with blank line
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:53 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with closing paren on following line
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:19 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with arguments
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:64 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition allows single line method
rspec ./spec/rubocop/cop/style/empty_method_spec.rb:30 # RuboCop::Cop::Style::EmptyMethod when configured with compact style with an empty instance method definition registers an offense for method with arguments without parens
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:2] # RuboCop::Cop::Style::CollectionMethods registers an offense for collect with proc param
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:10] # RuboCop::Cop::Style::CollectionMethods registers an offense for detect with proc param
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:9] # RuboCop::Cop::Style::CollectionMethods registers an offense for detect with block
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:14] # RuboCop::Cop::Style::CollectionMethods registers an offense for find_all with proc param
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:5] # RuboCop::Cop::Style::CollectionMethods registers an offense for inject with block
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:6] # RuboCop::Cop::Style::CollectionMethods registers an offense for inject with proc param
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:1] # RuboCop::Cop::Style::CollectionMethods registers an offense for collect with block
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:18] # RuboCop::Cop::Style::CollectionMethods registers an offense for member? with proc param
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:17] # RuboCop::Cop::Style::CollectionMethods registers an offense for member? with block
rspec ./spec/rubocop/cop/style/collection_methods_spec.rb[1:13] # RuboCop::Cop::Style::CollectionMethods registers an offense for find_all with block
rspec ./spec/rubocop/cop/style/stabby_lambda_parentheses_spec.rb:44 # RuboCop::Cop::Style::StabbyLambdaParentheses require_no_parentheses registers an offense for a stabby lambda with parentheses
rspec ./spec/rubocop/cop/style/stabby_lambda_parentheses_spec.rb:34 # RuboCop::Cop::Style::StabbyLambdaParentheses require_parentheses does not register an offense for a stabby lambda with parentheses
rspec ./spec/rubocop/cop/style/stabby_lambda_parentheses_spec.rb:23 # RuboCop::Cop::Style::StabbyLambdaParentheses require_parentheses registers an offense for a stabby lambda without parentheses
rspec ./spec/rubocop/target_finder_spec.rb[1:2:7] # RuboCop::TargetFinder#find(..., :all_file_types) does not find hidden files
rspec ./spec/rubocop/target_finder_spec.rb[1:2:6] # RuboCop::TargetFinder#find(..., :all_file_types) returns absolute paths
rspec ./spec/rubocop/target_finder_spec.rb[1:2:5:2:1] # RuboCop::TargetFinder#find(..., :all_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
rspec ./spec/rubocop/target_finder_spec.rb[1:2:8:1] # RuboCop::TargetFinder#find(..., :all_file_types) when no argument is passed finds files under the current directory
rspec ./spec/rubocop/target_finder_spec.rb[1:2:4:1] # RuboCop::TargetFinder#find(..., :all_file_types) when same paths are passed does not return duplicated file paths
rspec ./spec/rubocop/target_finder_spec.rb[1:2:9:1] # RuboCop::TargetFinder#find(..., :all_file_types) when a directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:2:10:1] # RuboCop::TargetFinder#find(..., :all_file_types) when a hidden directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:1:9] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) returns absolute paths
rspec ./spec/rubocop/target_finder_spec.rb[1:1:10] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) does not find hidden files
rspec ./spec/rubocop/target_finder_spec.rb:264 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a non-ruby file is passed doesn't pick the file
rspec ./spec/rubocop/target_finder_spec.rb[1:1:14:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are explicitly passed as arguments includes them
rspec ./spec/rubocop/target_finder_spec.rb:327 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some non-known Ruby files are specified in the configuration Include and they are not explicitly passed as arguments includes them
rspec ./spec/rubocop/target_finder_spec.rb[1:1:13:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:1:8:2:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments when it's forced to adhere file exclusion configuration excludes them
rspec ./spec/rubocop/target_finder_spec.rb[1:1:8:1:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when some paths are specified in the configuration Exclude and they are explicitly passed as arguments normally does not exclude them
rspec ./spec/rubocop/target_finder_spec.rb[1:1:11:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when no argument is passed finds files under the current directory
rspec ./spec/rubocop/target_finder_spec.rb[1:1:6:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a pattern is passed finds files which match the pattern
rspec ./spec/rubocop/target_finder_spec.rb:272 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with a ruby extension are passed picks all the ruby files
rspec ./spec/rubocop/target_finder_spec.rb:255 # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a hidden directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb[1:1:4:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a file with a ruby filename is passed picks all the ruby files
rspec ./spec/rubocop/target_finder_spec.rb[1:1:7:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when same paths are passed does not return duplicated file paths
rspec ./spec/rubocop/target_finder_spec.rb[1:1:5:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when files with ruby interpreters are passed picks all the ruby files
rspec ./spec/rubocop/target_finder_spec.rb[1:1:12:1] # RuboCop::TargetFinder#find(..., :only_recognized_file_types) when a directory path is passed finds files under the specified directory
rspec ./spec/rubocop/target_finder_spec.rb:463 # RuboCop::TargetFinder#target_files_in_dir does not pick directories
rspec ./spec/rubocop/target_finder_spec.rb:455 # RuboCop::TargetFinder#target_files_in_dir picks ruby executable files with no extension
rspec ./spec/rubocop/target_finder_spec.rb:450 # RuboCop::TargetFinder#target_files_in_dir picks files with extension .rb
rspec ./spec/rubocop/target_finder_spec.rb:469 # RuboCop::TargetFinder#target_files_in_dir picks files specified to be included in config
rspec ./spec/rubocop/target_finder_spec.rb:485 # RuboCop::TargetFinder#target_files_in_dir does not pick files specified to be excluded in config
rspec ./spec/rubocop/target_finder_spec.rb:459 # RuboCop::TargetFinder#target_files_in_dir does not pick files with no extension and no ruby shebang
rspec ./spec/rubocop/target_finder_spec.rb:518 # RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is enabled outputs error message
rspec ./spec/rubocop/target_finder_spec.rb:527 # RuboCop::TargetFinder#target_files_in_dir when an exception is raised while reading file and debug mode is disabled outputs nothing
rspec ./spec/rubocop/target_finder_spec.rb:543 # RuboCop::TargetFinder#target_files_in_dir w/ --fail-fast option works
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb:66 # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout when comment present before closing brace corrects closing brace without crashing
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:7:2:1:1:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout trailing comma same_line style opening brace on same line as first element last element has a trailing comma autocorrects closing brace on different line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:7:1:1:1:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout trailing comma symmetrical style opening brace on same line as first element last element has a trailing comma autocorrects closing brace on different line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:2:3] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element detects closing brace on same line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:2:4] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element autocorrects closing brace on same line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:2:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element allows closing brace on separate line from last multiline element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:2:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on separate line from first element allows closing brace on separate line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:1:3] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element detects closing brace on same line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:1:5] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element autocorrects closing brace on same line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:1:4] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element detects closing brace on same line as last multiline element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:1:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element allows closing brace on different line from multi-line element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:3:1:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout new_line style opening brace on same line as first element allows closing brace on different line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:1:3] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element detects closing brace on different line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:1:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element allows closing brace on same line as last multiline element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:1:4] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element autocorrects closing brace on different line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:1:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element allows closing brace on same line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:1:5:2:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element with a chained call on the closing brace but no comment after the last element autocorrects the closing brace
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:1:5:1:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element detects closing brace on separate line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:1:5:1:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element does not autocorrect the closing brace
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:2:3] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element detects closing brace on same line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:2:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element allows closing brace on separate line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:2:4] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element autocorrects closing brace on same line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:2:2:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout symmetrical style opening brace on separate line from first element allows closing brace on separate line from last multiline element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:1:3] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout heredoc auto-corrects safe heredoc offenses
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:1:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout heredoc detects heredoc structures that are safe to add to
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:2:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element allows closing brace on same line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:2:4] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element autocorrects closing brace on different line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:2:3] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element detects closing brace on different line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:2:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on separate line from first element allows closing brace on same line as last multiline element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:4] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element detects closing brace on different line from multiline element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element allows closing brace on same line as multi-line element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:3] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element detects closing brace on different line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element allows closing brace on same line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:5] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element autocorrects closing brace on different line as last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:6:1:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element detects closing brace on separate line from last element
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:6:1:2] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element with a chained call on the closing brace and a comment after the last element does not autocorrect the closing brace
rspec ./spec/rubocop/cop/layout/multiline_method_call_brace_layout_spec.rb[1:6:4:1:6:2:1] # RuboCop::Cop::Layout::MultilineMethodCallBraceLayout behaves like multiline literal brace layout same_line style opening brace on same line as first element with a chained call on the closing brace but no comment after the last element autocorrects the closing brace
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb:91 # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q with interpolation accepts %q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb:78 # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation accepts %Q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb:67 # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation registers offense for %q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb[1:2:1:5:1] # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation with special characters accepts %q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb[1:2:1:5:2] # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is upper_case_q without interpolation with special characters accepts %Q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb:54 # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q with interpolation accepts %q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb:30 # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation accepts %q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb:34 # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation registers offense for %Q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb[1:1:1:5:1] # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation with special characters accepts %q
rspec ./spec/rubocop/cop/style/percent_q_literals_spec.rb[1:1:1:5:2] # RuboCop::Cop::Style::PercentQLiterals when EnforcedStyle is lower_case_q without interpolation with special characters accepts %Q
Randomized with seed 15787
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment