summaryrefslogtreecommitdiffstats
path: root/Bugzilla/PatchReader/PatchInfoGrabber.pm
diff options
context:
space:
mode:
authorPerl Tidy <perltidy@bugzilla.org>2018-12-05 21:38:52 +0100
committerDylan William Hardison <dylan@hardison.net>2018-12-05 23:49:08 +0100
commit8ec8da0491ad89604700b3e29a227966f6d84ba1 (patch)
tree9d270f173330ca19700e0ba9f2ee931300646de1 /Bugzilla/PatchReader/PatchInfoGrabber.pm
parenta7bb5a65b71644d9efce5fed783ed545b9336548 (diff)
downloadbugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.gz
bugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.xz
no bug - reformat all the code using the new perltidy rules
Diffstat (limited to 'Bugzilla/PatchReader/PatchInfoGrabber.pm')
-rw-r--r--Bugzilla/PatchReader/PatchInfoGrabber.pm13
1 files changed, 8 insertions, 5 deletions
diff --git a/Bugzilla/PatchReader/PatchInfoGrabber.pm b/Bugzilla/PatchReader/PatchInfoGrabber.pm
index 6fb35fd16..96d20d0ba 100644
--- a/Bugzilla/PatchReader/PatchInfoGrabber.pm
+++ b/Bugzilla/PatchReader/PatchInfoGrabber.pm
@@ -6,7 +6,8 @@ use 5.10.1;
use strict;
use warnings;
-@Bugzilla::PatchReader::PatchInfoGrabber::ISA = qw(Bugzilla::PatchReader::FilterPatch);
+@Bugzilla::PatchReader::PatchInfoGrabber::ISA
+ = qw(Bugzilla::PatchReader::FilterPatch);
sub new {
my $class = shift;
@@ -31,16 +32,18 @@ sub start_patch {
sub start_file {
my $this = shift;
my ($file) = @_;
- $this->{PATCH_INFO}{files}{$file->{filename}} = { %{$file} };
- $this->{FILE} = { %{$file} };
+ $this->{PATCH_INFO}{files}{$file->{filename}} = {%{$file}};
+ $this->{FILE} = {%{$file}};
$this->{TARGET}->start_file(@_) if $this->{TARGET};
}
sub next_section {
my $this = shift;
my ($section) = @_;
- $this->{PATCH_INFO}{files}{$this->{FILE}{filename}}{plus_lines} += $section->{plus_lines};
- $this->{PATCH_INFO}{files}{$this->{FILE}{filename}}{minus_lines} += $section->{minus_lines};
+ $this->{PATCH_INFO}{files}{$this->{FILE}{filename}}{plus_lines}
+ += $section->{plus_lines};
+ $this->{PATCH_INFO}{files}{$this->{FILE}{filename}}{minus_lines}
+ += $section->{minus_lines};
$this->{TARGET}->next_section(@_) if $this->{TARGET};
}