summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-08-13 12:43:11 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-08-13 12:43:11 +0200
commit9f3d18d43e3fe4e6987fb4dd09a8760560372dbf (patch)
treebf64b06312ad9d2a4f590c414ecc28c4f8e20054 /extensions
parentc19dc4ffe98074bedb780652af581a1f0edb3b2d (diff)
downloadbugzilla-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar.gz
bugzilla-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar.xz
Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BmpConvert/Config.pm2
-rw-r--r--extensions/BmpConvert/Extension.pm2
-rw-r--r--extensions/Example/Config.pm2
-rw-r--r--extensions/Example/Extension.pm2
-rw-r--r--extensions/Example/lib/Auth/Login.pm2
-rw-r--r--extensions/Example/lib/Auth/Verify.pm2
-rw-r--r--extensions/MoreBugUrl/Config.pm1
-rw-r--r--extensions/MoreBugUrl/Extension.pm2
-rw-r--r--extensions/MoreBugUrl/lib/BitBucket.pm2
-rw-r--r--extensions/MoreBugUrl/lib/GetSatisfaction.pm2
-rw-r--r--extensions/MoreBugUrl/lib/PHP.pm2
-rw-r--r--extensions/MoreBugUrl/lib/RT.pm2
-rw-r--r--extensions/MoreBugUrl/lib/Redmine.pm2
-rw-r--r--extensions/MoreBugUrl/lib/ReviewBoard.pm2
-rw-r--r--extensions/MoreBugUrl/lib/Rietveld.pm2
-rw-r--r--extensions/MoreBugUrl/lib/Savane.pm2
-rw-r--r--extensions/OldBugMove/Config.pm2
-rw-r--r--extensions/OldBugMove/Extension.pm2
-rw-r--r--extensions/OldBugMove/lib/Params.pm1
-rw-r--r--extensions/Voting/Config.pm1
-rw-r--r--extensions/Voting/Extension.pm2
-rwxr-xr-xextensions/create.pl4
22 files changed, 42 insertions, 1 deletions
diff --git a/extensions/BmpConvert/Config.pm b/extensions/BmpConvert/Config.pm
index 91808bc4b..4984f19a9 100644
--- a/extensions/BmpConvert/Config.pm
+++ b/extensions/BmpConvert/Config.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::BmpConvert;
use 5.10.1;
use strict;
+use warnings;
+
use constant NAME => 'BmpConvert';
use constant REQUIRED_MODULES => [
{
diff --git a/extensions/BmpConvert/Extension.pm b/extensions/BmpConvert/Extension.pm
index eb634f4a1..b8201f106 100644
--- a/extensions/BmpConvert/Extension.pm
+++ b/extensions/BmpConvert/Extension.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::BmpConvert;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
use Image::Magick;
diff --git a/extensions/Example/Config.pm b/extensions/Example/Config.pm
index 13635dc7f..e7782ef6c 100644
--- a/extensions/Example/Config.pm
+++ b/extensions/Example/Config.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
use 5.10.1;
use strict;
+use warnings;
+
use constant NAME => 'Example';
use constant REQUIRED_MODULES => [
{
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm
index c9449d8b0..256589dab 100644
--- a/extensions/Example/Extension.pm
+++ b/extensions/Example/Extension.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
use Bugzilla::Constants;
diff --git a/extensions/Example/lib/Auth/Login.pm b/extensions/Example/lib/Auth/Login.pm
index c1cfe62cc..15c58a881 100644
--- a/extensions/Example/lib/Auth/Login.pm
+++ b/extensions/Example/lib/Auth/Login.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Login;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Auth::Login);
use constant user_can_create_account => 0;
use Bugzilla::Constants;
diff --git a/extensions/Example/lib/Auth/Verify.pm b/extensions/Example/lib/Auth/Verify.pm
index df5059a05..49fd9fbb7 100644
--- a/extensions/Example/lib/Auth/Verify.pm
+++ b/extensions/Example/lib/Auth/Verify.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Verify;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Auth::Verify);
use Bugzilla::Constants;
diff --git a/extensions/MoreBugUrl/Config.pm b/extensions/MoreBugUrl/Config.pm
index 1e62306c4..e0eac5f8a 100644
--- a/extensions/MoreBugUrl/Config.pm
+++ b/extensions/MoreBugUrl/Config.pm
@@ -9,6 +9,7 @@ package Bugzilla::Extension::MoreBugUrl;
use 5.10.1;
use strict;
+use warnings;
use constant NAME => 'MoreBugUrl';
diff --git a/extensions/MoreBugUrl/Extension.pm b/extensions/MoreBugUrl/Extension.pm
index ed0fe7b1f..18507f8d1 100644
--- a/extensions/MoreBugUrl/Extension.pm
+++ b/extensions/MoreBugUrl/Extension.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
use constant MORE_SUB_CLASSES => qw(
diff --git a/extensions/MoreBugUrl/lib/BitBucket.pm b/extensions/MoreBugUrl/lib/BitBucket.pm
index fbb7be1a1..dcc85992d 100644
--- a/extensions/MoreBugUrl/lib/BitBucket.pm
+++ b/extensions/MoreBugUrl/lib/BitBucket.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::BitBucket;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/MoreBugUrl/lib/GetSatisfaction.pm b/extensions/MoreBugUrl/lib/GetSatisfaction.pm
index 75d5ece39..74951735b 100644
--- a/extensions/MoreBugUrl/lib/GetSatisfaction.pm
+++ b/extensions/MoreBugUrl/lib/GetSatisfaction.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::GetSatisfaction;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/MoreBugUrl/lib/PHP.pm b/extensions/MoreBugUrl/lib/PHP.pm
index ea090e865..6f201d7b1 100644
--- a/extensions/MoreBugUrl/lib/PHP.pm
+++ b/extensions/MoreBugUrl/lib/PHP.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::PHP;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/MoreBugUrl/lib/RT.pm b/extensions/MoreBugUrl/lib/RT.pm
index a1ca6fd88..acb90cf39 100644
--- a/extensions/MoreBugUrl/lib/RT.pm
+++ b/extensions/MoreBugUrl/lib/RT.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::RT;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/MoreBugUrl/lib/Redmine.pm b/extensions/MoreBugUrl/lib/Redmine.pm
index a1c1382ce..57a071239 100644
--- a/extensions/MoreBugUrl/lib/Redmine.pm
+++ b/extensions/MoreBugUrl/lib/Redmine.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Redmine;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/MoreBugUrl/lib/ReviewBoard.pm b/extensions/MoreBugUrl/lib/ReviewBoard.pm
index 08128353f..af5ff0684 100644
--- a/extensions/MoreBugUrl/lib/ReviewBoard.pm
+++ b/extensions/MoreBugUrl/lib/ReviewBoard.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::ReviewBoard;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/MoreBugUrl/lib/Rietveld.pm b/extensions/MoreBugUrl/lib/Rietveld.pm
index a8bccba08..a4bf08492 100644
--- a/extensions/MoreBugUrl/lib/Rietveld.pm
+++ b/extensions/MoreBugUrl/lib/Rietveld.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Rietveld;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/MoreBugUrl/lib/Savane.pm b/extensions/MoreBugUrl/lib/Savane.pm
index a8a439b41..efda1fa4f 100644
--- a/extensions/MoreBugUrl/lib/Savane.pm
+++ b/extensions/MoreBugUrl/lib/Savane.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Savane;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::BugUrl);
###############################
diff --git a/extensions/OldBugMove/Config.pm b/extensions/OldBugMove/Config.pm
index a42567fee..681cbae2d 100644
--- a/extensions/OldBugMove/Config.pm
+++ b/extensions/OldBugMove/Config.pm
@@ -9,5 +9,7 @@ package Bugzilla::Extension::OldBugMove;
use 5.10.1;
use strict;
+use warnings;
+
use constant NAME => 'OldBugMove';
__PACKAGE__->NAME;
diff --git a/extensions/OldBugMove/Extension.pm b/extensions/OldBugMove/Extension.pm
index b58ffe883..375707fd2 100644
--- a/extensions/OldBugMove/Extension.pm
+++ b/extensions/OldBugMove/Extension.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::OldBugMove;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
use Bugzilla::Constants;
use Bugzilla::Error;
diff --git a/extensions/OldBugMove/lib/Params.pm b/extensions/OldBugMove/lib/Params.pm
index c922e1faf..05e3ed277 100644
--- a/extensions/OldBugMove/lib/Params.pm
+++ b/extensions/OldBugMove/lib/Params.pm
@@ -9,6 +9,7 @@ package Bugzilla::Extension::OldBugMove::Params;
use 5.10.1;
use strict;
+use warnings;
use Bugzilla::Config::Common;
diff --git a/extensions/Voting/Config.pm b/extensions/Voting/Config.pm
index 812ede60f..97c44933e 100644
--- a/extensions/Voting/Config.pm
+++ b/extensions/Voting/Config.pm
@@ -9,6 +9,7 @@ package Bugzilla::Extension::Voting;
use 5.10.1;
use strict;
+use warnings;
use constant NAME => 'Voting';
diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm
index e54a2aab0..8009f16bb 100644
--- a/extensions/Voting/Extension.pm
+++ b/extensions/Voting/Extension.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Voting;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
use Bugzilla::Bug;
diff --git a/extensions/create.pl b/extensions/create.pl
index e2d3321b1..d4256694b 100755
--- a/extensions/create.pl
+++ b/extensions/create.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -8,6 +8,8 @@
use 5.10.1;
use strict;
+use warnings;
+
use lib qw(. lib);
use Bugzilla;