| 1 |
# Perl Critic config for POE::Component::Schedule |
| 2 |
# Copyright (c) 2010 Olivier Mengué |
| 3 |
|
| 4 |
# CVS is old school |
| 5 |
[-Miscellanea::RequireRcsKeywords] |
| 6 |
|
| 7 |
# See RT#57638, RT#57640 |
| 8 |
[-Subroutines::RequireFinalReturn] |
| 9 |
|
| 10 |
# See RT#57638 |
| 11 |
[-Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes] |
| 12 |
|
| 13 |
# Disable due to POE style |
| 14 |
# RT#57639 |
| 15 |
[Subroutines::RequireArgUnpacking] |
| 16 |
allow_subscripts = 1 |
| 17 |
|
| 18 |
# I like 'unless' |
| 19 |
[-ControlStructures::ProhibitUnlessBlocks] |
| 20 |
|
| 21 |
# I like postfix |
| 22 |
[-ControlStructures::ProhibitPostfixControls] |
| 23 |
|
| 24 |
# I like Perl's advanced boolean operators |
| 25 |
[-ValuesAndExpressions::ProhibitMixedBooleanOperators] |
| 26 |
|
| 27 |
[Variables::ProhibitPunctuationVars] |
| 28 |
allow = $! $^O |
| 29 |
|
| 30 |
# 'no warning' is useful, but must be restricted |
| 31 |
[TestingAndDebugging::ProhibitNoWarnings] |
| 32 |
allow_with_category_restriction = 1 |