Open hakamadare opened 9 years ago
also:
# Perl::Critic found these violations in "lib\WebService\Pushover.pm":
# Private Member Data shouldn't be accessed directly at line 206, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 207, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 208, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 209, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 210, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 211, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 212, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 213, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 214, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 215, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 216, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 217, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 218, column 22. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 222, column 19. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 223, column 19. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 224, column 19. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 228, column 20. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 229, column 20. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 233, column 19. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 255, column 26. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
this could probably be fixed with http://search.cpan.org/dist/Params-Validate-Checks or some such.
Are they custom/personal warnings? I'm very surprised to see anything about CamelCase being a severity 5.
nope; i got the CamelCase warnings from a CPANTS report: http://www.cpantesters.org/cpan/report/18248610-b71c-11e4-8d23-41908971dd2f iirc
Hi, I got a similar bug report from a cpantester about camelcase warnings for a module i wrote (that's how I found this report), and they are indeed custom warnings provided by Perl::Critic::Policy::OTRS. You can disable them by adding theme = core
in your .perlcriticrc. This means that you only run tests provided by Perl::Critic itself. Otherwise it will load any module in the Perl::Critic::Policy namespace.
clean up Perl::Critic complaints when running at some stricter level: