Allow 2 invocations to the same method

At least 2 is really useful for common scenarios of doing something with
a value if that value is present:

`my_hash['xxx'] = something.value if something.value`
pull/8994/head
Juan Ignacio Sánchez Lara 8 years ago
parent a93807fbcf
commit 11d5bc30e3

@ -1,5 +1,10 @@
IrresponsibleModule:
enabled: false
DuplicateMethodCall:
enabled: true
exclude: []
max_calls: 2
allow_calls: []
UncommunicativeVariableName:
enabled: true
exclude: []

Loading…
Cancel
Save