summaryrefslogtreecommitdiffstats
path: root/Bugzilla/PatchReader
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/PatchReader')
-rw-r--r--Bugzilla/PatchReader/AddCVSContext.pm6
-rw-r--r--Bugzilla/PatchReader/Base.pm2
-rw-r--r--Bugzilla/PatchReader/CVSClient.pm2
-rw-r--r--Bugzilla/PatchReader/DiffPrinter/raw.pm2
-rw-r--r--Bugzilla/PatchReader/DiffPrinter/template.pm2
-rw-r--r--Bugzilla/PatchReader/FilterPatch.pm2
-rw-r--r--Bugzilla/PatchReader/FixPatchRoot.pm6
-rw-r--r--Bugzilla/PatchReader/NarrowPatch.pm2
-rw-r--r--Bugzilla/PatchReader/PatchInfoGrabber.pm2
-rw-r--r--Bugzilla/PatchReader/Raw.pm2
10 files changed, 24 insertions, 4 deletions
diff --git a/Bugzilla/PatchReader/AddCVSContext.pm b/Bugzilla/PatchReader/AddCVSContext.pm
index e4100afb1..4e7da5661 100644
--- a/Bugzilla/PatchReader/AddCVSContext.pm
+++ b/Bugzilla/PatchReader/AddCVSContext.pm
@@ -1,12 +1,14 @@
package Bugzilla::PatchReader::AddCVSContext;
+use 5.10.1;
+use strict;
+use warnings;
+
use Bugzilla::PatchReader::FilterPatch;
use Bugzilla::PatchReader::CVSClient;
use Cwd;
use File::Temp;
-use strict;
-
@Bugzilla::PatchReader::AddCVSContext::ISA = qw(Bugzilla::PatchReader::FilterPatch);
# XXX If you need to, get the entire patch worth of files and do a single
diff --git a/Bugzilla/PatchReader/Base.pm b/Bugzilla/PatchReader/Base.pm
index f2fd69a68..26cb9a9a0 100644
--- a/Bugzilla/PatchReader/Base.pm
+++ b/Bugzilla/PatchReader/Base.pm
@@ -1,6 +1,8 @@
package Bugzilla::PatchReader::Base;
+use 5.10.1;
use strict;
+use warnings;
sub new {
my $class = shift;
diff --git a/Bugzilla/PatchReader/CVSClient.pm b/Bugzilla/PatchReader/CVSClient.pm
index 2f76fc18d..7a8875dc8 100644
--- a/Bugzilla/PatchReader/CVSClient.pm
+++ b/Bugzilla/PatchReader/CVSClient.pm
@@ -9,7 +9,9 @@
package Bugzilla::PatchReader::CVSClient;
+use 5.10.1;
use strict;
+use warnings;
sub parse_cvsroot {
my $cvsroot = $_[0];
diff --git a/Bugzilla/PatchReader/DiffPrinter/raw.pm b/Bugzilla/PatchReader/DiffPrinter/raw.pm
index ceb425800..b7a0d8db2 100644
--- a/Bugzilla/PatchReader/DiffPrinter/raw.pm
+++ b/Bugzilla/PatchReader/DiffPrinter/raw.pm
@@ -1,6 +1,8 @@
package Bugzilla::PatchReader::DiffPrinter::raw;
+use 5.10.1;
use strict;
+use warnings;
sub new {
my $class = shift;
diff --git a/Bugzilla/PatchReader/DiffPrinter/template.pm b/Bugzilla/PatchReader/DiffPrinter/template.pm
index 6545e9336..4120f1d8a 100644
--- a/Bugzilla/PatchReader/DiffPrinter/template.pm
+++ b/Bugzilla/PatchReader/DiffPrinter/template.pm
@@ -1,6 +1,8 @@
package Bugzilla::PatchReader::DiffPrinter::template;
+use 5.10.1;
use strict;
+use warnings;
sub new {
my $class = shift;
diff --git a/Bugzilla/PatchReader/FilterPatch.pm b/Bugzilla/PatchReader/FilterPatch.pm
index dfe42e750..330f6329b 100644
--- a/Bugzilla/PatchReader/FilterPatch.pm
+++ b/Bugzilla/PatchReader/FilterPatch.pm
@@ -1,6 +1,8 @@
package Bugzilla::PatchReader::FilterPatch;
+use 5.10.1;
use strict;
+use warnings;
use Bugzilla::PatchReader::Base;
diff --git a/Bugzilla/PatchReader/FixPatchRoot.pm b/Bugzilla/PatchReader/FixPatchRoot.pm
index e67fb2796..1b0d250ad 100644
--- a/Bugzilla/PatchReader/FixPatchRoot.pm
+++ b/Bugzilla/PatchReader/FixPatchRoot.pm
@@ -1,10 +1,12 @@
package Bugzilla::PatchReader::FixPatchRoot;
+use 5.10.1;
+use strict;
+use warnings;
+
use Bugzilla::PatchReader::FilterPatch;
use Bugzilla::PatchReader::CVSClient;
-use strict;
-
@Bugzilla::PatchReader::FixPatchRoot::ISA = qw(Bugzilla::PatchReader::FilterPatch);
sub new {
diff --git a/Bugzilla/PatchReader/NarrowPatch.pm b/Bugzilla/PatchReader/NarrowPatch.pm
index b6502f2f3..1441e8366 100644
--- a/Bugzilla/PatchReader/NarrowPatch.pm
+++ b/Bugzilla/PatchReader/NarrowPatch.pm
@@ -2,7 +2,9 @@ package Bugzilla::PatchReader::NarrowPatch;
use Bugzilla::PatchReader::FilterPatch;
+use 5.10.1;
use strict;
+use warnings;
@Bugzilla::PatchReader::NarrowPatch::ISA = qw(Bugzilla::PatchReader::FilterPatch);
diff --git a/Bugzilla/PatchReader/PatchInfoGrabber.pm b/Bugzilla/PatchReader/PatchInfoGrabber.pm
index 8c52931ba..6fb35fd16 100644
--- a/Bugzilla/PatchReader/PatchInfoGrabber.pm
+++ b/Bugzilla/PatchReader/PatchInfoGrabber.pm
@@ -2,7 +2,9 @@ package Bugzilla::PatchReader::PatchInfoGrabber;
use Bugzilla::PatchReader::FilterPatch;
+use 5.10.1;
use strict;
+use warnings;
@Bugzilla::PatchReader::PatchInfoGrabber::ISA = qw(Bugzilla::PatchReader::FilterPatch);
diff --git a/Bugzilla/PatchReader/Raw.pm b/Bugzilla/PatchReader/Raw.pm
index 7e34bd4bf..4b7312f3d 100644
--- a/Bugzilla/PatchReader/Raw.pm
+++ b/Bugzilla/PatchReader/Raw.pm
@@ -13,7 +13,9 @@ package Bugzilla::PatchReader::Raw;
# $parser->end_lines();
#
+use 5.10.1;
use strict;
+use warnings;
use Bugzilla::PatchReader::Base;