Skip to content

Commit

Permalink
Merge branch 'master' into perlcritic_quote_rule
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz authored Feb 2, 2024
2 parents a63f08e + 9b485b9 commit 199dd6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/OpenQA/Parser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sub _build_parser {
if (my $e = load_class $parser_name) {
croak ref $e ? "Exception: $e" : 'Parser not found!';
}
no strict 'refs'; ## no critic
no strict 'refs';
eval { $p_instance = $parser_name->new(@args); };
croak "Invalid parser supplied: $@" if $@;
}
Expand Down Expand Up @@ -136,7 +136,7 @@ sub restore_el {
my $data = $obj->{OpenQA::Parser::DATA_FIELD()};

{
no strict 'refs'; ## no critic
no strict 'refs';
return $type->can('new') ? $type->new(ref $data eq 'ARRAY' ? @{$data} : $data) : $data;
};
}
Expand Down Expand Up @@ -168,7 +168,7 @@ sub _load_tree {
my @coll = sort keys %{$tree};

{
no strict 'refs'; ## no critic
no strict 'refs';
local $@;
eval {
foreach my $collection (@coll) {
Expand Down
1 change: 0 additions & 1 deletion lib/OpenQA/WebAPI/Plugin/HashedParams.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use Mojo::Base 'Mojolicious::Plugin';

our $VERSION = '0.04';

# no critic

sub register {
my ($plugin, $app) = @_;
Expand Down

0 comments on commit 199dd6b

Please sign in to comment.